Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/misc/
Dpch_phub.c489 unsigned int addr_offset; in pch_phub_bin_read() local
522 addr_offset = 0; in pch_phub_bin_read()
526 addr_offset = 0; in pch_phub_bin_read()
530 for (addr_offset = 0; addr_offset < count; addr_offset++) { in pch_phub_bin_read()
532 chip->pch_opt_rom_start_address + addr_offset + off, in pch_phub_bin_read()
533 &buf[addr_offset]); in pch_phub_bin_read()
542 return addr_offset; in pch_phub_bin_read()
557 unsigned int addr_offset; in pch_phub_bin_write() local
567 addr_offset = 0; in pch_phub_bin_write()
571 addr_offset = 0; in pch_phub_bin_write()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/can/m_can/
Dm_can.h66 u32 (*read_fifo)(struct m_can_classdev *cdev, int addr_offset);
67 int (*write_fifo)(struct m_can_classdev *cdev, int addr_offset,
Dtcan4x5x.c243 static u32 tcan4x5x_read_fifo(struct m_can_classdev *cdev, int addr_offset) in tcan4x5x_read_fifo() argument
248 regmap_read(priv->regmap, priv->mram_start + addr_offset, &val); in tcan4x5x_read_fifo()
261 int addr_offset, int val) in tcan4x5x_write_fifo() argument
265 return regmap_write(priv->regmap, priv->mram_start + addr_offset, val); in tcan4x5x_write_fifo()
Dm_can.c337 u32 addr_offset = cdev->mcfg[MRAM_RXF0].off + fgi * RXF0_ELEMENT_SIZE + in m_can_fifo_read() local
340 return cdev->ops->read_fifo(cdev, addr_offset); in m_can_fifo_read()
346 u32 addr_offset = cdev->mcfg[MRAM_TXB].off + fpi * TXB_ELEMENT_SIZE + in m_can_fifo_write() local
349 cdev->ops->write_fifo(cdev, addr_offset, val); in m_can_fifo_write()
360 u32 addr_offset = cdev->mcfg[MRAM_TXE].off + fgi * TXE_ELEMENT_SIZE + in m_can_txe_fifo_read() local
363 return cdev->ops->read_fifo(cdev, addr_offset); in m_can_txe_fifo_read()
/Linux-v5.4/drivers/spi/
Dspi-fsl-qspi.c616 u32 addr_offset = 0; in fsl_qspi_exec_op() local
628 addr_offset = q->memmap_phy; in fsl_qspi_exec_op()
631 q->selected * q->devtype_data->ahb_buf_size + addr_offset, in fsl_qspi_exec_op()
689 u32 reg, addr_offset = 0; in fsl_qspi_default_setup() local
732 addr_offset = q->memmap_phy; in fsl_qspi_default_setup()
741 qspi_writel(q, q->devtype_data->ahb_buf_size + addr_offset, in fsl_qspi_default_setup()
743 qspi_writel(q, q->devtype_data->ahb_buf_size * 2 + addr_offset, in fsl_qspi_default_setup()
745 qspi_writel(q, q->devtype_data->ahb_buf_size * 3 + addr_offset, in fsl_qspi_default_setup()
747 qspi_writel(q, q->devtype_data->ahb_buf_size * 4 + addr_offset, in fsl_qspi_default_setup()
/Linux-v5.4/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c35 unsigned long addr_offset; member
178 writeb(cmd, cs->base + nfc->soc_info->addr_offset); in ingenic_nand_cmd_ctrl()
490 .addr_offset = 0x00010000,
497 .addr_offset = 0x00010000,
504 .addr_offset = 0x00800000,
/Linux-v5.4/net/rxrpc/
Dpeer_event.c53 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_icmp_rcu()
59 skb_network_header(skb) + serr->addr_offset + 12, in rxrpc_lookup_peer_icmp_rcu()
76 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_icmp_rcu()
85 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_icmp_rcu()
/Linux-v5.4/include/linux/
Derrqueue.h22 u16 addr_offset; member
/Linux-v5.4/drivers/ntb/
Dmsi.c211 msi_desc->addr_offset = addr - ntb->msi->base_addr; in ntb_msi_set_desc()
371 idx = desc->addr_offset / sizeof(*ntb->msi->peer_mws[peer]); in ntb_msi_peer_trigger()
406 *msi_addr = mw_phys_addr + desc->addr_offset; in ntb_msi_peer_addr()
/Linux-v5.4/drivers/input/rmi4/
Drmi_i2c.c130 u8 addr_offset = addr & 0xff; in rmi_i2c_read_block() local
135 .len = sizeof(addr_offset), in rmi_i2c_read_block()
136 .buf = &addr_offset, in rmi_i2c_read_block()
/Linux-v5.4/arch/arm/include/asm/
Dunwind.h21 unsigned long addr_offset; member
/Linux-v5.4/arch/x86/events/
Dperf_event.h583 int (*addr_offset)(int index, bool eventsel); member
800 return x86_pmu.eventsel + (x86_pmu.addr_offset ? in x86_pmu_config_addr()
801 x86_pmu.addr_offset(index, true) : index); in x86_pmu_config_addr()
806 return x86_pmu.perfctr + (x86_pmu.addr_offset ? in x86_pmu_event_addr()
807 x86_pmu.addr_offset(index, false) : index); in x86_pmu_event_addr()
/Linux-v5.4/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()
/Linux-v5.4/arch/arm/kernel/
Dunwind.c134 mid->addr_offset) in search_index()
144 if (likely(start->addr_offset <= addr_prel31)) in search_index()
159 if (mid->addr_offset >= 0x40000000) in unwind_find_origin()
/Linux-v5.4/drivers/net/ethernet/amd/
Dni65.c181 short addr_offset; member
192 .addr_offset = 0x8,
203 .addr_offset = 0x0,
214 .addr_offset = 0x0,
438 if(inb(ioaddr+cards[i].addr_offset+j) != cards[i].vendor_id[j]) in ni65_probe1()
447 dev->dev_addr[j] = inb(ioaddr+cards[i].addr_offset+j); in ni65_probe1()
/Linux-v5.4/drivers/net/ethernet/alacritech/
Dslic.h480 unsigned int addr_offset[SLIC_NUM_STAT_DESC_ARRAYS]; member
527 unsigned int addr_offset; member
Dslicoss.c442 buff->addr_offset = offset; in slic_refill_rx_queue()
571 buff->addr_offset + sizeof(*desc), in slic_handle_receive()
579 buff->addr_offset + in slic_handle_receive()
808 stq->addr_offset[i] = offset; in slic_init_stat_queue()
818 stq->descs[i] - stq->addr_offset[i], in slic_init_stat_queue()
819 stq->paddr[i] - stq->addr_offset[i]); in slic_init_stat_queue()
832 stq->descs[i] - stq->addr_offset[i], in slic_free_stat_queue()
833 stq->paddr[i] - stq->addr_offset[i]); in slic_free_stat_queue()
/Linux-v5.4/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
/Linux-v5.4/drivers/staging/axis-fifo/
Daxis-fifo.c155 size_t count, unsigned int addr_offset) in sysfs_write() argument
165 iowrite32(tmp, fifo->base_addr + addr_offset); in sysfs_write()
171 unsigned int addr_offset) in sysfs_read() argument
178 read_val = ioread32(fifo->base_addr + addr_offset); in sysfs_read()
/Linux-v5.4/tools/perf/util/
Ddb-export.h37 u64 addr_offset; /* addr offset from symbol start */ member
/Linux-v5.4/sound/soc/codecs/
Dadau17x1.c983 unsigned int addr_offset; in adau17x1_safeload() local
1007 addr_offset = addr - 1; in adau17x1_safeload()
1008 put_unaligned_be32(addr_offset, buf); in adau17x1_safeload()
/Linux-v5.4/net/ipv6/
Ddatagram.c311 serr->addr_offset = (u8 *)&(((struct ipv6hdr *)(icmph + 1))->daddr) - in ipv6_icmp_error()
352 serr->addr_offset = (u8 *)&iph->daddr - skb_network_header(skb); in ipv6_local_error()
470 const struct ipv6hdr *ip6h = container_of((struct in6_addr *)(nh + serr->addr_offset), in ipv6_recv_error()
479 ipv6_addr_set_v4mapped(*(__be32 *)(nh + serr->addr_offset), in ipv6_recv_error()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h334 unsigned int addr_offset; member

12