Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-designware-ep.c501 unsigned int aligned_offset; in dw_pcie_ep_raise_msi_irq() local
531 aligned_offset = msg_addr_lower & (epc->mem->window.page_size - 1); in dw_pcie_ep_raise_msi_irq()
533 (msg_addr_lower & ~aligned_offset); in dw_pcie_ep_raise_msi_irq()
539 writel(msg_data | (interrupt_num - 1), ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msi_irq()
575 unsigned int aligned_offset; in dw_pcie_ep_raise_msix_irq() local
602 aligned_offset = msg_addr & (epc->mem->window.page_size - 1); in dw_pcie_ep_raise_msix_irq()
608 writel(msg_data, ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msix_irq()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1236 u32 aligned_offset, aligned_len, *p; in set_eeprom() local
1242 aligned_offset = eeprom->offset & ~3; in set_eeprom()
1248 if (aligned_offset < start || in set_eeprom()
1249 aligned_offset + aligned_len > start + EEPROMPFSIZE) in set_eeprom()
1253 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { in set_eeprom()
1259 err = eeprom_rd_phys(adapter, aligned_offset, (u32 *)buf); in set_eeprom()
1262 aligned_offset + aligned_len - 4, in set_eeprom()
1276 err = eeprom_wr_phys(adapter, aligned_offset, *p); in set_eeprom()
1277 aligned_offset += 4; in set_eeprom()
/linux-6.1.9/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()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_fb.c1428 unsigned int aligned_offset = ALIGN(gtt_offset, in calc_plane_remap_info() local
1431 size += aligned_offset - gtt_offset; in calc_plane_remap_info()
1432 gtt_offset = aligned_offset; in calc_plane_remap_info()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2060 u32 aligned_offset, aligned_len; in set_eeprom() local
2067 aligned_offset = eeprom->offset & ~3; in set_eeprom()
2070 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { in set_eeprom()
2074 err = pci_read_vpd(adapter->pdev, aligned_offset, aligned_len, in set_eeprom()
2086 err = pci_write_vpd(adapter->pdev, aligned_offset, aligned_len, buf); in set_eeprom()