Home
last modified time | relevance | path

Searched refs:aligned_offset (Results 1 – 4 of 4) sorted by relevance

/drivers/pci/controller/dwc/
Dpcie-designware-ep.c498 unsigned int aligned_offset; in dw_pcie_ep_raise_msi_irq() local
528 aligned_offset = msg_addr_lower & (epc->mem->window.page_size - 1); in dw_pcie_ep_raise_msi_irq()
530 (msg_addr_lower & ~aligned_offset); in dw_pcie_ep_raise_msi_irq()
536 writel(msg_data | (interrupt_num - 1), ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msi_irq()
572 unsigned int aligned_offset; in dw_pcie_ep_raise_msix_irq() local
599 aligned_offset = msg_addr & (epc->mem->window.page_size - 1); in dw_pcie_ep_raise_msix_irq()
606 writel(msg_data, ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msix_irq()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1228 u32 aligned_offset, aligned_len, *p; in set_eeprom() local
1234 aligned_offset = eeprom->offset & ~3; in set_eeprom()
1240 if (aligned_offset < start || in set_eeprom()
1241 aligned_offset + aligned_len > start + EEPROMPFSIZE) in set_eeprom()
1245 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { in set_eeprom()
1251 err = eeprom_rd_phys(adapter, aligned_offset, (u32 *)buf); in set_eeprom()
1254 aligned_offset + aligned_len - 4, in set_eeprom()
1268 err = eeprom_wr_phys(adapter, aligned_offset, *p); in set_eeprom()
1269 aligned_offset += 4; in set_eeprom()
/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c22 u64 aligned_offset = offset; in i40e_align_l2obj_base() local
25 aligned_offset += (I40E_HMC_L2OBJ_BASE_ALIGNMENT - in i40e_align_l2obj_base()
28 return aligned_offset; in i40e_align_l2obj_base()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2057 u32 aligned_offset, aligned_len; in set_eeprom() local
2065 aligned_offset = eeprom->offset & ~3; in set_eeprom()
2068 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { in set_eeprom()
2072 err = t3_seeprom_read(adapter, aligned_offset, (__le32 *) buf); in set_eeprom()
2075 aligned_offset + aligned_len - 4, in set_eeprom()
2088 err = t3_seeprom_write(adapter, aligned_offset, *p); in set_eeprom()
2089 aligned_offset += 4; in set_eeprom()