Home
last modified time | relevance | path

Searched refs:tmp_u16 (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iio/adc/
H A Dmcp3564.c1110 u16 tmp_u16; in mcp3564_config() local
1154 ret = mcp3564_read_16bits(adc, MCP3564_RESERVED_E_REG, &tmp_u16); in mcp3564_config()
1158 switch (tmp_u16 & MCP3564_HW_ID_MASK) { in mcp3564_config()
1196 dev_info(dev, "Unknown chip found: %d\n", tmp_u16); in mcp3564_config()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dradio.c808 u16 tmp_u16; in b43legacy_calc_nrssi_threshold() local
889 tmp_u16 = b43legacy_phy_read(dev, 0x048A) & 0xF000; in b43legacy_calc_nrssi_threshold()
890 tmp_u16 |= ((u32)b & 0x0000003F); in b43legacy_calc_nrssi_threshold()
891 tmp_u16 |= (((u32)a & 0x0000003F) << 6); in b43legacy_calc_nrssi_threshold()
892 b43legacy_phy_write(dev, 0x048A, tmp_u16); in b43legacy_calc_nrssi_threshold()
/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_g.c704 u16 tmp_u16; in b43_calc_nrssi_threshold() local
748 tmp_u16 = b43_phy_read(dev, 0x048A) & 0xF000; in b43_calc_nrssi_threshold()
749 tmp_u16 |= ((u32) b & 0x0000003F); in b43_calc_nrssi_threshold()
750 tmp_u16 |= (((u32) a & 0x0000003F) << 6); in b43_calc_nrssi_threshold()
751 b43_phy_write(dev, 0x048A, tmp_u16); in b43_calc_nrssi_threshold()