Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c244 static u32 tcan4x5x_read_fifo(struct m_can_classdev *cdev, int addr_offset) in tcan4x5x_read_fifo() argument
249 regmap_read(priv->regmap, priv->mram_start + addr_offset, &val); in tcan4x5x_read_fifo()
262 int addr_offset, int val) in tcan4x5x_write_fifo() argument
266 return regmap_write(priv->regmap, priv->mram_start + addr_offset, val); 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
341 return cdev->ops->read_fifo(cdev, addr_offset); in m_can_fifo_read()
347 u32 addr_offset = cdev->mcfg[MRAM_TXB].off + fpi * TXB_ELEMENT_SIZE + in m_can_fifo_write() local
350 cdev->ops->write_fifo(cdev, addr_offset, val); in m_can_fifo_write()
361 u32 addr_offset = cdev->mcfg[MRAM_TXE].off + fgi * TXE_ELEMENT_SIZE + in m_can_txe_fifo_read() local
364 return cdev->ops->read_fifo(cdev, addr_offset); in m_can_txe_fifo_read()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-fsl-qspi.c646 u32 addr_offset = 0; in fsl_qspi_exec_op() local
659 addr_offset = q->memmap_phy; in fsl_qspi_exec_op()
662 q->selected * q->devtype_data->ahb_buf_size + addr_offset, in fsl_qspi_exec_op()
724 u32 reg, addr_offset = 0; in fsl_qspi_default_setup() local
777 addr_offset = q->memmap_phy; in fsl_qspi_default_setup()
786 qspi_writel(q, q->devtype_data->ahb_buf_size + addr_offset, in fsl_qspi_default_setup()
788 qspi_writel(q, q->devtype_data->ahb_buf_size * 2 + addr_offset, in fsl_qspi_default_setup()
790 qspi_writel(q, q->devtype_data->ahb_buf_size * 3 + addr_offset, in fsl_qspi_default_setup()
792 qspi_writel(q, q->devtype_data->ahb_buf_size * 4 + addr_offset, in fsl_qspi_default_setup()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c32 unsigned long addr_offset; member
270 cs->base + nfc->soc_info->addr_offset); in ingenic_nand_exec_instr()
536 .addr_offset = 0x00010000,
542 .addr_offset = 0x00010000,
549 .addr_offset = 0x00800000,
/kernel/linux/linux-5.10/include/linux/
Derrqueue.h22 u16 addr_offset; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dunwind.h21 unsigned long addr_offset; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/events/
Dperf_event.h651 int (*addr_offset)(int index, bool eventsel); member
946 return x86_pmu.eventsel + (x86_pmu.addr_offset ? in x86_pmu_config_addr()
947 x86_pmu.addr_offset(index, true) : index); in x86_pmu_config_addr()
952 return x86_pmu.perfctr + (x86_pmu.addr_offset ? in x86_pmu_event_addr()
953 x86_pmu.addr_offset(index, false) : index); in x86_pmu_event_addr()
/kernel/linux/linux-5.10/drivers/staging/axis-fifo/
Daxis-fifo.c154 size_t count, unsigned int addr_offset) in sysfs_write() argument
164 iowrite32(tmp, fifo->base_addr + addr_offset); in sysfs_write()
170 unsigned int addr_offset) in sysfs_read() argument
177 read_val = ioread32(fifo->base_addr + addr_offset); in sysfs_read()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/alacritech/
Dslic.h480 unsigned int addr_offset[SLIC_NUM_STAT_DESC_ARRAYS]; member
527 unsigned int addr_offset; member
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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dinput_system.c771 int addr_offset; in input_switch_cfg() local
777 for (addr_offset = 0; addr_offset < N_RX_CHANNEL_ID * 2; addr_offset++) { in input_switch_cfg()
778 assert(addr_offset * SIZEOF_HRT_REG + _REG_GP_IFMT_input_switch_lut_reg0 <= in input_switch_cfg()
781 _REG_GP_IFMT_input_switch_lut_reg0 + addr_offset * SIZEOF_HRT_REG, in input_switch_cfg()
782 cfg->hsync_data_reg[addr_offset]); in input_switch_cfg()
/kernel/linux/linux-5.10/tools/perf/util/
Ddb-export.h37 u64 addr_offset; /* addr offset from symbol start */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ipv6/
Ddatagram.c323 serr->addr_offset = (u8 *)&(((struct ipv6hdr *)(icmph + 1))->daddr) - in ipv6_icmp_error()
368 serr->addr_offset = (u8 *)&iph->daddr - skb_network_header(skb); in ipv6_local_error()
486 const struct ipv6hdr *ip6h = container_of((struct in6_addr *)(nh + serr->addr_offset), in ipv6_recv_error()
495 ipv6_addr_set_v4mapped(*(__be32 *)(nh + serr->addr_offset), in ipv6_recv_error()

12