Home
last modified time | relevance | path

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

12

/linux/drivers/misc/
H 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()
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 …]
/linux/drivers/nvmem/
H 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/include/linux/
H A Dphy.h2083 unsigned int addr_offset) in phy_package_address() argument
2088 if (addr_offset >= PHY_MAX_ADDR - base_addr) in phy_package_address()
2094 return base_addr + addr_offset; in phy_package_address()
2098 unsigned int addr_offset, u32 regnum) in phy_package_read() argument
2100 int addr = phy_package_address(phydev, addr_offset); in phy_package_read()
2109 unsigned int addr_offset, u32 regnum) in __phy_package_read() argument
2111 int addr = phy_package_address(phydev, addr_offset); in __phy_package_read()
2120 unsigned int addr_offset, u32 regnum, in phy_package_write() argument
2123 int addr = phy_package_address(phydev, addr_offset); in phy_package_write()
2132 unsigned int addr_offset, u32 regnum, in __phy_package_write() argument
[all …]
H A Derrqueue.h22 u16 addr_offset; member
/linux/net/rxrpc/
H A Dpeer_event.c52 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu()
57 skb_network_header(skb) + serr->addr_offset + 12, in rxrpc_lookup_peer_local_rcu()
73 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu()
81 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu()
/linux/drivers/net/can/m_can/
H A 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,
H A 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()
H A Dm_can.c345 u32 addr_offset = cdev->mcfg[MRAM_RXF0].off + fgi * RXF0_ELEMENT_SIZE + in m_can_fifo_read() local
351 return cdev->ops->read_fifo(cdev, addr_offset, val, val_count); in m_can_fifo_read()
358 u32 addr_offset = cdev->mcfg[MRAM_TXB].off + fpi * TXB_ELEMENT_SIZE + in m_can_fifo_write() local
364 return cdev->ops->write_fifo(cdev, addr_offset, val, val_count); in m_can_fifo_write()
376 u32 addr_offset = cdev->mcfg[MRAM_TXE].off + fgi * TXE_ELEMENT_SIZE + in m_can_txe_fifo_read() local
379 return cdev->ops->read_fifo(cdev, addr_offset, val, 1); in m_can_txe_fifo_read()
/linux/arch/arm/kernel/
H A Dunwind.c135 mid->addr_offset) in search_index()
145 if (likely(start->addr_offset <= addr_prel31)) in search_index()
160 if (mid->addr_offset >= 0x40000000) in unwind_find_origin()
445 else if (frame->pc == prel31_to_addr(&idx->addr_offset)) { in unwind_frame()
485 if (prel31_to_addr(&idx->addr_offset) == (u32)&call_with_stack) { in unwind_frame()
/linux/drivers/mtd/nand/raw/ingenic/
H A Dingenic_nand_drv.c31 unsigned long addr_offset; member
273 cs->base + nfc->soc_info->addr_offset); in ingenic_nand_exec_instr()
525 .addr_offset = 0x00010000,
532 .addr_offset = 0x00010000,
539 .addr_offset = 0x00800000,
/linux/drivers/ntb/
H A 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()
/linux/drivers/input/rmi4/
H 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/arch/arm/include/asm/
H A Dunwind.h21 unsigned long addr_offset; member
/linux/drivers/ntb/test/
H 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/drivers/net/ethernet/alacritech/
H 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()
H A Dslic.h478 unsigned int addr_offset[SLIC_NUM_STAT_DESC_ARRAYS]; member
525 unsigned int addr_offset; member
/linux/drivers/net/ethernet/huawei/hinic/
H 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()
H A Dhinic_hw_qp_ctxt.h151 u32 addr_offset; member
/linux/tools/perf/util/
H A Ddb-export.h37 u64 addr_offset; /* addr offset from symbol start */ member
H A Ddwarf-aux.c1391 u64 addr_offset, u64 addr_type, bool is_pointer)
1396 if (addr_offset == addr_type) { in match_var_offset()
1402 if (addr_offset < addr_type) in match_var_offset()
1417 if (addr_offset >= addr_type + size) in match_var_offset()
1421 data->offset = addr_offset - addr_type; in match_var_offset()
1394 match_var_offset(Dwarf_Die * die_mem,struct find_var_data * data,u64 addr_offset,u64 addr_type,bool is_pointer) match_var_offset() argument
/linux/net/ipv6/
H A Ddatagram.c329 serr->addr_offset = (u8 *)&(((struct ipv6hdr *)(icmph + 1))->daddr) - in ipv6_icmp_error()
374 serr->addr_offset = (u8 *)&iph->daddr - skb_network_header(skb); in ipv6_local_error()
492 const struct ipv6hdr *ip6h = container_of((struct in6_addr *)(nh + serr->addr_offset), in ipv6_recv_error()
501 ipv6_addr_set_v4mapped(*(__be32 *)(nh + serr->addr_offset), in ipv6_recv_error()
/linux/sound/soc/codecs/
H A Dadau17x1.c1003 unsigned int addr_offset; in adau17x1_safeload() local
1027 addr_offset = addr - 1; in adau17x1_safeload()
1028 put_unaligned_be32(addr_offset, buf); in adau17x1_safeload()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mes.c909 uint32_t addr_offset = 0; in amdgpu_mes_rreg() local
913 if (amdgpu_device_wb_get(adev, &addr_offset)) { in amdgpu_mes_rreg()
917 read_val_gpu_addr = adev->wb.gpu_addr + (addr_offset * 4); in amdgpu_mes_rreg()
918 read_val_ptr = (uint32_t *)&adev->wb.wb[addr_offset]; in amdgpu_mes_rreg()
935 if (addr_offset) in amdgpu_mes_rreg()
936 amdgpu_device_wb_free(adev, addr_offset); in amdgpu_mes_rreg()
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Ddbg-tlv.h309 __le32 addr_offset; member
/linux/drivers/crypto/intel/qat/qat_common/
H A Dicp_qat_uclo.h331 unsigned int addr_offset; member

12