Home
last modified time | relevance | path

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

12345

/freebsd/sys/dev/jedec_dimm/
H A Djedec_dimm.h36 * bytes (DDR4) of "Serial Presence Detect" (SPD) information. The SPD contains
38 * asset information. The layout of SPD data is defined in:
45 * that JEDEC defined standards for single chips which include both SPD and TSOD
55 * has the same value) are essentially "broadcast" addresses; all SPD devices
57 * (LSA) encoded in bits [3:1]. For normal SPD access, bits [3:1] encode the
78 /* The offsets and lengths of various SPD bytes are defined in Annex K (DDR3)
110 /* The "DRAM Type" field of the SPD enumerates various memory technologies which
112 * to the latest SPD specification. In this case, Annex L for DDR4.
H A Djedec_dimm.c55 uint8_t spd_addr; /* SMBus address of the SPD EEPROM. */
176 * The DDR4 SPD information is spread across two 256-byte pages, but the
286 /* The TSOD address has a different DTI from the SPD address, but shares in jedec_dimm_attach()
326 /* Read all the required info from the SPD. If any of it fails, error in jedec_dimm_attach()
357 * If the SPD data says the TSOD is present, try to read manufacturer in jedec_dimm_attach()
463 * information in various SPD bytes. The standards documents codify everything
466 * and DDR4. The SPD offsets of where the data comes from are different between
665 * Read and dump the entire SPD contents.
695 /* The DDR4 SPD is 512 bytes, but SMBus only allows for 8-bit offsets. in jedec_dimm_dump()
703 /* Some SPD devices (or SMBus controllers?) claim the in jedec_dimm_dump()
[all …]
/freebsd/usr.bin/mail/tests/
H A Dmailx_signal_test.c37 int ipd[2], opd[2], epd[2], spd[2]; in mailx_signal_test() local
46 pipe(spd) != 0 || fcntl(spd[1], F_SETFD, FD_CLOEXEC) != 0) in mailx_signal_test()
73 close(spd[0]); in mailx_signal_test()
89 close(spd[1]); in mailx_signal_test()
91 (void)read(spd[0], &spd[1], sizeof(spd[1])); in mailx_signal_test()
132 close(spd[0]); in mailx_signal_test()
/freebsd/sys/dev/firewire/
H A Dfwmem.c94 int spd, in fwmem_xfer_req() argument
107 if (spd < 0) in fwmem_xfer_req()
108 xfer->send.spd = fwdev->speed; in fwmem_xfer_req()
110 xfer->send.spd = min(spd, fwdev->speed); in fwmem_xfer_req()
123 uint8_t spd, in fwmem_read_quad() argument
132 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 4, hand); in fwmem_read_quad()
160 uint8_t spd, in fwmem_write_quad() argument
169 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 0, hand); in fwmem_write_quad()
196 uint8_t spd, in fwmem_read_block() argument
206 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, roundup2(len, 4), hand); in fwmem_read_block()
[all …]
H A Dfw_helpers.h121 uint16_t dst, uint8_t spd, uint16_t addr_hi, uint32_t addr_lo, in fw_read_quadlet() argument
132 xfer->send.spd = spd; in fw_read_quadlet()
158 uint16_t dst, uint8_t spd, uint16_t addr_hi, uint32_t addr_lo, in fw_write_quadlet() argument
169 xfer->send.spd = spd; in fw_write_quadlet()
H A Dfwohcireg.h350 uint32_t spd:16, /* XXX include reserved field */ member
358 spd:16; /* XXX include reserved fields */
366 spd:3,
374 spd:3,
384 spd:3,
392 spd:3,
H A Dfwisound.c61 uint8_t spd; in fwisound_read_quadlet() local
70 spd = min(sc->fwdev->speed, FWSPD_S400); in fwisound_read_quadlet()
73 err = fw_read_quadlet(sc->fd.fc, M_FWISOUND, dst, spd, in fwisound_read_quadlet()
85 uint8_t spd; in fwisound_write_quadlet() local
94 spd = min(sc->fwdev->speed, FWSPD_S400); in fwisound_write_quadlet()
97 err = fw_write_quadlet(sc->fd.fc, M_FWISOUND, dst, spd, in fwisound_write_quadlet()
/freebsd/sbin/setkey/
H A Dsetkey.863 as well as Security Policy Database (SPD) entries in the kernel.
82 the SPD entries are dumped.
87 the SPD entries are flushed.
89 Only SPD entries with global scope are dumped with
95 Only SPD entries with ifnet scope are dumped with
100 Such SPD entries are linked to the corresponding
195 Add an SPD entry.
203 Delete an SPD entry.
209 Clear all SPD entries.
217 Dumps all SPD entries.
[all …]
/freebsd/sys/dev/sound/pci/
H A Dsolo.c86 uint32_t fmt, spd, blksz; member
121 static int ess_setupch(struct ess_info *sc, int ch, int dir, int spd, uint32_t fmt, int len);
363 ess_calcspeed8(int *spd) in ess_calcspeed8() argument
365 int speed = *spd; in ess_calcspeed8()
377 *spd = speed; in ess_calcspeed8()
382 ess_calcspeed9(int *spd) in ess_calcspeed9() argument
389 speed = *spd; in ess_calcspeed9()
399 *spd = use0? s0 : s1; in ess_calcspeed9()
404 ess_calcfilter(int spd) in ess_calcfilter() argument
410 cutoff = (spd * 9 * 82) / 20; in ess_calcfilter()
[all …]
H A Demu10kx-pcm.c55 int spd; member
68 int spd; member
723 ch->spd = 8000; in emupchan_init()
762 ch->spd = speed; in emupchan_setspeed()
763 return (ch->spd); in emupchan_setspeed()
809 emu_vsetup(ch->master, ch->fmt, ch->spd); in emupchan_trigger()
887 ch->spd = 8000; in emurchan_init()
934 ch->spd = speed; in emurchan_setspeed()
935 return (ch->spd); in emurchan_setspeed()
998 val |= sc->is_emu10k1 ? emu_k1_recval(ch->spd) : emu_k2_recval(ch->spd); in emurchan_trigger()
[all …]
/freebsd/share/man/man4/
H A Djedec_dimm.466 driver accesses the SPD and TSOD over the
103 the SMBus address of the SPD.
106 (DTI), and that the DTI of the SPD is 0xa.
197 with the SPD DTI
215 (DDR3 SPD)
227 (DDR4 SPD)
/freebsd/sys/contrib/device-tree/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
/freebsd/sys/powerpc/include/
H A Dhid.h89 "\020ICE\017DCE\016ILOCK\015DLOCK\014ICFI\013DCFI\012SPD\011IFEM" \
96 "\020ICE\017DCE\016ILOCK\015DLOCK\014ICFI\013DCFI\012SPD\011XBSEN" \
152 * 22 - - SPD SPD SPG SPD SPD -
/freebsd/sys/arm/nvidia/drm2/
H A Dhdmi.c156 * hdmi_spd_infoframe_init() - initialize an HDMI SPD infoframe
157 * @frame: HDMI SPD infoframe
180 * hdmi_spd_infoframe_pack() - write HDMI SPD infoframe to binary buffer
181 * @frame: HDMI SPD infoframe
430 length = hdmi_spd_infoframe_pack(&frame->spd, buffer, size); in hdmi_infoframe_pack()
458 return "Source Product Description (SPD)"; in hdmi_infoframe_type_get_name()
729 * hdmi_spd_infoframe_log() - log info of HDMI SPD infoframe
732 * @frame: HDMI SPD infoframe
964 hdmi_spd_infoframe_log(&frame->spd); in hdmi_infoframe_log()
1040 * hdmi_spd_infoframe_unpack() - unpack binary buffer to a HDMI SPD infoframe
[all …]
H A Dhdmi.h310 * @spd: spd infoframe
321 struct hdmi_spd_infoframe spd; member
/freebsd/lib/libc/tests/stdtime/
H A Ddetect_tz_changes_test.c205 int opd[2], epd[2], spd[2]; in ATF_TC_BODY()
230 if (pipe(opd) != 0 || pipe(epd) != 0 || pipe(spd) != 0) in ATF_TC_BODY()
243 close(spd[0]); in ATF_TC_BODY()
247 fds[0].fd = spd[1]; in ATF_TC_BODY()
269 close(spd[1]); in ATF_TC_BODY()
275 fds[2].fd = spd[0]; in ATF_TC_BODY()
337 close(spd[0]); in ATF_TC_BODY()
354 close(spd[0]); /* this will wake up and terminate the child */ in ATF_TC_BODY()
202 int opd[2], epd[2], spd[2]; ATF_TC_BODY() local
/freebsd/sys/i386/include/pc/
H A Dbios.h113 #define PNP_GET_EVENT "spD", 0x03
115 #define PNP_GET_DOCK_INFO "spD", 0x05
119 #define PNP_SET_RESINFO "spD", 0x09
120 #define PNP_GET_RESINFO "spD", 0x0A
123 #define PNP_GET_ISA_INFO "spD", 0x40
/freebsd/sys/contrib/device-tree/Bindings/eeprom/
H A Dat24.yaml22 - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$"
42 … - pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$"
43 - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$"
104 pattern: spd$
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_hdmi.c217 * hdmi_spd_infoframe_init() - initialize an HDMI SPD infoframe
218 * @frame: HDMI SPD infoframe
255 * hdmi_spd_infoframe_check() - check a HDMI SPD infoframe
256 * @frame: HDMI SPD infoframe
270 * hdmi_spd_infoframe_pack_only() - write HDMI SPD infoframe to binary buffer
271 * @frame: HDMI SPD infoframe
321 * hdmi_spd_infoframe_pack() - check a HDMI SPD infoframe,
323 * @frame: HDMI SPD infoframe
917 return hdmi_spd_infoframe_check(&frame->spd); in hdmi_infoframe_check()
958 length = hdmi_spd_infoframe_pack_only(&frame->spd, in hdmi_infoframe_pack_only()
[all …]
/freebsd/sys/dev/sound/pcm/
H A Dbuffer.h49 uint32_t fmt, spd, bps, align; member
63 struct snd_dbuf *sndbuf_create(struct pcm_channel *channel, uint32_t fmt, uint32_t spd, const char …
81 void sndbuf_setspd(struct snd_dbuf *b, unsigned int spd);
H A Dbuffer.c49 sndbuf_create(struct pcm_channel *channel, uint32_t fmt, uint32_t spd, in sndbuf_create() argument
59 sndbuf_setspd(b, spd); in sndbuf_create()
379 sndbuf_setspd(struct snd_dbuf *b, unsigned int spd) in sndbuf_setspd() argument
381 b->spd = spd; in sndbuf_setspd()
455 return snd_xbytes(v, from->align * from->spd, to->align * to->spd); in sndbuf_xbytes()
H A Dfeeder_eq.c196 uint32_t spd, threshold; in feed_eq_coeff_rate() local
207 spd = feed_eq_tab[i].rate; in feed_eq_coeff_rate()
208 threshold = spd + ((i < (FEEDEQ_TAB_SIZE - 1) && in feed_eq_coeff_rate()
209 feed_eq_tab[i + 1].rate > spd) ? in feed_eq_coeff_rate()
210 ((feed_eq_tab[i + 1].rate - spd) >> 1) : 0); in feed_eq_coeff_rate()
211 if (rate == spd || in feed_eq_coeff_rate()
/freebsd/sys/netipsec/
H A Dipsec.h163 /* NOTE: DON'T use IPSEC_MODE_ANY at SPD. It's only use in SAD */
183 * DISCARD, IPSEC and NONE are allowed for setkey() in SPD.
189 #define IPSEC_POLICY_ENTRUST 3 /* consulting SPD if present. */
230 uint64_t ips_spdcache_hits; /* SPD cache hits */
231 uint64_t ips_spdcache_misses; /* SPD cache misses */
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dhdmi.h419 * @spd: spd infoframe
431 struct hdmi_spd_infoframe spd; member
/freebsd/sys/contrib/device-tree/include/dt-bindings/usb/
H A Dpd.h226 #define VDO_UFP(ver, cap, conn, vcpwr, vcr, vbr, alt, spd) \ argument
229 | ((spd) & 0x7))
364 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument
367 | ((vbm) & 0x3) << 9 | ((cur) & 0x3) << 5 | ((spd) & 0x7))
368 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument
372 | (vbt) << 4 | (sopp) << 3 | ((spd) & 0x7))

12345