/linux/drivers/media/tuners/ |
H A D | tda827x.c | 83 u8 spd; member 92 { .lomax = 62000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 1}, 93 { .lomax = 66000000, .spd = 3, .bs = 3, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 1}, 94 { .lomax = 76000000, .spd = 3, .bs = 1, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 0}, 95 { .lomax = 84000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 0}, 96 { .lomax = 93000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 1, .div1p5 = 0}, 97 { .lomax = 98000000, .spd = 3, .bs = 3, .bp = 0, .cp = 0, .gc3 = 1, .div1p5 = 0}, 98 { .lomax = 109000000, .spd = 3, .bs = 3, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 0}, 99 { .lomax = 123000000, .spd = 2, .bs = 2, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 1}, 100 { .lomax = 133000000, .spd = 2, .bs = 3, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 1}, [all …]
|
/linux/drivers/iio/common/ssp_sensors/ |
H A D | ssp_iio.c | 22 struct ssp_sensor_data *spd = iio_priv(indio_dev); in ssp_common_buffer_postenable() local 28 spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA); in ssp_common_buffer_postenable() 29 if (!spd->buffer) in ssp_common_buffer_postenable() 32 return ssp_enable_sensor(data, spd->type, in ssp_common_buffer_postenable() 33 ssp_get_sensor_delay(data, spd->type)); in ssp_common_buffer_postenable() 47 struct ssp_sensor_data *spd = iio_priv(indio_dev); in ssp_common_buffer_postdisable() local 50 ret = ssp_disable_sensor(data, spd->type); in ssp_common_buffer_postdisable() 54 kfree(spd->buffer); in ssp_common_buffer_postdisable() 75 struct ssp_sensor_data *spd = iio_priv(indio_dev); in ssp_common_process_data() local 83 memcpy(spd->buffer, buf, len); in ssp_common_process_data() [all …]
|
H A D | ssp_spi.c | 270 struct ssp_sensor_data *spd; in ssp_parse_dataframe() local 286 spd = iio_priv(indio_devs[sd]); in ssp_parse_dataframe() 287 if (spd->process_data) { in ssp_parse_dataframe() 290 spd->process_data(indio_devs[sd], in ssp_parse_dataframe()
|
/linux/drivers/iio/accel/ |
H A D | ssp_accel_sensor.c | 98 struct ssp_sensor_data *spd; in ssp_accel_probe() local 100 indio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(*spd)); in ssp_accel_probe() 104 spd = iio_priv(indio_dev); in ssp_accel_probe() 106 spd->process_data = ssp_process_accel_data; in ssp_accel_probe() 107 spd->type = SSP_ACCELEROMETER_SENSOR; in ssp_accel_probe()
|
/linux/drivers/iio/gyro/ |
H A D | ssp_gyro_sensor.c | 98 struct ssp_sensor_data *spd; in ssp_gyro_probe() local 100 indio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(*spd)); in ssp_gyro_probe() 104 spd = iio_priv(indio_dev); in ssp_gyro_probe() 106 spd->process_data = ssp_process_gyro_data; in ssp_gyro_probe() 107 spd->type = SSP_GYROSCOPE_SENSOR; in ssp_gyro_probe()
|
/linux/fs/jffs2/ |
H A D | summary.c | 435 struct jffs2_sum_dirent_flash *spd; in jffs2_sum_process_sum_data() local 437 spd = sp; in jffs2_sum_process_sum_data() 440 jeb->offset + je32_to_cpu(spd->offset), in jffs2_sum_process_sum_data() 441 jeb->offset + je32_to_cpu(spd->offset) + je32_to_cpu(spd->totlen)); in jffs2_sum_process_sum_data() 445 checkedlen = strnlen(spd->name, spd->nsize); in jffs2_sum_process_sum_data() 449 je32_to_cpu(spd->offset)); in jffs2_sum_process_sum_data() 452 if (checkedlen < spd->nsize) { in jffs2_sum_process_sum_data() 455 je32_to_cpu(spd->offset), in jffs2_sum_process_sum_data() 464 memcpy(&fd->name, spd->name, checkedlen); in jffs2_sum_process_sum_data() 467 ic = jffs2_scan_make_ino_cache(c, je32_to_cpu(spd->pino)); in jffs2_sum_process_sum_data() [all …]
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | .gitignore | 4 ptrace-tm-spd-gpr 7 ptrace-tm-spd-tar 10 ptrace-tm-spd-vsx
|
H A D | Makefile | 4 TM_TESTS += ptrace-tm-spd-gpr 5 TM_TESTS += ptrace-tm-spd-tar 6 TM_TESTS += ptrace-tm-spd-vsx
|
/linux/net/smc/ |
H A D | smc_rx.c | 143 static void smc_rx_spd_release(struct splice_pipe_desc *spd, in smc_rx_spd_release() argument 146 put_page(spd->pages[i]); in smc_rx_spd_release() 155 struct splice_pipe_desc spd; in smc_rx_splice() local 205 spd.nr_pages_max = nr_pages; in smc_rx_splice() 206 spd.nr_pages = nr_pages; in smc_rx_splice() 207 spd.pages = pages; in smc_rx_splice() 208 spd.partial = partial; in smc_rx_splice() 209 spd.ops = &smc_pipe_ops; in smc_rx_splice() 210 spd.spd_release = smc_rx_spd_release; in smc_rx_splice() 212 bytes = splice_to_pipe(pipe, &spd); in smc_rx_splice()
|
/linux/include/dt-bindings/usb/ |
H A D | pd.h | 208 #define VDO_UFP(ver, cap, conn, vcpwr, vcr, vbr, alt, spd) \ argument 211 | ((spd) & 0x7)) 346 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument 349 | ((vbm) & 0x3) << 9 | ((cur) & 0x3) << 5 | ((spd) & 0x7)) 350 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument 354 | (vbt) << 4 | (sopp) << 3 | ((spd) & 0x7))
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_calendar.c | 161 enum sparx5_cal_bw spd; in sparx5_config_auto_calendar() local 175 spd = sparx5_get_port_cal_speed(sparx5, portno); in sparx5_config_auto_calendar() 176 if (spd == SPX5_CAL_SPEED_NONE) in sparx5_config_auto_calendar() 179 this_bw = sparx5_cal_speed_to_value(spd); in sparx5_config_auto_calendar() 188 cal[reg] |= spd << (offset * SPX5_CALBITS_PER_PORT); in sparx5_config_auto_calendar() 356 u32 spd = data->taxi_speeds[idx]; in sparx5_dsm_calendar_calc() local 365 data->dev_slots[idx] = ((spd * factor / slot_spd) + 999) / 1000; in sparx5_dsm_calendar_calc() 366 if (spd != 25000 && (spd != 10000 || !slow_mode)) { in sparx5_dsm_calendar_calc() 370 taxi, spd); in sparx5_dsm_calendar_calc()
|
H A D | sparx5_port.c | 326 u32 spd = port->conf.speed; in sparx5_port_disable() local 372 spd_prm = spd == SPEED_10 ? 1000 : spd == SPEED_100 ? 100 : 10; in sparx5_port_disable() 882 int spd = conf->speed; in sparx5_port_config_low_set() local 884 clk_spd = spd == SPEED_10 ? 0 : spd == SPEED_100 ? 1 : 2; in sparx5_port_config_low_set() 885 gig_mode = spd == SPEED_1000 || spd == SPEED_2500; in sparx5_port_config_low_set() 886 tx_gap = spd == SPEED_1000 ? 4 : fdx ? 6 : 5; in sparx5_port_config_low_set() 887 hdx_gap_1 = spd == SPEED_1000 ? 0 : spd == SPEED_100 ? 1 : 2; in sparx5_port_config_low_set() 888 hdx_gap_2 = spd == SPEED_1000 ? 0 : spd == SPEED_100 ? 4 : 1; in sparx5_port_config_low_set()
|
/linux/include/linux/usb/ |
H A D | pd_vdo.h | 236 #define VDO_UFP(ver, cap, conn, vcpwr, vcr, vbr, alt, spd) \ argument 239 | ((spd) & 0x7)) 376 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument 379 | ((vbm) & 0x3) << 9 | ((cur) & 0x3) << 5 | ((spd) & 0x7)) 380 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument 384 | (vbt) << 4 | (sopp) << 3 | ((spd) & 0x7))
|
/linux/fs/ |
H A D | splice.c | 198 struct splice_pipe_desc *spd) in splice_to_pipe() argument 200 unsigned int spd_pages = spd->nr_pages; in splice_to_pipe() 219 buf->page = spd->pages[page_nr]; in splice_to_pipe() 220 buf->offset = spd->partial[page_nr].offset; in splice_to_pipe() 221 buf->len = spd->partial[page_nr].len; in splice_to_pipe() 222 buf->private = spd->partial[page_nr].private; in splice_to_pipe() 223 buf->ops = spd->ops; in splice_to_pipe() 231 if (!--spd->nr_pages) in splice_to_pipe() 240 spd->spd_release(spd, page_nr++); in splice_to_pipe() 272 int splice_grow_spd(const struct pipe_inode_info *pipe, struct splice_pipe_desc *spd) in splice_grow_spd() argument [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | legacy_serial.c | 80 const __be32 *clk, *spd, *rs; in add_legacy_port() local 91 spd = of_get_property(np, "current-speed", NULL); in add_legacy_port() 145 legacy_serial_infos[index].speed = spd ? be32_to_cpup(spd) : 0; in add_legacy_port() 614 const __be32 *spd; in check_legacy_serial_console() local 654 spd = of_get_property(prom_stdout, "current-speed", NULL); in check_legacy_serial_console() 655 if (spd) in check_legacy_serial_console() 656 speed = be32_to_cpup(spd); in check_legacy_serial_console()
|
/linux/sound/firewire/fireface/ |
H A D | ff-stream.c | 186 int spd = fw_parent_device(ff->unit)->max_speed; in snd_ff_stream_start_duplex() local 193 ff->rx_resources.channel, spd); in snd_ff_stream_start_duplex() 198 ff->tx_resources.channel, spd); in snd_ff_stream_start_duplex()
|
/linux/drivers/ata/ |
H A D | libata-sata.c | 442 u32 limit, target, spd; in __sata_set_spd_needed() local 458 spd = (*scontrol >> 4) & 0xf; in __sata_set_spd_needed() 461 return spd != target; in __sata_set_spd_needed() 542 u32 sstatus, spd, mask; in sata_down_spd_limit() local 553 spd = (sstatus >> 4) & 0xf; in sata_down_spd_limit() 555 spd = link->sata_spd; in sata_down_spd_limit() 574 if (spd > 1) in sata_down_spd_limit() 575 mask &= (1 << (spd - 1)) - 1; in sata_down_spd_limit()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | 649 u32 spd; in atl1c_get_link_status() local 651 AT_READ_REG(hw, REG_MT_SPEED, &spd); in atl1c_get_link_status() 652 return !!spd; in atl1c_get_link_status() 674 u32 spd; in atl1c_get_speed_and_duplex() local 676 AT_READ_REG(hw, REG_MT_SPEED, &spd); in atl1c_get_speed_and_duplex() 677 *speed = spd; in atl1c_get_speed_and_duplex()
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_of.c | 94 u32 spd; in of_platform_serial_setup() local 136 if (of_property_read_u32(np, "current-speed", &spd) == 0) in of_platform_serial_setup() 137 port->custom_divisor = port->uartclk / (16 * spd); in of_platform_serial_setup()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | param.c | 454 unsigned int spd = SmartPowerDownEnable[bd]; in e1000e_check_options() local 456 e1000_validate_option(&spd, &opt, adapter); in e1000e_check_options() 457 if ((adapter->flags & FLAG_HAS_SMART_POWER_DOWN) && spd) in e1000e_check_options()
|
/linux/sound/firewire/digi00x/ |
H A D | digi00x-stream.c | 364 int spd = fw_parent_device(dg00x->unit)->max_speed; in snd_dg00x_stream_start_duplex() local 371 dg00x->rx_resources.channel, spd); in snd_dg00x_stream_start_duplex() 376 dg00x->tx_resources.channel, spd); in snd_dg00x_stream_start_duplex()
|
/linux/sound/firewire/motu/ |
H A D | motu-stream.c | 252 int spd = fw_parent_device(motu->unit)->max_speed; in snd_motu_stream_start_duplex() local 276 motu->tx_resources.channel, spd); in snd_motu_stream_start_duplex() 281 motu->rx_resources.channel, spd); in snd_motu_stream_start_duplex()
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn30/ |
H A D | dcn30_dio_stream_encoder.c | 210 enc3_update_hdmi_info_packet(enc1, 3, &info_frame->spd); in enc3_stream_encoder_update_hdmi_info_packets() 466 if (info_frame->spd.valid) { in enc3_stream_encoder_update_dp_info_packets() 470 &info_frame->spd, in enc3_stream_encoder_update_dp_info_packets() 495 REG_UPDATE(DP_SEC_CNTL, DP_SEC_GSP2_ENABLE, info_frame->spd.valid); in enc3_stream_encoder_update_dp_info_packets()
|
/linux/net/core/ |
H A D | skbuff.c | 3060 static void sock_spd_release(struct splice_pipe_desc *spd, unsigned int i) in sock_spd_release() argument 3062 put_page(spd->pages[i]); in sock_spd_release() 3084 static bool spd_can_coalesce(const struct splice_pipe_desc *spd, in spd_can_coalesce() argument 3088 return spd->nr_pages && in spd_can_coalesce() 3089 spd->pages[spd->nr_pages - 1] == page && in spd_can_coalesce() 3090 (spd->partial[spd->nr_pages - 1].offset + in spd_can_coalesce() 3091 spd->partial[spd->nr_pages - 1].len == offset); in spd_can_coalesce() 3097 static bool spd_fill_page(struct splice_pipe_desc *spd, in spd_fill_page() argument 3103 if (unlikely(spd->nr_pages == MAX_SKB_FRAGS)) in spd_fill_page() 3111 if (spd_can_coalesce(spd, page, offset)) { in spd_fill_page() [all …]
|
/linux/drivers/scsi/mvsas/ |
H A D | mv_chips.h | 230 const char *spd[] = { in mvs_show_pcie_usage() local 245 spd[link_spd]); in mvs_show_pcie_usage()
|