Home
last modified time | relevance | path

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

12

/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.c661 drvdata->base_address = ioremap(drvdata->mem_start, drvdata->mem_size); in hwicap_setup()
662 if (!drvdata->base_address) { in hwicap_setup()
676 drvdata->base_address, in hwicap_setup()
691 iounmap(drvdata->base_address); in hwicap_setup()
732 iounmap(drvdata->base_address); in hwicap_remove()
Dxilinx_hwicap.h50 void __iomem *base_address;/* virt. address of the control registers */ member
/drivers/misc/ibmasm/
Dlowlevel.h55 static inline int sp_interrupt_pending(void __iomem *base_address) in sp_interrupt_pending() argument
57 return SP_INTR_MASK & readl(base_address + INTR_STATUS_REGISTER); in sp_interrupt_pending()
60 static inline int uart_interrupt_pending(void __iomem *base_address) in uart_interrupt_pending() argument
62 return UART_INTR_MASK & readl(base_address + INTR_STATUS_REGISTER); in uart_interrupt_pending()
65 static inline void ibmasm_enable_interrupts(void __iomem *base_address, int mask) in ibmasm_enable_interrupts() argument
67 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; in ibmasm_enable_interrupts()
71 static inline void ibmasm_disable_interrupts(void __iomem *base_address, int mask) in ibmasm_disable_interrupts() argument
73 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; in ibmasm_disable_interrupts()
77 static inline void enable_sp_interrupts(void __iomem *base_address) in enable_sp_interrupts() argument
79 ibmasm_enable_interrupts(base_address, SP_INTR_MASK); in enable_sp_interrupts()
[all …]
Dlowlevel.c40 mfa = get_mfa_inbound(sp->base_address); in ibmasm_send_i2o_message()
47 message = get_i2o_message(sp->base_address, mfa); in ibmasm_send_i2o_message()
52 set_mfa_inbound(sp->base_address, mfa); in ibmasm_send_i2o_message()
61 void __iomem *base_address = sp->base_address; in ibmasm_interrupt_handler() local
64 if (!sp_interrupt_pending(base_address)) in ibmasm_interrupt_handler()
74 mfa = get_mfa_outbound(base_address); in ibmasm_interrupt_handler()
76 struct i2o_message *msg = get_i2o_message(base_address, mfa); in ibmasm_interrupt_handler()
81 set_mfa_outbound(base_address, mfa); in ibmasm_interrupt_handler()
Dmodule.c108 sp->base_address = pci_ioremap_bar(pdev, 0); in ibmasm_init_one()
109 if (!sp->base_address) { in ibmasm_init_one()
121 enable_sp_interrupts(sp->base_address); in ibmasm_init_one()
148 disable_sp_interrupts(sp->base_address); in ibmasm_init_one()
151 iounmap(sp->base_address); in ibmasm_init_one()
178 disable_sp_interrupts(sp->base_address); in ibmasm_remove_one()
183 iounmap(sp->base_address); in ibmasm_remove_one()
Duart.c39 iomem_base = sp->base_address + SCOUT_COM_B_BASE; in ibmasm_register_uart()
62 enable_uart_interrupts(sp->base_address); in ibmasm_register_uart()
70 disable_uart_interrupts(sp->base_address); in ibmasm_unregister_uart()
Dibmasm.h153 void __iomem *base_address; member
Dremote.h88 #define mouse_addr(sp) (sp->base_address + CONDOR_MOUSE_DATA)
/drivers/input/serio/
Dxilinx_ps2.c74 void __iomem *base_address; /* virt. address of control registers */ member
98 sr = in_be32(drvdata->base_address + XPS2_STATUS_OFFSET); in xps2_recv()
100 *byte = in_be32(drvdata->base_address + XPS2_RX_DATA_OFFSET); in xps2_recv()
118 intr_sr = in_be32(drvdata->base_address + XPS2_IPISR_OFFSET); in xps2_interrupt()
119 out_be32(drvdata->base_address + XPS2_IPISR_OFFSET, intr_sr); in xps2_interrupt()
171 sr = in_be32(drvdata->base_address + XPS2_STATUS_OFFSET); in sxps2_write()
173 out_be32(drvdata->base_address + XPS2_TX_DATA_OFFSET, c); in sxps2_write()
203 out_be32(drvdata->base_address + XPS2_GIER_OFFSET, XPS2_GIER_GIE_MASK); in sxps2_open()
204 out_be32(drvdata->base_address + XPS2_IPIER_OFFSET, XPS2_IPIXR_RX_ALL); in sxps2_open()
221 out_be32(drvdata->base_address + XPS2_GIER_OFFSET, 0x00); in sxps2_close()
[all …]
/drivers/net/wireless/rsi/
Drsi_91x_sdio_ops.c90 u32 base_address; in rsi_copy_to_card() local
93 base_address = TA_LOAD_ADDRESS; in rsi_copy_to_card()
94 msb_address = base_address >> 16; in rsi_copy_to_card()
97 lsb_address = ((u16) base_address | RSI_SD_REQUEST_MASTER); in rsi_copy_to_card()
108 base_address += block_size; in rsi_copy_to_card()
109 if ((base_address >> 16) != msb_address) { in rsi_copy_to_card()
122 lsb_address = ((u16) base_address | RSI_SD_REQUEST_MASTER); in rsi_copy_to_card()
179 u32 base_address; in rsi_load_ta_instructions() local
188 base_address = TA_LOAD_ADDRESS; in rsi_load_ta_instructions()
189 msb_address = (base_address >> 16); in rsi_load_ta_instructions()
Drsi_91x_usb_ops.c43 u32 base_address; in rsi_copy_to_card() local
45 base_address = TA_LOAD_ADDRESS; in rsi_copy_to_card()
48 lsb_address = base_address; in rsi_copy_to_card()
59 base_address += block_size; in rsi_copy_to_card()
63 lsb_address = base_address; in rsi_copy_to_card()
/drivers/staging/iio/adc/
Dad7606.h73 void __iomem *base_address; member
91 void __iomem *base_address, unsigned id,
Dad7606_par.c25 insw((unsigned long)st->base_address, buf, count); in ad7606_par16_read_block()
41 insb((unsigned long)st->base_address, buf, count * 2); in ad7606_par8_read_block()
Dad7606_core.c466 void __iomem *base_address, in ad7606_probe() argument
483 st->base_address = base_address; in ad7606_probe()
/drivers/staging/board/
Dboard.c28 static bool find_by_address(u64 base_address) in find_by_address() argument
35 if (res.start == base_address) { in find_by_address()
/drivers/nfc/s3fwrn5/
Dfirmware.h70 __u32 base_address; member
Dfirmware.c203 args.base_address = base_addr; in s3fwrn5_fw_update_sector()
/drivers/acpi/
Dtables.c189 p->uid, p->base_address, in acpi_table_print_madt_entry()
201 p->gic_id, p->base_address, in acpi_table_print_madt_entry()
Dnuma.c163 (unsigned long)p->base_address, in acpi_table_print_srat_entry()
/drivers/media/dvb-frontends/
Dstb0899_drv.h43 u32 base_address; member
/drivers/iommu/
Ddmar.c472 if (drhd->reg_base_addr == rhsa->base_address) { in dmar_parse_one_rhsa()
484 rhsa->base_address, in dmar_parse_one_rhsa()
515 (unsigned long long)rmrr->base_address, in dmar_table_print_dmar_entry()
525 (unsigned long long)rhsa->base_address, in dmar_table_print_dmar_entry()
/drivers/of/
Daddress.c849 u64 base_address) in of_find_matching_node_by_address() argument
856 res.start == base_address) in of_find_matching_node_by_address()
/drivers/s390/block/
Ddasd_eckd.h223 __u8 base_address; member

12