Home
last modified time | relevance | path

Searched full:spd (Results 1 – 25 of 147) sorted by relevance

123456

/linux/drivers/media/tuners/
H A 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/drivers/iio/common/ssp_sensors/
H A Dssp_iio.c24 struct ssp_sensor_data *spd = iio_priv(indio_dev); in ssp_common_buffer_postenable() local
30 spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA); in ssp_common_buffer_postenable()
31 if (!spd->buffer) in ssp_common_buffer_postenable()
34 return ssp_enable_sensor(data, spd->type, in ssp_common_buffer_postenable()
35 ssp_get_sensor_delay(data, spd->type)); in ssp_common_buffer_postenable()
49 struct ssp_sensor_data *spd = iio_priv(indio_dev); in ssp_common_buffer_postdisable() local
52 ret = ssp_disable_sensor(data, spd->type); in ssp_common_buffer_postdisable()
56 kfree(spd->buffer); in ssp_common_buffer_postdisable()
76 struct ssp_sensor_data *spd = iio_priv(indio_dev); in ssp_common_process_data() local
84 memcpy(spd->buffer, buf, len); in ssp_common_process_data()
[all …]
/linux/fs/jffs2/
H A 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/drivers/misc/eeprom/
H A Dee1004.c3 * ee1004 - driver for DDR4 SPD EEPROMs
163 * other EE1004 SPD EEPROMs on the same adapter. in ee1004_read()
199 * If the SPD data suggests that there is no temperature in ee1004_probe_temp_sensor()
200 * sensor, it may still be there for SPD revision 1.0. in ee1004_probe_temp_sensor()
201 * See SPD Annex L, Revision 1 and 2, for details. in ee1004_probe_temp_sensor()
202 * Check DIMM type and SPD revision; if it is a DDR4 in ee1004_probe_temp_sensor()
203 * with SPD revision 1.0, check the thermal sensor address in ee1004_probe_temp_sensor()
333 "%u byte EE1004-compliant SPD EEPROM, read-only\n", in ee1004_probe()
350 MODULE_DESCRIPTION("Driver for EE1004-compliant DDR4 SPD EEPROMs");
H A DKconfig18 24c00, 24c01, 24c02, spd (readonly 24c02), 24c04, 24c08,
111 tristate "SPD EEPROMs on DDR4 memory modules"
116 Enable this driver to get read support to SPD EEPROMs following
/linux/drivers/iio/gyro/
H A 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/drivers/iio/accel/
H A 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/tools/testing/selftests/powerpc/ptrace/
H A D.gitignore4 ptrace-tm-spd-gpr
7 ptrace-tm-spd-tar
10 ptrace-tm-spd-vsx
H A DMakefile4 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 Dsmc_rx.c150 static void smc_rx_spd_release(struct splice_pipe_desc *spd, in smc_rx_spd_release() argument
153 put_page(spd->pages[i]); in smc_rx_spd_release()
162 struct splice_pipe_desc spd; in smc_rx_splice() local
212 spd.nr_pages_max = nr_pages; in smc_rx_splice()
213 spd.nr_pages = nr_pages; in smc_rx_splice()
214 spd.pages = pages; in smc_rx_splice()
215 spd.partial = partial; in smc_rx_splice()
216 spd.ops = &smc_pipe_ops; in smc_rx_splice()
217 spd.spd_release = smc_rx_spd_release; in smc_rx_splice()
219 bytes = splice_to_pipe(pipe, &spd); in smc_rx_splice()
/linux/Documentation/devicetree/bindings/memory-controllers/ddr/
H A Djedec,sdram-props.yaml29 For DDR4 SDRAM with SPD, according to JEDEC SPD4.1.2.L-6:
51 - DDR4 SDRAM, decoded from the SPD from byte 349 according to
64 - DDR4 SDRAM, decoded from the SPD from bits 3-0 of byte 4 according to
87 - DDR4 SDRAM, decoded from the SPD from bits 2-0 of byte 12 according to
/linux/drivers/ata/
H A Dlibata-sata.c442 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()
465 * sata_set_spd_needed - is SATA spd configuration needed
468 * Test whether the spd limit in SControl matches
470 * whether hardreset is necessary to apply SATA spd
477 * 1 if SATA spd configuration is needed, 0 otherwise.
490 * sata_set_spd - set SATA spd according to spd limit
491 * @link: Link to set SATA spd for
493 * Set SATA spd of @link according to sata_spd_limit.
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_calendar.c161 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 Dsparx5_port.c335 u32 spd = port->conf.speed; in sparx5_port_disable() local
381 spd_prm = spd == SPEED_10 ? 1000 : spd == SPEED_100 ? 100 : 10; in sparx5_port_disable()
891 int spd = conf->speed; in sparx5_port_config_low_set() local
893 clk_spd = spd == SPEED_10 ? 0 : spd == SPEED_100 ? 1 : 2; in sparx5_port_config_low_set()
894 gig_mode = spd == SPEED_1000 || spd == SPEED_2500; in sparx5_port_config_low_set()
895 tx_gap = spd == SPEED_1000 ? 4 : fdx ? 6 : 5; in sparx5_port_config_low_set()
896 hdx_gap_1 = spd == SPEED_1000 ? 0 : spd == SPEED_100 ? 1 : 2; in sparx5_port_config_low_set()
897 hdx_gap_2 = spd == SPEED_1000 ? 0 : spd == SPEED_100 ? 4 : 1; in sparx5_port_config_low_set()
/linux/fs/
H A Dsplice.c189 * @spd: data to fill
192 * @spd contains a map of pages and len/offset tuples, along with
198 struct splice_pipe_desc *spd) in splice_to_pipe() argument
200 unsigned int spd_pages = spd->nr_pages; in splice_to_pipe()
218 buf->page = spd->pages[page_nr]; in splice_to_pipe()
219 buf->offset = spd->partial[page_nr].offset; in splice_to_pipe()
220 buf->len = spd->partial[page_nr].len; in splice_to_pipe()
221 buf->private = spd->partial[page_nr].private; in splice_to_pipe()
222 buf->ops = spd->ops; in splice_to_pipe()
230 if (!--spd->nr_pages) in splice_to_pipe()
[all …]
/linux/Documentation/hwmon/
H A Dspd5118.rst58 SPD (Serial Presence Detect) support
61 The driver also supports reading the SPD NVRAM on SPD5118 compatible chips.
62 SPD data is available from the 'eeprom' binary attribute file attached to the
/linux/drivers/i2c/
H A Di2c-smbus.c366 * SPD is not part of SMBus but we include it here for convenience as the
368 * Restrictions to automatic SPD instantiation:
403 "Different memory types mixed, not instantiating SPD\n"); in i2c_register_spd()
415 * The max number of SPD EEPROMs that can be addressed per bus is 8. in i2c_register_spd()
432 name = "spd"; in i2c_register_spd()
445 "Memory type 0x%02x not supported yet, not instantiating SPD\n", in i2c_register_spd()
470 "Successfully instantiated SPD at 0x%hx\n", in i2c_register_spd()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_pci.c101 const struct xe_subplatform_desc *spd; in lookup_sub_desc() local
104 for (spd = desc->subplatforms; spd->subplatform; spd++) in lookup_sub_desc()
105 if (spd->subplatform == s) in lookup_sub_desc()
106 return spd; in lookup_sub_desc()
/linux/drivers/video/
H A Dhdmi.c215 * hdmi_spd_infoframe_init() - initialize an HDMI SPD infoframe
216 * @frame: HDMI SPD infoframe
253 * hdmi_spd_infoframe_check() - check a HDMI SPD infoframe
254 * @frame: HDMI SPD infoframe
268 * hdmi_spd_infoframe_pack_only() - write HDMI SPD infoframe to binary buffer
269 * @frame: HDMI SPD infoframe
319 * hdmi_spd_infoframe_pack() - check a HDMI SPD infoframe,
321 * @frame: HDMI SPD infoframe
926 length = hdmi_spd_infoframe_pack_only(&frame->spd, in hdmi_infoframe_pack_only()
977 length = hdmi_spd_infoframe_pack(&frame->spd, buffer, size); in hdmi_infoframe_pack()
[all …]
/linux/arch/powerpc/kernel/
H A Dlegacy_serial.c83 const __be32 *clk, *spd, *rs; in add_legacy_port() local
94 spd = of_get_property(np, "current-speed", NULL); in add_legacy_port()
148 legacy_info->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/Documentation/userspace-api/media/v4l/
H A Dcolorspaces.rst29 Distribution (SPD) which is a graph showing the intensity (radiant
32 between the SPD and color as perceived by the human brain.
36 those receptors and are perceived as the same color, even though the SPD
43 can take an SPD and calculate the stimulus for each color receptor.
/linux/sound/firewire/
H A Dcmp.c243 unsigned int spd, xspd; in opcr_set_modify() local
247 spd = SCODE_800; in opcr_set_modify()
250 spd = c->speed; in opcr_set_modify()
263 opcr |= cpu_to_be32(spd << OPCR_SPEED_SHIFT); in opcr_set_modify()
/linux/arch/arm64/kernel/
H A Defi.c116 struct set_perm_data *spd = data; in set_permissions() local
117 const efi_memory_desc_t *md = spd->md; in set_permissions()
124 else if (system_supports_bti_kernel() && spd->has_bti) in set_permissions()
/linux/sound/firewire/fireface/
H A 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/drivers/net/ethernet/atheros/atl1c/
H A 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()

123456