Searched refs:p16 (Results 1 – 2 of 2) sorted by relevance
125 u16 *p16; in spi_write_bytes() local134 p16 = (u16 *)(dev->txbuf + 2*count); in spi_write_bytes()135 val = *p16; in spi_write_bytes()152 u16 *p16; in spi_fill_readbuffer() local161 p16 = (u16 *)(dev->rxbuf + 2*count); in spi_fill_readbuffer()163 *p16 = cpu_to_be16((u16)value); in spi_fill_readbuffer()165 *p16 = (u16)value; in spi_fill_readbuffer()
2652 const uint16_t *p16; in test_ld_mbuf1() local2686 p16 = rte_pktmbuf_read(pkt, in test_ld_mbuf1()2687 offsetof(struct rte_ipv4_hdr, total_length), sizeof(*p16), in test_ld_mbuf1()2689 if (p16 == NULL) in test_ld_mbuf1()2692 n = rte_be_to_cpu_16(p16[0]); in test_ld_mbuf1()2702 p16 = rte_pktmbuf_read(pkt, n / 2, sizeof(*p16), &dof); in test_ld_mbuf1()2703 if (p16 == NULL) in test_ld_mbuf1()2706 v += rte_be_to_cpu_16(p16[0]); in test_ld_mbuf1()