Home
last modified time | relevance | path

Searched refs:addr_shift (Results 1 – 8 of 8) sorted by relevance

/drivers/net/phy/
Dspi_ks8995.c113 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/
Dmc5.c125 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/
Dad_sigma_delta.c70 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()
Dad7791.c196 .addr_shift = 4,
Dad7793.c208 .addr_shift = 3,
/drivers/edac/
Damd64_edac.c357 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/
Dad7192.c200 .addr_shift = 3,
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c2920 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()