Home
last modified time | relevance | path

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

12

/linux/drivers/misc/
A 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()
536 &buf[addr_offset]); in pch_phub_bin_read()
545 return addr_offset; in pch_phub_bin_read()
570 addr_offset = 0; in pch_phub_bin_write()
574 addr_offset = 0; in pch_phub_bin_write()
584 for (addr_offset = 0; addr_offset < count; addr_offset++) { in pch_phub_bin_write()
590 buf[addr_offset]); in pch_phub_bin_write()
[all …]
/linux/drivers/nvmem/
A 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/drivers/spi/
A 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()
/linux/drivers/net/can/m_can/
A Dm_can.h68 int (*read_fifo)(struct m_can_classdev *cdev, int addr_offset, void *val, size_t val_count);
69 int (*write_fifo)(struct m_can_classdev *cdev, int addr_offset,
A Dtcan4x5x-core.c156 static int tcan4x5x_read_fifo(struct m_can_classdev *cdev, int addr_offset, in tcan4x5x_read_fifo() argument
161 return regmap_bulk_read(priv->regmap, TCAN4X5X_MRAM_START + addr_offset, val, val_count); in tcan4x5x_read_fifo()
172 int addr_offset, const void *val, size_t val_count) in tcan4x5x_write_fifo() argument
176 return regmap_bulk_write(priv->regmap, TCAN4X5X_MRAM_START + addr_offset, val, val_count); in tcan4x5x_write_fifo()
/linux/net/rxrpc/
A 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/drivers/mtd/nand/raw/ingenic/
A 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,
/linux/drivers/input/rmi4/
A 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()
/linux/drivers/ntb/
A Dmsi.c211 msi_desc->addr_offset = addr - ntb->msi->base_addr; in ntb_msi_set_desc()
369 idx = desc->addr_offset / sizeof(*ntb->msi->peer_mws[peer]); in ntb_msi_peer_trigger()
404 *msi_addr = mw_phys_addr + desc->addr_offset; in ntb_msi_peer_addr()
/linux/include/linux/
A Derrqueue.h22 u16 addr_offset; member
/linux/drivers/ntb/test/
A 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/arch/arm/include/asm/
A Dunwind.h21 unsigned long addr_offset; member
/linux/arch/arm/kernel/
A Dunwind.c131 mid->addr_offset) in search_index()
141 if (likely(start->addr_offset <= addr_prel31)) in search_index()
156 if (mid->addr_offset >= 0x40000000) in unwind_find_origin()
/linux/drivers/staging/axis-fifo/
A Daxis-fifo.c150 size_t count, unsigned int addr_offset) in sysfs_write() argument
160 iowrite32(tmp, fifo->base_addr + addr_offset); in sysfs_write()
166 unsigned int addr_offset) in sysfs_read() argument
173 read_val = ioread32(fifo->base_addr + addr_offset); in sysfs_read()
/linux/drivers/net/ethernet/amd/
A 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/arch/x86/events/
A Dperf_event.h738 int (*addr_offset)(int index, bool eventsel); member
1066 return x86_pmu.eventsel + (x86_pmu.addr_offset ? in x86_pmu_config_addr()
1067 x86_pmu.addr_offset(index, true) : index); in x86_pmu_config_addr()
1072 return x86_pmu.perfctr + (x86_pmu.addr_offset ? in x86_pmu_event_addr()
1073 x86_pmu.addr_offset(index, false) : index); in x86_pmu_event_addr()
/linux/drivers/net/ethernet/alacritech/
A 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()
A Dslic.h480 unsigned int addr_offset[SLIC_NUM_STAT_DESC_ARRAYS]; member
527 unsigned int addr_offset; member
/linux/drivers/net/ethernet/huawei/hinic/
A 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()
A Dhinic_hw_qp_ctxt.h151 u32 addr_offset; member
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
A 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()
/linux/net/ipv6/
A 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()
/linux/sound/soc/codecs/
A Dadau17x1.c992 unsigned int addr_offset; in adau17x1_safeload() local
1016 addr_offset = addr - 1; in adau17x1_safeload()
1017 put_unaligned_be32(addr_offset, buf); in adau17x1_safeload()
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
A Ddbg-tlv.h272 __le32 addr_offset; member
/linux/tools/perf/util/
A Ddb-export.h37 u64 addr_offset; /* addr offset from symbol start */ member

Completed in 91 milliseconds

12