Home
last modified time | relevance | path

Searched refs:spd (Results 1 – 25 of 71) sorted by relevance

123

/linux-6.1.9/drivers/media/tuners/
Dtda827x.c83 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-6.1.9/drivers/iio/common/ssp_sensors/
Dssp_iio.c22 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 …]
Dssp_spi.c270 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-6.1.9/drivers/iio/accel/
Dssp_accel_sensor.c98 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-6.1.9/drivers/iio/gyro/
Dssp_gyro_sensor.c98 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-6.1.9/tools/testing/selftests/powerpc/ptrace/
D.gitignore4 ptrace-tm-spd-gpr
7 ptrace-tm-spd-tar
10 ptrace-tm-spd-vsx
DMakefile4 TM_TESTS += ptrace-tm-spd-gpr
5 TM_TESTS += ptrace-tm-spd-tar
6 TM_TESTS += ptrace-tm-spd-vsx
/linux-6.1.9/arch/arm/mach-s3c/
Dsimtec-audio.c55 struct s3c24xx_audio_simtec_pdata *spd) in simtec_audio_add() argument
63 if (spd) in simtec_audio_add()
64 simtec_audio_platdata = *spd; in simtec_audio_add()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sti.c160 static void stih4xx_fix_retime_src(void *priv, u32 spd) in stih4xx_fix_retime_src() argument
178 if (spd == SPEED_1000) { in stih4xx_fix_retime_src()
183 if (spd == SPEED_100) in stih4xx_fix_retime_src()
185 else if (spd == SPEED_10) in stih4xx_fix_retime_src()
197 static void stid127_fix_retime_src(void *priv, u32 spd) in stid127_fix_retime_src() argument
213 if (spd == SPEED_1000) in stid127_fix_retime_src()
215 else if (spd == SPEED_100) in stid127_fix_retime_src()
217 else if (spd == SPEED_10) in stid127_fix_retime_src()
/linux-6.1.9/fs/jffs2/
Dsummary.c435 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-6.1.9/fs/
Dsplice.c183 struct splice_pipe_desc *spd) in splice_to_pipe() argument
185 unsigned int spd_pages = spd->nr_pages; in splice_to_pipe()
203 buf->page = spd->pages[page_nr]; in splice_to_pipe()
204 buf->offset = spd->partial[page_nr].offset; in splice_to_pipe()
205 buf->len = spd->partial[page_nr].len; in splice_to_pipe()
206 buf->private = spd->partial[page_nr].private; in splice_to_pipe()
207 buf->ops = spd->ops; in splice_to_pipe()
215 if (!--spd->nr_pages) in splice_to_pipe()
224 spd->spd_release(spd, page_nr++); in splice_to_pipe()
256 int splice_grow_spd(const struct pipe_inode_info *pipe, struct splice_pipe_desc *spd) in splice_grow_spd() argument
[all …]
/linux-6.1.9/kernel/
Drelay.c1100 static void relay_page_release(struct splice_pipe_desc *spd, unsigned int i) in relay_page_release() argument
1125 struct splice_pipe_desc spd = { in subbuf_splice_actor() local
1137 if (splice_grow_spd(pipe, &spd)) in subbuf_splice_actor()
1149 nr_pages = min_t(unsigned int, subbuf_pages, spd.nr_pages_max); in subbuf_splice_actor()
1151 for (total_len = 0; spd.nr_pages < nr_pages; spd.nr_pages++) { in subbuf_splice_actor()
1161 spd.pages[spd.nr_pages] = rbuf->page_array[pidx]; in subbuf_splice_actor()
1162 spd.partial[spd.nr_pages].offset = poff; in subbuf_splice_actor()
1169 spd.partial[spd.nr_pages].len = this_len; in subbuf_splice_actor()
1170 spd.partial[spd.nr_pages].private = private; in subbuf_splice_actor()
1178 spd.nr_pages++; in subbuf_splice_actor()
[all …]
/linux-6.1.9/net/smc/
Dsmc_rx.c139 static void smc_rx_spd_release(struct splice_pipe_desc *spd, in smc_rx_spd_release() argument
142 put_page(spd->pages[i]); in smc_rx_spd_release()
151 struct splice_pipe_desc spd; in smc_rx_splice() local
201 spd.nr_pages_max = nr_pages; in smc_rx_splice()
202 spd.nr_pages = nr_pages; in smc_rx_splice()
203 spd.pages = pages; in smc_rx_splice()
204 spd.partial = partial; in smc_rx_splice()
205 spd.ops = &smc_pipe_ops; in smc_rx_splice()
206 spd.spd_release = smc_rx_spd_release; in smc_rx_splice()
208 bytes = splice_to_pipe(pipe, &spd); in smc_rx_splice()
/linux-6.1.9/include/dt-bindings/usb/
Dpd.h208 #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-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_calendar.c166 enum sparx5_cal_bw spd; in sparx5_config_auto_calendar() local
180 spd = sparx5_get_port_cal_speed(sparx5, portno); in sparx5_config_auto_calendar()
181 if (spd == SPX5_CAL_SPEED_NONE) in sparx5_config_auto_calendar()
184 this_bw = sparx5_cal_speed_to_value(spd); in sparx5_config_auto_calendar()
193 cal[reg] |= spd << (offset * SPX5_CALBITS_PER_PORT); in sparx5_config_auto_calendar()
360 u32 spd = data->taxi_speeds[idx]; in sparx5_dsm_calendar_calc() local
369 data->dev_slots[idx] = ((spd * factor / slot_spd) + 999) / 1000; in sparx5_dsm_calendar_calc()
370 if (spd != 25000 && (spd != 10000 || !slow_mode)) { in sparx5_dsm_calendar_calc()
374 taxi, spd); in sparx5_dsm_calendar_calc()
Dsparx5_port.c322 u32 spd = port->conf.speed; in sparx5_port_disable() local
368 spd_prm = spd == SPEED_10 ? 1000 : spd == SPEED_100 ? 100 : 10; in sparx5_port_disable()
872 int spd = conf->speed; in sparx5_port_config_low_set() local
874 clk_spd = spd == SPEED_10 ? 0 : spd == SPEED_100 ? 1 : 2; in sparx5_port_config_low_set()
875 gig_mode = spd == SPEED_1000 || spd == SPEED_2500; in sparx5_port_config_low_set()
876 tx_gap = spd == SPEED_1000 ? 4 : fdx ? 6 : 5; in sparx5_port_config_low_set()
877 hdx_gap_1 = spd == SPEED_1000 ? 0 : spd == SPEED_100 ? 1 : 2; in sparx5_port_config_low_set()
878 hdx_gap_2 = spd == SPEED_1000 ? 0 : spd == SPEED_100 ? 4 : 1; in sparx5_port_config_low_set()
/linux-6.1.9/include/linux/usb/
Dpd_vdo.h229 #define VDO_UFP(ver, cap, conn, vcpwr, vcr, vbr, alt, spd) \ argument
232 | ((spd) & 0x7))
369 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument
372 | ((vbm) & 0x3) << 9 | ((cur) & 0x3) << 5 | ((spd) & 0x7))
373 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument
377 | (vbt) << 4 | (sopp) << 3 | ((spd) & 0x7))
/linux-6.1.9/arch/powerpc/kernel/
Dlegacy_serial.c80 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()
610 const __be32 *spd; in check_legacy_serial_console() local
650 spd = of_get_property(prom_stdout, "current-speed", NULL); in check_legacy_serial_console()
651 if (spd) in check_legacy_serial_console()
652 speed = be32_to_cpup(spd); in check_legacy_serial_console()
/linux-6.1.9/sound/firewire/
Dcmp.c252 unsigned int spd, xspd; in opcr_set_modify() local
256 spd = SCODE_800; in opcr_set_modify()
259 spd = c->speed; in opcr_set_modify()
272 opcr |= cpu_to_be32(spd << OPCR_SPEED_SHIFT); in opcr_set_modify()
/linux-6.1.9/Documentation/devicetree/bindings/eeprom/
Dat24.yaml17 pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$"
36 … - pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$"
37 - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$"
98 pattern: spd$
/linux-6.1.9/sound/firewire/fireface/
Dff-stream.c186 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-6.1.9/arch/arm64/boot/dts/freescale/
Dfsl-lx2160a-cex7.dtsi74 compatible = "atmel,spd";
79 compatible = "atmel,spd";
/linux-6.1.9/drivers/tty/serial/8250/
D8250_of.c38 u32 clk, spd, prop; in of_platform_serial_setup() local
65 if (of_property_read_u32(np, "current-speed", &spd) == 0) in of_platform_serial_setup()
66 port->custom_divisor = clk / (16 * spd); in of_platform_serial_setup()
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c649 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-6.1.9/drivers/net/ethernet/intel/e1000e/
Dparam.c454 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()

123