Home
last modified time | relevance | path

Searched refs:ddi_swap16 (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_sata.c222 *a = ddi_swap16(*b); in pmcs_sata_special_work()
261 *a = ddi_swap16(*b); in pmcs_sata_special_work()
268 *a = ddi_swap16(*b); in pmcs_sata_special_work()
296 *a = ddi_swap16(*b); in pmcs_sata_special_work()
303 ddi_swap16(id->firmware_revision[0]) >> 8; in pmcs_sata_special_work()
305 ddi_swap16(id->firmware_revision[0]); in pmcs_sata_special_work()
307 ddi_swap16(id->firmware_revision[1]) >> 8; in pmcs_sata_special_work()
309 ddi_swap16(id->firmware_revision[1]); in pmcs_sata_special_work()
312 ddi_swap16(id->firmware_revision[2]) >> 8; in pmcs_sata_special_work()
314 ddi_swap16(id->firmware_revision[2]); in pmcs_sata_special_work()
[all …]
H A Dpmcs_attach.c1742 u.nsb[i] = ddi_swap16(*a++); in pmcs_add_sata_device()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_cmd.h317 (portinfo)->LID = ddi_swap16((portinfo)->LID); \
318 (portinfo)->MasterSMLID = ddi_swap16((portinfo)->MasterSMLID); \
321 (portinfo)->DiagCode = ddi_swap16((portinfo)->DiagCode); \
323 ddi_swap16((portinfo)->M_KeyLeasePeriod); \
325 ddi_swap16((portinfo)->M_KeyViolations); \
327 ddi_swap16((portinfo)->P_KeyViolations); \
329 ddi_swap16((portinfo)->Q_KeyViolations); \
403 ddi_swap16((pkeytable)->P_KeyTableBlocks[i]); \
/illumos-gate/usr/src/uts/intel/os/
H A Dddi_i86.c501 return (ddi_swap16(*addr)); in i_ddi_vaddr_swap_get16()
508 return (ddi_swap16(inw((uintptr_t)addr))); in i_ddi_io_swap_get16()
536 *addr = ddi_swap16(value); in i_ddi_vaddr_swap_put16()
543 outw((uintptr_t)addr, ddi_swap16(value)); in i_ddi_io_swap_put16()
615 *h++ = ddi_swap16(*d++); in i_ddi_vaddr_swap_rep_get16()
618 *h++ = ddi_swap16(*d); in i_ddi_vaddr_swap_rep_get16()
634 *h++ = ddi_swap16(inw(port)); in i_ddi_io_swap_rep_get16()
637 *h++ = ddi_swap16(inw(port)); in i_ddi_io_swap_rep_get16()
779 *d++ = ddi_swap16(*h++); in i_ddi_vaddr_swap_rep_put16()
782 *d = ddi_swap16(*h++); in i_ddi_vaddr_swap_rep_put16()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_cmd.h381 (portinfo)->LID = ddi_swap16((portinfo)->LID); \
382 (portinfo)->MasterSMLID = ddi_swap16((portinfo)->MasterSMLID); \
385 (portinfo)->DiagCode = ddi_swap16((portinfo)->DiagCode); \
387 ddi_swap16((portinfo)->M_KeyLeasePeriod); \
389 ddi_swap16((portinfo)->M_KeyViolations); \
391 ddi_swap16((portinfo)->P_KeyViolations); \
393 ddi_swap16((portinfo)->Q_KeyViolations); \
467 ddi_swap16((pkeytable)->P_KeyTableBlocks[i]); \
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_format.c210 *dst++ = (int16_t)(ddi_swap16(*src++)) << 8; in cnv_from_s16oe()
242 *dst++ = (int16_t)(ddi_swap16((*src++) ^ 0x8000)) << 8; in cnv_from_u16oe()
378 *dst++ = ddi_swap16(*src++ >> 8); in cnv_to_s16oe()
402 *dst++ = ddi_swap16(*src++ >> 8) ^ 0x8000; in cnv_to_u16oe()
H A Daudio_input.c83 DECL_AUDIO_IMPORT(16oe, int16_t, ddi_swap16, << 8)
H A Daudio_output.c74 DECL_AUDIO_EXPORT(16oe, int16_t, ddi_swap16(sample >> 8))
H A Daudio_oss.c2078 vr->value = (int)ddi_swap16(v & 0xffff); in sndctl_mix_read()
2154 v = ddi_swap16(vr->value & 0xffff); in sndctl_mix_write()
/illumos-gate/usr/src/uts/common/sys/ib/ibtl/
H A Dibtl_types.h77 #define h2l16(x) (ddi_swap16(x))
80 #define l2h16(x) (ddi_swap16(x))
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c1242 ddi_swap16(*(uint16_t *)host_addr); in pci_common_ctlops_poke()
1457 ddi_swap16(*(uint16_t *)dev_addr); in pci_common_ctlops_peek()
/illumos-gate/usr/src/uts/common/io/sdcard/adapters/sdhost/
H A Dsdhost.c225 #define sw16(x) ddi_swap16(x)
/illumos-gate/usr/src/uts/common/sys/
H A Dsunddi.h1974 ddi_swap16(uint16_t value);
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c2234 ip_port = ddi_swap16(sock_in4p->sin_port); in sockaddr2ibtaddr_port()
/illumos-gate/usr/src/uts/common/os/
H A Dsunddi.c7458 ddi_swap16(uint16_t value) in ddi_swap16() function