Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb3/
Dmc5.c141 int addr_shift) in init_mask_data_array() argument
161 if (mc5_write(adap, data_array_base + (i << addr_shift), in init_mask_data_array()
172 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.c348 u8 addr_shift; in get_cs_base_and_mask() local
355 addr_shift = 4; in get_cs_base_and_mask()
381 addr_shift = 8; in get_cs_base_and_mask()
391 *base = (csbase & base_bits) << addr_shift; in get_cs_base_and_mask()
395 *mask &= ~(mask_bits << addr_shift); in get_cs_base_and_mask()
397 *mask |= (csmask & mask_bits) << addr_shift; in get_cs_base_and_mask()
/drivers/net/ethernet/marvell/
Dpxa168_eth.c320 int addr_shift = 5 * pep->port_num; in ethernet_phy_set_addr() local
323 reg_data &= ~(0x1f << addr_shift); in ethernet_phy_set_addr()
324 reg_data |= (phy_addr & 0x1f) << addr_shift; in ethernet_phy_set_addr()
Dmv643xx_eth.c2849 int addr_shift = 5 * mp->port_num; in phy_addr_set() local
2853 data &= ~(0x1f << addr_shift); in phy_addr_set()
2854 data |= (phy_addr & 0x1f) << addr_shift; in phy_addr_set()
/drivers/staging/iio/adc/
Dad7192.c182 .addr_shift = 3,