Home
last modified time | relevance | path

Searched refs:base_address (Results 1 – 25 of 85) sorted by relevance

1234

/linux-6.1.9/drivers/char/xilinx_hwicap/
Dbuffer_icap.c90 return in_be32(drvdata->base_address + XHI_STATUS_REG_OFFSET); in buffer_icap_get_status()
101 static inline u32 buffer_icap_get_bram(void __iomem *base_address, in buffer_icap_get_bram() argument
104 return in_be32(base_address + (offset << 2)); in buffer_icap_get_bram()
115 static inline bool buffer_icap_busy(void __iomem *base_address) in buffer_icap_busy() argument
117 u32 status = in_be32(base_address + XHI_STATUS_REG_OFFSET); in buffer_icap_busy()
129 static inline void buffer_icap_set_size(void __iomem *base_address, in buffer_icap_set_size() argument
132 out_be32(base_address + XHI_SIZE_REG_OFFSET, data); in buffer_icap_set_size()
143 static inline void buffer_icap_set_offset(void __iomem *base_address, in buffer_icap_set_offset() argument
146 out_be32(base_address + XHI_BRAM_OFFSET_REG_OFFSET, data); in buffer_icap_set_offset()
159 static inline void buffer_icap_set_rnc(void __iomem *base_address, in buffer_icap_set_rnc() argument
[all …]
Dfifo_icap.c97 out_be32(drvdata->base_address + XHI_WF_OFFSET, data); in fifo_icap_fifo_write()
108 u32 data = in_be32(drvdata->base_address + XHI_RF_OFFSET); in fifo_icap_fifo_read()
121 out_be32(drvdata->base_address + XHI_SZ_OFFSET, data); in fifo_icap_set_read_size()
130 out_be32(drvdata->base_address + XHI_CR_OFFSET, XHI_CR_WRITE_MASK); in fifo_icap_start_config()
140 out_be32(drvdata->base_address + XHI_CR_OFFSET, XHI_CR_READ_MASK); in fifo_icap_start_readback()
162 u32 status = in_be32(drvdata->base_address + XHI_SR_OFFSET); in fifo_icap_get_status()
173 u32 status = in_be32(drvdata->base_address + XHI_SR_OFFSET); in fifo_icap_busy()
186 return in_be32(drvdata->base_address + XHI_WFV_OFFSET); in fifo_icap_write_fifo_vacancy()
198 return in_be32(drvdata->base_address + XHI_RFO_OFFSET); in fifo_icap_read_fifo_occupancy()
364 reg_data = in_be32(drvdata->base_address + XHI_CR_OFFSET); in fifo_icap_reset()
[all …]
Dxilinx_hwicap.c664 drvdata->base_address = ioremap(drvdata->mem_start, drvdata->mem_size); in hwicap_setup()
665 if (!drvdata->base_address) { in hwicap_setup()
679 drvdata->base_address, in hwicap_setup()
694 iounmap(drvdata->base_address); in hwicap_setup()
735 iounmap(drvdata->base_address); in hwicap_remove()
/linux-6.1.9/drivers/misc/ibmasm/
Dlowlevel.h41 static inline int sp_interrupt_pending(void __iomem *base_address) in sp_interrupt_pending() argument
43 return SP_INTR_MASK & readl(base_address + INTR_STATUS_REGISTER); in sp_interrupt_pending()
46 static inline int uart_interrupt_pending(void __iomem *base_address) in uart_interrupt_pending() argument
48 return UART_INTR_MASK & readl(base_address + INTR_STATUS_REGISTER); in uart_interrupt_pending()
51 static inline void ibmasm_enable_interrupts(void __iomem *base_address, int mask) in ibmasm_enable_interrupts() argument
53 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; in ibmasm_enable_interrupts()
57 static inline void ibmasm_disable_interrupts(void __iomem *base_address, int mask) in ibmasm_disable_interrupts() argument
59 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; in ibmasm_disable_interrupts()
63 static inline void enable_sp_interrupts(void __iomem *base_address) in enable_sp_interrupts() argument
65 ibmasm_enable_interrupts(base_address, SP_INTR_MASK); in enable_sp_interrupts()
[all …]
Dlowlevel.c26 mfa = get_mfa_inbound(sp->base_address); in ibmasm_send_i2o_message()
33 message = get_i2o_message(sp->base_address, mfa); in ibmasm_send_i2o_message()
38 set_mfa_inbound(sp->base_address, mfa); in ibmasm_send_i2o_message()
47 void __iomem *base_address = sp->base_address; in ibmasm_interrupt_handler() local
50 if (!sp_interrupt_pending(base_address)) in ibmasm_interrupt_handler()
60 mfa = get_mfa_outbound(base_address); in ibmasm_interrupt_handler()
62 struct i2o_message *msg = get_i2o_message(base_address, mfa); in ibmasm_interrupt_handler()
67 set_mfa_outbound(base_address, mfa); in ibmasm_interrupt_handler()
Dmodule.c96 sp->base_address = pci_ioremap_bar(pdev, 0); in ibmasm_init_one()
97 if (!sp->base_address) { in ibmasm_init_one()
109 enable_sp_interrupts(sp->base_address); in ibmasm_init_one()
136 disable_sp_interrupts(sp->base_address); in ibmasm_init_one()
139 iounmap(sp->base_address); in ibmasm_init_one()
166 disable_sp_interrupts(sp->base_address); in ibmasm_remove_one()
171 iounmap(sp->base_address); in ibmasm_remove_one()
Duart.c25 iomem_base = sp->base_address + SCOUT_COM_B_BASE; in ibmasm_register_uart()
48 enable_uart_interrupts(sp->base_address); in ibmasm_register_uart()
56 disable_uart_interrupts(sp->base_address); in ibmasm_unregister_uart()
/linux-6.1.9/drivers/input/serio/
Dxilinx_ps2.c68 void __iomem *base_address; /* virt. address of control registers */ member
92 sr = in_be32(drvdata->base_address + XPS2_STATUS_OFFSET); in xps2_recv()
94 *byte = in_be32(drvdata->base_address + XPS2_RX_DATA_OFFSET); in xps2_recv()
112 intr_sr = in_be32(drvdata->base_address + XPS2_IPISR_OFFSET); in xps2_interrupt()
113 out_be32(drvdata->base_address + XPS2_IPISR_OFFSET, intr_sr); in xps2_interrupt()
165 sr = in_be32(drvdata->base_address + XPS2_STATUS_OFFSET); in sxps2_write()
167 out_be32(drvdata->base_address + XPS2_TX_DATA_OFFSET, c); in sxps2_write()
197 out_be32(drvdata->base_address + XPS2_GIER_OFFSET, XPS2_GIER_GIE_MASK); in sxps2_open()
198 out_be32(drvdata->base_address + XPS2_IPIER_OFFSET, XPS2_IPIXR_RX_ALL); in sxps2_open()
215 out_be32(drvdata->base_address + XPS2_GIER_OFFSET, 0x00); in sxps2_close()
[all …]
/linux-6.1.9/drivers/pinctrl/bcm/
Dpinctrl-ns2-mux.c572 void __iomem *base_address; in ns2_pinmux_set() local
607 base_address = pinctrl->base0; in ns2_pinmux_set()
611 base_address = pinctrl->base1; in ns2_pinmux_set()
619 val = readl(base_address + grp->mux.offset); in ns2_pinmux_set()
622 writel(val, (base_address + grp->mux.offset)); in ns2_pinmux_set()
658 void __iomem *base_address; in ns2_pin_set_enable() local
660 base_address = pinctrl->pinconf_base; in ns2_pin_set_enable()
662 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_enable()
668 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_enable()
704 void __iomem *base_address; in ns2_pin_set_slew() local
[all …]
Dpinctrl-nsp-mux.c389 void __iomem *base_address; in nsp_pinmux_set() local
423 base_address = pinctrl->base0; in nsp_pinmux_set()
427 base_address = pinctrl->base1; in nsp_pinmux_set()
431 base_address = pinctrl->base2; in nsp_pinmux_set()
439 val = readl(base_address); in nsp_pinmux_set()
442 writel(val, base_address); in nsp_pinmux_set()
Dpinctrl-nsp-gpio.c97 void __iomem *base_address; in nsp_set_bit() local
100 base_address = chip->io_ctrl; in nsp_set_bit()
102 base_address = chip->base; in nsp_set_bit()
104 val = readl(base_address + reg); in nsp_set_bit()
110 writel(val, base_address + reg); in nsp_set_bit()
/linux-6.1.9/arch/x86/math-emu/
Dget_address.c141 unsigned long base_address, limit, address, seg_top; in pm_address() local
163 base_address = seg_get_base(&descriptor); in pm_address()
164 address = base_address + offset; in pm_address()
167 limit += base_address - 1; in pm_address()
168 if (limit < base_address) in pm_address()
175 seg_top = base_address + (1 << 20); in pm_address()
176 if (seg_top < base_address) in pm_address()
184 (address > limit) || (address < base_address) ? 0 : in pm_address()
/linux-6.1.9/include/acpi/
Dactbl2.h471 u64 base_address; /* SMMU base address */ member
507 u64 base_address; /* SMMUv3 base address */ member
565 u64 base_address; member
636 u64 base_address; /* IOMMU control registers */ member
647 u64 base_address; /* IOMMU control registers */ member
1001 u64 base_address; member
1024 u64 base_address; member
1047 u64 base_address; member
1062 u64 base_address; member
1072 u64 base_address; member
[all …]
Dactbl3.h224 u64 base_address; member
541 u64 base_address; member
556 u64 base_address; member
/linux-6.1.9/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg-hw.c12 #define print_wrapper_reg(dev, base_address, reg_offset)\ argument
13 internal_print_wrapper_reg(dev, (base_address), #reg_offset,\
15 #define internal_print_wrapper_reg(dev, base_address, reg_name, reg_offset) {\ argument
17 val = readl((base_address) + (reg_offset));\
/linux-6.1.9/drivers/iio/adc/
Dad7606_par.c24 insw((unsigned long)st->base_address, buf, count); in ad7606_par16_read_block()
39 insb((unsigned long)st->base_address, buf, count * 2); in ad7606_par8_read_block()
Dad7606.h99 void __iomem *base_address; member
152 int ad7606_probe(struct device *dev, int irq, void __iomem *base_address,
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h3395 void *base_address; /**< CPU base address for ring's data */ member
3405 void *base_address; /**< CPU address for the ring's data */ member
3456 uint64_t volatile *dst = (uint64_t volatile *)((uint8_t *)(rb->base_address) + rb->wrpt); in dmub_rb_push_front()
3486 uint8_t *dst = (uint8_t *)(rb->base_address) + rb->wrpt; in dmub_rb_out_push_front()
3513 uint8_t *rb_cmd = (uint8_t *)(rb->base_address) + rb->rptr; in dmub_rb_front()
3553 uint8_t *rb_cmd = (uint8_t *)(rb->base_address) + rptr; in dmub_rb_peek_offset()
3574 …const uint64_t volatile *src = (const uint64_t volatile *)((uint8_t *)(rb->base_address) + rb->rpt… in dmub_rb_out_front()
3622 uint64_t *data = (uint64_t *)((uint8_t *)(rb->base_address) + rptr); in dmub_rb_flush_pending()
3647 rb->base_address = init_params->base_address; in dmub_rb_init()
3664 (uint8_t *)rb->base_address + rb->capacity - DMUB_RB_CMD_SIZE : in dmub_rb_get_return_data()
[all …]
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/common/
Dia_css_common_io_types.h22 unsigned int base_address; member
/linux-6.1.9/drivers/staging/board/
Dboard.c25 static bool find_by_address(u64 base_address) in find_by_address() argument
32 if (res.start == base_address) { in find_by_address()
/linux-6.1.9/drivers/acpi/arm64/
Diort.c809 u64 addr = rmr_desc->base_address, size = rmr_desc->length; in iort_rmr_alloc()
827 size = PAGE_ALIGN(size + offset_in_page(rmr_desc->base_address)); in iort_rmr_alloc()
830 rmr_desc->base_address, in iort_rmr_alloc()
831 rmr_desc->base_address + rmr_desc->length - 1, in iort_rmr_alloc()
852 u64 end, start = desc[i].base_address, length = desc[i].length; in iort_rmr_desc_check_overlap()
864 u64 e_start = desc[j].base_address; in iort_rmr_desc_check_overlap()
1508 res[num_res].start = smmu->base_address; in arm_smmu_v3_init_resources()
1509 res[num_res].end = smmu->base_address + in arm_smmu_v3_init_resources()
1580 smmu->base_address, in arm_smmu_v3_set_proximity()
1617 res[num_res].start = smmu->base_address; in arm_smmu_init_resources()
[all …]
/linux-6.1.9/arch/x86/include/asm/
Diommu.h26 u64 start = rmrr->base_address; in arch_rmrr_sanity_check()
Dmsi.h38 base_address : 12; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.c18 phys_addr_t base_address; member
119 sf_dev->bar_base_addr = table->base_address + (sf_index * table->sf_bar_length); in mlx5_sf_dev_add()
318 table->base_address = pci_resource_start(dev->pdev, 2); in mlx5_sf_dev_table_create()
/linux-6.1.9/drivers/gpu/drm/amd/include/
Ddiscovery.h100 uint32_t base_address[]; /* variable number of Addresses */ member
118 …uint32_t base_address[1]; /* Base Address list. Corresponds to the num_base_address … member

1234