Searched refs:reg_offsets (Results 1 – 5 of 5) sorted by relevance
127 struct mv64xxx_i2c_regs reg_offsets; member214 writel(0, drv_data->reg_base + drv_data->reg_offsets.soft_reset); in mv64xxx_i2c_hw_init()216 drv_data->reg_base + drv_data->reg_offsets.clock); in mv64xxx_i2c_hw_init()217 writel(0, drv_data->reg_base + drv_data->reg_offsets.addr); in mv64xxx_i2c_hw_init()218 writel(0, drv_data->reg_base + drv_data->reg_offsets.ext_addr); in mv64xxx_i2c_hw_init()220 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_hw_init()342 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_send_start()370 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_do_action()375 drv_data->reg_base + drv_data->reg_offsets.data); in mv64xxx_i2c_do_action()377 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_do_action()[all …]
30 u32 *reg_offsets; /* register offsets */ member
95 const u16 (*reg_offsets)[IPROC_MSI_REG_SIZE]; member134 return readl_relaxed(pcie->base + msi->reg_offsets[eq][reg]); in iproc_msi_read_reg()143 writel_relaxed(val, pcie->base + msi->reg_offsets[eq][reg]); in iproc_msi_write_reg()575 msi->reg_offsets = iproc_msi_reg_paxb; in iproc_msi_init()580 msi->reg_offsets = iproc_msi_reg_paxc; in iproc_msi_init()
84 u16 *reg_offsets; member
405 return pcie->reg_offsets[reg]; in iproc_pcie_reg_offset()1388 pcie->reg_offsets = devm_kcalloc(dev, IPROC_PCIE_MAX_NUM_REG, in iproc_pcie_rev_init()1389 sizeof(*pcie->reg_offsets), in iproc_pcie_rev_init()1391 if (!pcie->reg_offsets) in iproc_pcie_rev_init()1395 pcie->reg_offsets[0] = (pcie->type == IPROC_PCIE_PAXC_V2) ? in iproc_pcie_rev_init()1398 pcie->reg_offsets[reg_idx] = regs[reg_idx] ? in iproc_pcie_rev_init()