Home
last modified time | relevance | path

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

12

/linux-6.12.1/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 …]
/linux-6.12.1/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-6.12.1/include/linux/
Dphy.h2073 unsigned int addr_offset) in phy_package_address() argument
2078 if (addr_offset >= PHY_MAX_ADDR - base_addr) in phy_package_address()
2084 return base_addr + addr_offset; in phy_package_address()
2088 unsigned int addr_offset, u32 regnum) in phy_package_read() argument
2090 int addr = phy_package_address(phydev, addr_offset); in phy_package_read()
2099 unsigned int addr_offset, u32 regnum) in __phy_package_read() argument
2101 int addr = phy_package_address(phydev, addr_offset); in __phy_package_read()
2110 unsigned int addr_offset, u32 regnum, in phy_package_write() argument
2113 int addr = phy_package_address(phydev, addr_offset); in phy_package_write()
2122 unsigned int addr_offset, u32 regnum, in __phy_package_write() argument
[all …]
Derrqueue.h22 u16 addr_offset; member
/linux-6.12.1/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()
/linux-6.12.1/drivers/net/phy/
Dphy-core.c671 unsigned int addr_offset, int devad, in __phy_package_read_mmd() argument
674 int addr = phy_package_address(phydev, addr_offset); in __phy_package_read_mmd()
703 unsigned int addr_offset, int devad, in phy_package_read_mmd() argument
706 int addr = phy_package_address(phydev, addr_offset); in phy_package_read_mmd()
741 unsigned int addr_offset, int devad, in __phy_package_write_mmd() argument
744 int addr = phy_package_address(phydev, addr_offset); in __phy_package_write_mmd()
774 unsigned int addr_offset, int devad, in phy_package_write_mmd() argument
777 int addr = phy_package_address(phydev, addr_offset); in phy_package_write_mmd()
/linux-6.12.1/net/rxrpc/
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-6.12.1/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()
/linux-6.12.1/arch/arm/kernel/
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-6.12.1/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()
525 .addr_offset = 0x00010000,
532 .addr_offset = 0x00010000,
539 .addr_offset = 0x00800000,
/linux-6.12.1/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()
/linux-6.12.1/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()
/linux-6.12.1/arch/arm/include/asm/
Dunwind.h21 unsigned long addr_offset; member
/linux-6.12.1/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-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dinput_system.c299 int addr_offset; in input_switch_cfg() local
305 for (addr_offset = 0; addr_offset < N_RX_CHANNEL_ID * 2; addr_offset++) { in input_switch_cfg()
306 assert(addr_offset * SIZEOF_HRT_REG + _REG_GP_IFMT_input_switch_lut_reg0 <= in input_switch_cfg()
309 _REG_GP_IFMT_input_switch_lut_reg0 + addr_offset * SIZEOF_HRT_REG, in input_switch_cfg()
310 cfg->hsync_data_reg[addr_offset]); in input_switch_cfg()
/linux-6.12.1/arch/x86/events/
Dperf_event.h791 int (*addr_offset)(int index, bool eventsel); member
1138 return x86_pmu.eventsel + (x86_pmu.addr_offset ? in x86_pmu_config_addr()
1139 x86_pmu.addr_offset(index, true) : index); in x86_pmu_config_addr()
1144 return x86_pmu.perfctr + (x86_pmu.addr_offset ? in x86_pmu_event_addr()
1145 x86_pmu.addr_offset(index, false) : index); in x86_pmu_event_addr()
1150 return x86_pmu.fixedctr + (x86_pmu.addr_offset ? in x86_pmu_fixed_ctr_addr()
1151 x86_pmu.addr_offset(index, false) : index); in x86_pmu_fixed_ctr_addr()
/linux-6.12.1/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
169 read_val = ioread32(fifo->base_addr + addr_offset); in sysfs_read()
/linux-6.12.1/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
/linux-6.12.1/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-6.12.1/sound/soc/codecs/aw88395/
Daw88395_device.c340 unsigned int addr_offset; in aw_dev_modify_dsp_cfg() local
346 addr_offset = (addr - AW88395_DSP_CFG_ADDR) * 2; in aw_dev_modify_dsp_cfg()
347 if (addr_offset > crc_dsp_cfg->len) { in aw_dev_modify_dsp_cfg()
349 addr_offset, crc_dsp_cfg->len); in aw_dev_modify_dsp_cfg()
355 memcpy(crc_dsp_cfg->data + addr_offset, (u8 *)&data1, 2); in aw_dev_modify_dsp_cfg()
359 memcpy(crc_dsp_cfg->data + addr_offset, (u8 *)&data2, 4); in aw_dev_modify_dsp_cfg()
/linux-6.12.1/tools/perf/util/
Ddb-export.h37 u64 addr_offset; /* addr offset from symbol start */ member
Ddwarf-aux.c1394 u64 addr_offset, u64 addr_type, bool is_pointer) in match_var_offset() argument
1399 if (addr_offset == addr_type) { in match_var_offset()
1405 if (addr_offset < addr_type) in match_var_offset()
1420 if (addr_offset >= addr_type + size) in match_var_offset()
1424 data->offset = addr_offset - addr_type; in match_var_offset()

12