Home
last modified time | relevance | path

Searched refs:addr_offset (Results 1 – 22 of 22) sorted by relevance

/drivers/misc/
Dpch_phub.c492 unsigned int addr_offset; in pch_phub_bin_read() local
525 addr_offset = 0; in pch_phub_bin_read()
529 addr_offset = 0; in pch_phub_bin_read()
533 for (addr_offset = 0; addr_offset < count; addr_offset++) { in pch_phub_bin_read()
535 chip->pch_opt_rom_start_address + addr_offset + off, in pch_phub_bin_read()
536 &buf[addr_offset]); in pch_phub_bin_read()
545 return addr_offset; in pch_phub_bin_read()
560 unsigned int addr_offset; in pch_phub_bin_write() local
570 addr_offset = 0; in pch_phub_bin_write()
574 addr_offset = 0; in pch_phub_bin_write()
[all …]
/drivers/nvmem/
Drockchip-efuse.c99 unsigned int addr_start, addr_end, addr_offset, addr_len; in rockchip_rk3328_efuse_read() local
114 addr_offset = offset % RK3399_NBYTES; in rockchip_rk3328_efuse_read()
141 memcpy(val, buf + addr_offset, bytes); in rockchip_rk3328_efuse_read()
154 unsigned int addr_start, addr_end, addr_offset, addr_len; in rockchip_rk3399_efuse_read() local
167 addr_offset = offset % RK3399_NBYTES; in rockchip_rk3399_efuse_read()
197 memcpy(val, buf + addr_offset, bytes); in rockchip_rk3399_efuse_read()
/drivers/spi/
Dspi-fsl-qspi.c645 u32 addr_offset = 0; in fsl_qspi_exec_op() local
658 addr_offset = q->memmap_phy; in fsl_qspi_exec_op()
661 q->selected * q->devtype_data->ahb_buf_size + addr_offset, in fsl_qspi_exec_op()
723 u32 reg, addr_offset = 0; in fsl_qspi_default_setup() local
776 addr_offset = q->memmap_phy; in fsl_qspi_default_setup()
785 qspi_writel(q, q->devtype_data->ahb_buf_size + addr_offset, in fsl_qspi_default_setup()
787 qspi_writel(q, q->devtype_data->ahb_buf_size * 2 + addr_offset, in fsl_qspi_default_setup()
789 qspi_writel(q, q->devtype_data->ahb_buf_size * 3 + addr_offset, in fsl_qspi_default_setup()
791 qspi_writel(q, q->devtype_data->ahb_buf_size * 4 + addr_offset, in fsl_qspi_default_setup()
/drivers/net/can/m_can/
Dm_can.h67 int (*read_fifo)(struct m_can_classdev *cdev, int addr_offset, void *val, size_t val_count);
68 int (*write_fifo)(struct m_can_classdev *cdev, int addr_offset,
Dtcan4x5x-core.c189 static int tcan4x5x_read_fifo(struct m_can_classdev *cdev, int addr_offset, in tcan4x5x_read_fifo() argument
194 return regmap_bulk_read(priv->regmap, TCAN4X5X_MRAM_START + addr_offset, val, val_count); in tcan4x5x_read_fifo()
205 int addr_offset, const void *val, size_t val_count) in tcan4x5x_write_fifo() argument
209 return regmap_bulk_write(priv->regmap, TCAN4X5X_MRAM_START + addr_offset, val, val_count); in tcan4x5x_write_fifo()
Dm_can.c338 u32 addr_offset = cdev->mcfg[MRAM_RXF0].off + fgi * RXF0_ELEMENT_SIZE + in m_can_fifo_read() local
344 return cdev->ops->read_fifo(cdev, addr_offset, val, val_count); in m_can_fifo_read()
351 u32 addr_offset = cdev->mcfg[MRAM_TXB].off + fpi * TXB_ELEMENT_SIZE + in m_can_fifo_write() local
357 return cdev->ops->write_fifo(cdev, addr_offset, val, val_count); in m_can_fifo_write()
369 u32 addr_offset = cdev->mcfg[MRAM_TXE].off + fgi * TXE_ELEMENT_SIZE + in m_can_txe_fifo_read() local
372 return cdev->ops->read_fifo(cdev, addr_offset, val, 1); in m_can_txe_fifo_read()
/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c31 unsigned long addr_offset; member
273 cs->base + nfc->soc_info->addr_offset); in ingenic_nand_exec_instr()
537 .addr_offset = 0x00010000,
544 .addr_offset = 0x00010000,
551 .addr_offset = 0x00800000,
/drivers/input/rmi4/
Drmi_i2c.c134 u8 addr_offset = addr & 0xff; in rmi_i2c_read_block() local
139 .len = sizeof(addr_offset), in rmi_i2c_read_block()
140 .buf = &addr_offset, in rmi_i2c_read_block()
/drivers/ntb/
Dmsi.c211 msi_desc->addr_offset = addr - ntb->msi->base_addr; in ntb_msi_set_desc()
375 idx = desc->addr_offset / sizeof(*ntb->msi->peer_mws[peer]); in ntb_msi_peer_trigger()
410 *msi_addr = mw_phys_addr + desc->addr_offset; in ntb_msi_peer_addr()
Dntb_transport.c704 qp->peer_msi_desc.addr_offset = in ntb_transport_setup_qp_peer_msi()
710 qp_num, qp->peer_msi_desc.addr_offset, qp->peer_msi_desc.data); in ntb_transport_setup_qp_peer_msi()
712 if (qp->peer_msi_desc.addr_offset) { in ntb_transport_setup_qp_peer_msi()
750 rc = ntb_spad_write(qp->ndev, spad, qp->msi_desc.addr_offset); in ntb_transport_setup_qp_msi()
759 qp_num, qp->msi_irq, qp->msi_desc.addr_offset, in ntb_transport_setup_qp_msi()
/drivers/ntb/test/
Dntb_msi_test.c88 nm->isr_ctx[i].desc.addr_offset); in ntb_msit_setup_work()
113 nm->isr_ctx[i].desc.addr_offset); in ntb_msit_desc_changed()
138 desc[i].addr_offset = ntb_peer_spad_read(nm->ntb, peer, in ntb_msit_copy_peer_desc()
/drivers/staging/axis-fifo/
Daxis-fifo.c148 size_t count, unsigned int addr_offset) in sysfs_write() argument
158 iowrite32(tmp, fifo->base_addr + addr_offset); in sysfs_write()
164 unsigned int addr_offset) in sysfs_read() argument
171 read_val = ioread32(fifo->base_addr + addr_offset); in sysfs_read()
/drivers/net/ethernet/alacritech/
Dslicoss.c441 buff->addr_offset = offset; in slic_refill_rx_queue()
570 buff->addr_offset + sizeof(*desc), in slic_handle_receive()
578 buff->addr_offset + in slic_handle_receive()
807 stq->addr_offset[i] = offset; in slic_init_stat_queue()
817 stq->descs[i] - stq->addr_offset[i], in slic_init_stat_queue()
818 stq->paddr[i] - stq->addr_offset[i]); in slic_init_stat_queue()
831 stq->descs[i] - stq->addr_offset[i], in slic_free_stat_queue()
832 stq->paddr[i] - stq->addr_offset[i]); in slic_free_stat_queue()
Dslic.h478 unsigned int addr_offset[SLIC_NUM_STAT_DESC_ARRAYS]; member
525 unsigned int addr_offset; member
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c83 qp_ctxt_hdr->addr_offset = SQ_CTXT_OFFSET(max_sqs, max_rqs, 0); in hinic_qp_prepare_header()
85 qp_ctxt_hdr->addr_offset = RQ_CTXT_OFFSET(max_sqs, max_rqs, 0); in hinic_qp_prepare_header()
87 qp_ctxt_hdr->addr_offset = SIZE_16BYTES(qp_ctxt_hdr->addr_offset); in hinic_qp_prepare_header()
Dhinic_hw_qp_ctxt.h151 u32 addr_offset; member
Dhinic_hw_io.c227 ctxt_block->cmdq_hdr.addr_offset = 0; in hinic_clean_queue_offload_ctxt()
/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dinput_system.c744 int addr_offset; in input_switch_cfg() local
750 for (addr_offset = 0; addr_offset < N_RX_CHANNEL_ID * 2; addr_offset++) { in input_switch_cfg()
751 assert(addr_offset * SIZEOF_HRT_REG + _REG_GP_IFMT_input_switch_lut_reg0 <= in input_switch_cfg()
754 _REG_GP_IFMT_input_switch_lut_reg0 + addr_offset * SIZEOF_HRT_REG, in input_switch_cfg()
755 cfg->hsync_data_reg[addr_offset]); in input_switch_cfg()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Ddbg-tlv.h278 __le32 addr_offset; member
/drivers/crypto/intel/qat/qat_common/
Dicp_qat_uclo.h331 unsigned int addr_offset; member
/drivers/net/wireless/intel/iwlwifi/
Diwl-dbg-tlv.c862 u32 offset = le32_to_cpu(config_list->addr_offset); in iwl_dbg_tlv_apply_config()
918 le32_to_cpu(config_list->addr_offset)); in iwl_dbg_tlv_apply_config()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c14713 u16 addr_offset[] = { 0x186, 0x195, 0x2c5}; in wlc_phy_ipa_set_tx_digi_filts_nphy() local
14717 write_phy_reg(pi, addr_offset[type] + j, in wlc_phy_ipa_set_tx_digi_filts_nphy()
17045 u16 addr_offset = 0x2c5; in wlc_phy_extpa_set_tx_digi_filts_nphy() local
17048 write_phy_reg(pi, addr_offset + j, in wlc_phy_extpa_set_tx_digi_filts_nphy()