Home
last modified time | relevance | path

Searched refs:d16 (Results 1 – 11 of 11) sorted by relevance

/drivers/iio/adc/
Dad7292.c83 __be16 d16 ____cacheline_aligned;
93 ret = spi_write_then_read(st->spi, st->d8, 1, &st->d16, 2); in ad7292_spi_reg_read()
97 return be16_to_cpu(st->d16); in ad7292_spi_reg_read()
109 ret = spi_write_then_read(st->spi, st->d8, 2, &st->d16, len); in ad7292_spi_subreg_read()
113 return (be16_to_cpu(st->d16) >> shift); in ad7292_spi_subreg_read()
130 .rx_buf = &st->d16, in ad7292_single_conversion()
143 return be16_to_cpu(st->d16); in ad7292_single_conversion()
Dad7606_spi.c128 .tx_buf = &st->d16[0], in ad7606_spi_reg_read()
132 .rx_buf = &st->d16[1], in ad7606_spi_reg_read()
138 st->d16[0] = cpu_to_be16(st->bops->rd_wr_cmd(addr, 0) << 8); in ad7606_spi_reg_read()
144 return be16_to_cpu(st->d16[1]); in ad7606_spi_reg_read()
153 st->d16[0] = cpu_to_be16((st->bops->rd_wr_cmd(addr, 1) << 8) | in ad7606_spi_reg_write()
156 return spi_write(spi, &st->d16[0], sizeof(st->d16[0])); in ad7606_spi_reg_write()
Dad7606.h124 __be16 d16[2]; member
/drivers/iio/dac/
Dad5696-i2c.c29 .buf = (char *)&st->data[0].d16, in ad5686_i2c_read()
42 return be16_to_cpu(st->data[0].d16); in ad5686_i2c_read()
Dad5686.h146 __be16 d16; member
Dad5686-spi.c24 st->data[0].d16 = cpu_to_be16(AD5310_CMD(cmd) | in ad5686_spi_write()
/drivers/net/wireless/broadcom/b43legacy/
Db43legacy.h380 __be16 d16; member
Dmain.c1817 if (array_size < sizeof(iv->data.d16)) in b43legacy_write_initvals()
1819 array_size -= sizeof(iv->data.d16); in b43legacy_write_initvals()
1821 value = be16_to_cpu(iv->data.d16); in b43legacy_write_initvals()
/drivers/net/wireless/broadcom/b43/
Db43.h652 __be16 d16; member
Dmain.c2790 if (array_size < sizeof(iv->data.d16)) in b43_write_initvals()
2792 array_size -= sizeof(iv->data.d16); in b43_write_initvals()
2794 value = be16_to_cpu(iv->data.d16); in b43_write_initvals()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c1613 u8 d15, d16, f16, e44, e45; in wlc_lcnphy_radio_2064_channel_tune_4313() local
1694 d16 = (qFcal * 8 / (d15 + 1)) - 1; in wlc_lcnphy_radio_2064_channel_tune_4313()
1695 write_radio_reg(pi, RADIO_2064_REG051, d16); in wlc_lcnphy_radio_2064_channel_tune_4313()
1697 f16 = ((d16 + 1) * (d15 + 1)) / qFcal; in wlc_lcnphy_radio_2064_channel_tune_4313()