Searched refs:addr_shift (Results 1 – 8 of 8) sorted by relevance
/drivers/net/phy/ |
D | spi_ks8995.c | 113 int addr_shift; member 123 .addr_shift = 0, 131 .addr_shift = 0, 139 .addr_shift = 1, 192 result <<= ks->chip->addr_width + ks->chip->addr_shift; in create_spi_cmd() 194 result |= address << ks->chip->addr_shift; in create_spi_cmd()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | mc5.c | 125 int addr_shift) in init_mask_data_array() argument 145 if (mc5_write(adap, data_array_base + (i << addr_shift), in init_mask_data_array() 156 if (mc5_write(adap, mask_array_base + (i << addr_shift), in init_mask_data_array()
|
/drivers/iio/adc/ |
D | ad_sigma_delta.c | 70 data[0] = (reg << sigma_delta->info->addr_shift) | sigma_delta->comm; in ad_sd_write_reg() 122 data[0] = reg << sigma_delta->info->addr_shift; in ad_sd_read_reg_raw()
|
D | ad7791.c | 196 .addr_shift = 4,
|
D | ad7793.c | 208 .addr_shift = 3,
|
/drivers/edac/ |
D | amd64_edac.c | 357 u8 addr_shift; in get_cs_base_and_mask() local 364 addr_shift = 4; in get_cs_base_and_mask() 390 addr_shift = 8; in get_cs_base_and_mask() 400 *base = (csbase & base_bits) << addr_shift; in get_cs_base_and_mask() 404 *mask &= ~(mask_bits << addr_shift); in get_cs_base_and_mask() 406 *mask |= (csmask & mask_bits) << addr_shift; in get_cs_base_and_mask()
|
/drivers/staging/iio/adc/ |
D | ad7192.c | 200 .addr_shift = 3,
|
/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 2920 int addr_shift = 5 * mp->port_num; in phy_addr_set() local 2924 data &= ~(0x1f << addr_shift); in phy_addr_set() 2925 data |= (phy_addr & 0x1f) << addr_shift; in phy_addr_set()
|