Searched refs:ddi_swap16 (Results 1 – 15 of 15) sorted by relevance
222 *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 …]
1742 u.nsb[i] = ddi_swap16(*a++); in pmcs_add_sata_device()
317 (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]); \
501 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 …]
381 (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]); \
210 *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()
83 DECL_AUDIO_IMPORT(16oe, int16_t, ddi_swap16, << 8)
74 DECL_AUDIO_EXPORT(16oe, int16_t, ddi_swap16(sample >> 8))
2078 vr->value = (int)ddi_swap16(v & 0xffff); in sndctl_mix_read()2154 v = ddi_swap16(vr->value & 0xffff); in sndctl_mix_write()
77 #define h2l16(x) (ddi_swap16(x))80 #define l2h16(x) (ddi_swap16(x))
1242 ddi_swap16(*(uint16_t *)host_addr); in pci_common_ctlops_poke()1457 ddi_swap16(*(uint16_t *)dev_addr); in pci_common_ctlops_peek()
225 #define sw16(x) ddi_swap16(x)
1974 ddi_swap16(uint16_t value);
2234 ip_port = ddi_swap16(sock_in4p->sin_port); in sockaddr2ibtaddr_port()
7458 ddi_swap16(uint16_t value) in ddi_swap16() function