/linux/drivers/char/xilinx_hwicap/ |
A D | buffer_icap.c | 104 return in_be32(base_address + (offset << 2)); in buffer_icap_get_bram() 177 out_be32(base_address + (offset << 2), data); in buffer_icap_set_bram() 192 void __iomem *base_address = drvdata->base_address; in buffer_icap_device_read() local 194 if (buffer_icap_busy(base_address)) in buffer_icap_device_read() 202 buffer_icap_set_offset(base_address, offset); in buffer_icap_device_read() 205 while (buffer_icap_busy(base_address)) { in buffer_icap_device_read() 226 void __iomem *base_address = drvdata->base_address; in buffer_icap_device_write() local 228 if (buffer_icap_busy(base_address)) in buffer_icap_device_write() 239 while (buffer_icap_busy(base_address)) { in buffer_icap_device_write() 274 void __iomem *base_address = drvdata->base_address; in buffer_icap_set_configuration() local [all …]
|
A D | fifo_icap.c | 97 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() 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() 366 out_be32(drvdata->base_address + XHI_CR_OFFSET, in fifo_icap_reset() 369 out_be32(drvdata->base_address + XHI_CR_OFFSET, in fifo_icap_reset() 385 reg_data = in_be32(drvdata->base_address + XHI_CR_OFFSET); in fifo_icap_flush_fifo() 387 out_be32(drvdata->base_address + XHI_CR_OFFSET, in fifo_icap_flush_fifo() [all …]
|
A D | xilinx_hwicap.c | 664 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/drivers/misc/ibmasm/ |
A D | lowlevel.h | 53 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; in ibmasm_enable_interrupts() 59 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; in ibmasm_disable_interrupts() 65 ibmasm_enable_interrupts(base_address, SP_INTR_MASK); in enable_sp_interrupts() 70 ibmasm_disable_interrupts(base_address, SP_INTR_MASK); in disable_sp_interrupts() 75 ibmasm_enable_interrupts(base_address, UART_INTR_MASK); in enable_uart_interrupts() 80 ibmasm_disable_interrupts(base_address, UART_INTR_MASK); in disable_uart_interrupts() 91 mfa = readl(base_address + OUTBOUND_QUEUE_PORT); in get_mfa_outbound() 100 writel(mfa, base_address + OUTBOUND_QUEUE_PORT); in set_mfa_outbound() 103 static inline u32 get_mfa_inbound(void __iomem *base_address) in get_mfa_inbound() argument 105 u32 mfa = readl(base_address + INBOUND_QUEUE_PORT); in get_mfa_inbound() [all …]
|
A D | lowlevel.c | 26 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()
|
A D | module.c | 96 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()
|
A D | uart.c | 25 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/drivers/input/serio/ |
A D | xilinx_ps2.c | 92 sr = in_be32(drvdata->base_address + XPS2_STATUS_OFFSET); in xps2_recv() 112 intr_sr = in_be32(drvdata->base_address + XPS2_IPISR_OFFSET); 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() 215 out_be32(drvdata->base_address + XPS2_GIER_OFFSET, 0x00); in sxps2_close() 216 out_be32(drvdata->base_address + XPS2_IPIER_OFFSET, 0x00); in sxps2_close() 278 drvdata->base_address = ioremap(phys_addr, remap_size); in xps2_of_probe() 279 if (drvdata->base_address == NULL) { in xps2_of_probe() 287 out_be32(drvdata->base_address + XPS2_IPIER_OFFSET, 0); in xps2_of_probe() 296 (unsigned long long)phys_addr, drvdata->base_address, in xps2_of_probe() [all …]
|
/linux/drivers/pinctrl/bcm/ |
A D | pinctrl-ns2-mux.c | 580 void __iomem *base_address; in ns2_pinmux_set() local 615 base_address = pinctrl->base0; in ns2_pinmux_set() 619 base_address = pinctrl->base1; in ns2_pinmux_set() 666 void __iomem *base_address; in ns2_pin_set_enable() local 668 base_address = pinctrl->pinconf_base; in ns2_pin_set_enable() 712 void __iomem *base_address; in ns2_pin_set_slew() local 714 base_address = pinctrl->pinconf_base; in ns2_pin_set_slew() 753 void __iomem *base_address; in ns2_pin_set_pull() local 755 base_address = pinctrl->pinconf_base; in ns2_pin_set_pull() 802 void __iomem *base_address; in ns2_pin_set_strength() local [all …]
|
A D | pinctrl-nsp-mux.c | 397 void __iomem *base_address; in nsp_pinmux_set() local 431 base_address = pinctrl->base0; in nsp_pinmux_set() 435 base_address = pinctrl->base1; in nsp_pinmux_set() 439 base_address = pinctrl->base2; in nsp_pinmux_set() 447 val = readl(base_address); in nsp_pinmux_set() 450 writel(val, base_address); in nsp_pinmux_set()
|
A D | pinctrl-nsp-gpio.c | 107 void __iomem *base_address; in nsp_set_bit() local 110 base_address = chip->io_ctrl; in nsp_set_bit() 112 base_address = chip->base; in nsp_set_bit() 114 val = readl(base_address + reg); in nsp_set_bit() 120 writel(val, base_address + reg); in nsp_set_bit()
|
/linux/arch/x86/math-emu/ |
A D | get_address.c | 141 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/include/acpi/ |
A D | actbl2.h | 441 u64 base_address; member 876 u64 base_address; member 899 u64 base_address; member 922 u64 base_address; member 937 u64 base_address; member 947 u64 base_address; member 957 u64 base_address; member 1699 u64 base_address; member 1716 u64 base_address; member 1733 u64 base_address; member [all …]
|
A D | actbl3.h | 224 u64 base_address; member 541 u64 base_address; member 556 u64 base_address; member
|
/linux/drivers/media/platform/imx-jpeg/ |
A D | mxc-jpeg-hw.c | 12 #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/arch/mips/pci/ |
A D | pci-vr41xx.c | 51 .base_address = PCI_MAILBOX_BASE_ADDRESS, 55 .base_address = PCI_TARGET_WINDOW1_BASE_ADDRESS, 226 val = MBADD(mailbox->base_address) | TYPE_32BITSPACE | in vr41xx_pciu_init() 233 val = PMBA(window->base_address) | TYPE_32BITSPACE | in vr41xx_pciu_init() 240 val = PMBA(window->base_address) | TYPE_32BITSPACE | in vr41xx_pciu_init()
|
/linux/drivers/gpu/drm/amd/display/dmub/inc/ |
A D | dmub_cmd.h | 2664 void *base_address; /**< CPU base address for ring's data */ member 2674 void *base_address; /**< CPU address for the ring's data */ member 2725 uint64_t volatile *dst = (uint64_t volatile *)(rb->base_address) + rb->wrpt / sizeof(uint64_t); in dmub_rb_push_front() 2755 uint8_t *dst = (uint8_t *)(rb->base_address) + rb->wrpt; in dmub_rb_out_push_front() 2782 uint8_t *rb_cmd = (uint8_t *)(rb->base_address) + rb->rptr; in dmub_rb_front() 2822 uint8_t *rb_cmd = (uint8_t *)(rb->base_address) + rptr; in dmub_rb_peek_offset() 2843 …const uint64_t volatile *src = (const uint64_t volatile *)(rb->base_address) + rb->rptr / sizeof(u… in dmub_rb_out_front() 2891 uint64_t volatile *data = (uint64_t volatile *)rb->base_address + rptr / sizeof(uint64_t); in dmub_rb_flush_pending() 2914 rb->base_address = init_params->base_address; in dmub_rb_init() 2931 (uint8_t *)rb->base_address + rb->capacity - DMUB_RB_CMD_SIZE : in dmub_rb_get_return_data() [all …]
|
/linux/arch/mips/include/asm/vr41xx/ |
A D | pci.h | 29 uint32_t base_address; member 33 uint32_t base_address; member
|
/linux/drivers/iio/adc/ |
A D | ad7606_par.c | 23 insw((unsigned long)st->base_address, buf, count); in ad7606_par16_read_block() 38 insb((unsigned long)st->base_address, buf, count * 2); in ad7606_par8_read_block()
|
A D | ad7606.h | 99 void __iomem *base_address; member 152 int ad7606_probe(struct device *dev, int irq, void __iomem *base_address,
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
A D | dev.c | 18 phys_addr_t base_address; member 118 sf_dev->bar_base_addr = table->base_address + (sf_index * table->sf_bar_length); in mlx5_sf_dev_add() 243 table->base_address = pci_resource_start(dev->pdev, 2); in mlx5_sf_dev_table_create()
|
/linux/drivers/staging/board/ |
A D | board.c | 25 static bool find_by_address(u64 base_address) in find_by_address() argument 32 if (res.start == base_address) { in find_by_address()
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/common/ |
A D | ia_css_common_io_types.h | 22 unsigned int base_address; member
|
/linux/arch/x86/include/asm/ |
A D | iommu.h | 18 u64 start = rmrr->base_address; in arch_rmrr_sanity_check()
|
A D | msi.h | 35 base_address : 12; member
|