Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 2578) sorted by relevance

12345678910>>...104

/drivers/media/pci/cx18/
Dcx18-io.h38 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) in cx18_raw_readl()
44 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry()
49 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel()
60 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl()
66 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry()
71 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel()
82 void cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, in cx18_writel_expect()
98 static inline u16 cx18_readw(struct cx18 *cx, const void __iomem *addr) in cx18_readw()
104 void cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew_noretry()
109 static inline void cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew()
[all …]
/drivers/net/ethernet/wiznet/
Dw5100-spi.c26 static int w5100_spi_read(struct net_device *ndev, u32 addr) in w5100_spi_read()
38 static int w5100_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5100_spi_write()
46 static int w5100_spi_read16(struct net_device *ndev, u32 addr) in w5100_spi_read16()
60 static int w5100_spi_write16(struct net_device *ndev, u32 addr, u16 data) in w5100_spi_write16()
71 static int w5100_spi_readbulk(struct net_device *ndev, u32 addr, u8 *buf, in w5100_spi_readbulk()
87 static int w5100_spi_writebulk(struct net_device *ndev, u32 addr, const u8 *buf, in w5100_spi_writebulk()
139 static int w5200_spi_read(struct net_device *ndev, u32 addr) in w5200_spi_read()
151 static int w5200_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5200_spi_write()
159 static int w5200_spi_read16(struct net_device *ndev, u32 addr) in w5200_spi_read16()
171 static int w5200_spi_write16(struct net_device *ndev, u32 addr, u16 data) in w5200_spi_write16()
[all …]
Dw5100.c206 static inline int w5100_read_direct(struct net_device *ndev, u32 addr) in w5100_read_direct()
211 static inline int __w5100_write_direct(struct net_device *ndev, u32 addr, in __w5100_write_direct()
219 static inline int w5100_write_direct(struct net_device *ndev, u32 addr, u8 data) in w5100_write_direct()
227 static int w5100_read16_direct(struct net_device *ndev, u32 addr) in w5100_read16_direct()
235 static int w5100_write16_direct(struct net_device *ndev, u32 addr, u16 data) in w5100_write16_direct()
244 static int w5100_readbulk_direct(struct net_device *ndev, u32 addr, u8 *buf, in w5100_readbulk_direct()
255 static int w5100_writebulk_direct(struct net_device *ndev, u32 addr, in w5100_writebulk_direct()
309 static int w5100_read_indirect(struct net_device *ndev, u32 addr) in w5100_read_indirect()
323 static int w5100_write_indirect(struct net_device *ndev, u32 addr, u8 data) in w5100_write_indirect()
336 static int w5100_read16_indirect(struct net_device *ndev, u32 addr) in w5100_read16_indirect()
[all …]
/drivers/staging/rtl8712/
Drtl8712_io.c37 u8 r8712_read8(struct _adapter *adapter, u32 addr) in r8712_read8()
44 u16 r8712_read16(struct _adapter *adapter, u32 addr) in r8712_read16()
51 u32 r8712_read32(struct _adapter *adapter, u32 addr) in r8712_read32()
58 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val) in r8712_write8()
65 void r8712_write16(struct _adapter *adapter, u32 addr, u16 val) in r8712_write16()
72 void r8712_write32(struct _adapter *adapter, u32 addr, u32 val) in r8712_write32()
79 void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_mem()
89 void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_mem()
96 void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_port()
106 void r8712_write_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_port()
/drivers/mmc/core/
Dsdio_io.c304 unsigned addr, int incr_addr, u8 *buf, unsigned size) in sdio_io_rw_ext_helper()
368 u8 sdio_readb(struct sdio_func *func, unsigned int addr, int *err_ret) in sdio_readb()
403 unsigned char sdio_readb_ext(struct sdio_func *func, unsigned int addr, in sdio_readb_ext()
436 void sdio_writeb(struct sdio_func *func, u8 b, unsigned int addr, int *err_ret) in sdio_writeb()
465 unsigned int addr, int *err_ret) in sdio_writeb_readb()
492 unsigned int addr, int count) in sdio_memcpy_fromio()
508 int sdio_memcpy_toio(struct sdio_func *func, unsigned int addr, in sdio_memcpy_toio()
525 int sdio_readsb(struct sdio_func *func, void *dst, unsigned int addr, in sdio_readsb()
542 int sdio_writesb(struct sdio_func *func, unsigned int addr, void *src, in sdio_writesb()
559 u16 sdio_readw(struct sdio_func *func, unsigned int addr, int *err_ret) in sdio_readw()
[all …]
/drivers/net/wireless/ti/wl1251/
Dio.c41 static int wl1251_translate_reg_addr(struct wl1251 *wl, int addr) in wl1251_translate_reg_addr()
58 static int wl1251_translate_mem_addr(struct wl1251 *wl, int addr) in wl1251_translate_mem_addr()
63 void wl1251_mem_read(struct wl1251 *wl, int addr, void *buf, size_t len) in wl1251_mem_read()
72 void wl1251_mem_write(struct wl1251 *wl, int addr, void *buf, size_t len) in wl1251_mem_write()
81 u32 wl1251_mem_read32(struct wl1251 *wl, int addr) in wl1251_mem_read32()
86 void wl1251_mem_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_mem_write32()
91 u32 wl1251_reg_read32(struct wl1251 *wl, int addr) in wl1251_reg_read32()
96 void wl1251_reg_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_reg_write32()
/drivers/sh/intc/
Daccess.c75 static unsigned long test_8(unsigned long addr, unsigned long h, in test_8()
82 static unsigned long test_16(unsigned long addr, unsigned long h, in test_16()
89 static unsigned long test_32(unsigned long addr, unsigned long h, in test_32()
96 static unsigned long write_8(unsigned long addr, unsigned long h, in write_8()
105 static unsigned long write_16(unsigned long addr, unsigned long h, in write_16()
114 static unsigned long write_32(unsigned long addr, unsigned long h, in write_32()
123 static unsigned long modify_8(unsigned long addr, unsigned long h, in modify_8()
137 static unsigned long modify_16(unsigned long addr, unsigned long h, in modify_16()
151 static unsigned long modify_32(unsigned long addr, unsigned long h, in modify_32()
165 static unsigned long intc_mode_field(unsigned long addr, in intc_mode_field()
[all …]
/drivers/net/ethernet/8390/
Dmcf8390.c50 static inline u32 NE_PTR(u32 addr) in NE_PTR()
57 static inline u32 NE_DATA_PTR(u32 addr) in NE_DATA_PTR()
62 void ei_outb(u32 val, u32 addr) in ei_outb()
71 u8 ei_inb(u32 addr) in ei_inb()
80 void ei_insb(u32 addr, void *vbuf, int len) in ei_insb()
93 void ei_insw(u32 addr, void *vbuf, int len) in ei_insw()
106 void ei_outsb(u32 addr, const void *vbuf, int len) in ei_outsb()
119 void ei_outsw(u32 addr, const void *vbuf, int len) in ei_outsw()
155 u32 addr = dev->base_addr; in mcf8390_reset_8390() local
196 u32 addr = dev->base_addr; in mcf8390_get_8390_hdr() local
[all …]
/drivers/media/usb/em28xx/
Dem28xx-i2c.c50 static int em2800_i2c_send_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len) in em2800_i2c_send_bytes()
104 static int em2800_i2c_recv_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len) in em2800_i2c_recv_bytes()
165 static int em2800_i2c_check_for_device(struct em28xx *dev, u8 addr) in em2800_i2c_check_for_device()
179 static int em28xx_i2c_send_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em28xx_i2c_send_bytes()
247 static int em28xx_i2c_recv_bytes(struct em28xx *dev, u16 addr, u8 *buf, u16 len) in em28xx_i2c_recv_bytes()
307 static int em28xx_i2c_check_for_device(struct em28xx *dev, u16 addr) in em28xx_i2c_check_for_device()
322 static int em25xx_bus_B_send_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em25xx_bus_B_send_bytes()
374 static int em25xx_bus_B_recv_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em25xx_bus_B_recv_bytes()
429 static int em25xx_bus_B_check_for_device(struct em28xx *dev, u16 addr) in em25xx_bus_B_check_for_device()
445 static inline int i2c_check_for_device(struct em28xx_i2c_bus *i2c_bus, u16 addr) in i2c_check_for_device()
[all …]
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c31 #define MN_WIN(addr) (((addr & 0x1fc0000) >> 1) | ((addr >> 25) & 0x3ff)) argument
32 #define OCM_WIN(addr) (((addr & 0x1ff0000) >> 1) | ((addr >> 25) & 0x3ff)) argument
33 #define MS_WIN(addr) (addr & 0x0ffc0000) argument
35 #define GET_MEM_OFFS_2M(addr) (addr & MASK(18)) argument
48 static inline u64 readq(void __iomem *addr) in readq()
55 static inline void writeq(u64 val, void __iomem *addr) in writeq()
380 #define MAC_HI(addr) \ argument
382 #define MAC_LO(addr) \ argument
436 static int netxen_p2_nic_set_mac_addr(struct netxen_adapter *adapter, u8 *addr) in netxen_p2_nic_set_mac_addr()
467 u8 *addr = adapter->mac_addr; in netxen_nic_enable_mcast_filter() local
[all …]
/drivers/s390/cio/
Dioasm.c15 static inline int __stsch(struct subchannel_id schid, struct schib *addr) in __stsch()
32 int stsch(struct subchannel_id schid, struct schib *addr) in stsch()
43 static inline int __msch(struct subchannel_id schid, struct schib *addr) in __msch()
60 int msch(struct subchannel_id schid, struct schib *addr) in msch()
70 static inline int __tsch(struct subchannel_id schid, struct irb *addr) in __tsch()
85 int tsch(struct subchannel_id schid, struct irb *addr) in tsch()
95 static inline int __ssch(struct subchannel_id schid, union orb *addr) in __ssch()
112 int ssch(struct subchannel_id schid, union orb *addr) in ssch()
149 int tpi(struct tpi_info *addr) in tpi()
/drivers/net/wireless/st/cw1200/
Dhwio.c33 static int __cw1200_reg_read(struct cw1200_common *priv, u16 addr, in __cw1200_reg_read()
54 static int __cw1200_reg_write(struct cw1200_common *priv, u16 addr, in __cw1200_reg_write()
70 u16 addr, u32 *val) in __cw1200_reg_read_32()
79 u16 addr, u32 val) in __cw1200_reg_write_32()
86 u16 addr, u16 *val) in __cw1200_reg_read_16()
95 u16 addr, u16 val) in __cw1200_reg_write_16()
101 int cw1200_reg_read(struct cw1200_common *priv, u16 addr, void *buf, in cw1200_reg_read()
111 int cw1200_reg_write(struct cw1200_common *priv, u16 addr, const void *buf, in cw1200_reg_write()
174 int cw1200_indirect_read(struct cw1200_common *priv, u32 addr, void *buf, in cw1200_indirect_read()
238 int cw1200_apb_write(struct cw1200_common *priv, u32 addr, const void *buf, in cw1200_apb_write()
/drivers/media/dvb-frontends/drx39xyj/
Ddrx_dap_fasi.h248 #define DRXDAP_FASI_ADDR2BLOCK(addr) (((addr)>>22)&0x3F) argument
249 #define DRXDAP_FASI_ADDR2BANK(addr) (((addr)>>16)&0x3F) argument
250 #define DRXDAP_FASI_ADDR2OFFSET(addr) ((addr)&0x7FFF) argument
252 #define DRXDAP_FASI_SHORT_FORMAT(addr) (((addr) & 0xFC30FF80) == 0) argument
253 #define DRXDAP_FASI_LONG_FORMAT(addr) (((addr) & 0xFC30FF80) != 0) argument
254 #define DRXDAP_FASI_OFFSET_TOO_LARGE(addr) (((addr) & 0x00008000) != 0) argument
/drivers/net/dsa/
Dmv88e6060.c20 static int reg_read(struct dsa_switch *ds, int addr, int reg) in reg_read()
27 #define REG_READ(addr, reg) \ argument
38 static int reg_write(struct dsa_switch *ds, int addr, int reg, u16 val) in reg_write()
45 #define REG_WRITE(addr, reg, val) \ argument
156 int addr = REG_PORT(p); in mv88e6060_setup_port() local
215 static int mv88e6060_set_addr(struct dsa_switch *ds, u8 *addr) in mv88e6060_set_addr()
234 int addr; in mv88e6060_phy_read() local
246 int addr; in mv88e6060_phy_write() local
/drivers/thermal/
Dhisi_thermal.c156 static inline void hi6220_thermal_set_lag(void __iomem *addr, int value) in hi6220_thermal_set_lag()
162 static inline void hi6220_thermal_alarm_clear(void __iomem *addr, int value) in hi6220_thermal_alarm_clear()
167 static inline void hi6220_thermal_alarm_enable(void __iomem *addr, int value) in hi6220_thermal_alarm_enable()
172 static inline void hi6220_thermal_alarm_set(void __iomem *addr, int temp) in hi6220_thermal_alarm_set()
178 static inline void hi6220_thermal_reset_set(void __iomem *addr, int temp) in hi6220_thermal_reset_set()
183 static inline void hi6220_thermal_reset_enable(void __iomem *addr, int value) in hi6220_thermal_reset_enable()
188 static inline void hi6220_thermal_enable(void __iomem *addr, int value) in hi6220_thermal_enable()
193 static inline int hi6220_thermal_get_temperature(void __iomem *addr) in hi6220_thermal_get_temperature()
207 static inline void hi3660_thermal_set_lag(void __iomem *addr, in hi3660_thermal_set_lag()
214 static inline void hi3660_thermal_alarm_clear(void __iomem *addr, in hi3660_thermal_alarm_clear()
[all …]
/drivers/net/ipvlan/
Dipvlan_core.c59 struct ipvl_addr *addr; in ipvlan_ht_addr_lookup() local
76 void ipvlan_ht_addr_add(struct ipvl_dev *ipvlan, struct ipvl_addr *addr) in ipvlan_ht_addr_add()
88 void ipvlan_ht_addr_del(struct ipvl_addr *addr) in ipvlan_ht_addr_del()
96 struct ipvl_addr *addr; in ipvlan_find_addr() local
182 unsigned int ipvlan_mac_hash(const unsigned char *addr) in ipvlan_mac_hash()
269 static int ipvlan_rcv_frame(struct ipvl_addr *addr, struct sk_buff **pskb, in ipvlan_rcv_frame()
319 struct ipvl_addr *addr = NULL; in ipvlan_addr_lookup() local
501 struct ipvl_addr *addr; in ipvlan_xmit_mode_l3() local
521 struct ipvl_addr *addr; in ipvlan_xmit_mode_l2() local
583 struct ipvl_addr *addr; in ipvlan_external_frame() local
[all …]
/drivers/uwb/
Daddress.c204 struct uwb_mac_addr *addr) { in uwb_rc_mac_addr_get()
212 struct uwb_dev_addr *addr) { in uwb_rc_dev_addr_get()
220 const struct uwb_mac_addr *addr) in uwb_rc_mac_addr_set()
232 const struct uwb_dev_addr *addr) in uwb_rc_dev_addr_set()
246 struct uwb_mac_addr *addr = _addr; in __uwb_mac_addr_assigned_check() local
257 struct uwb_dev_addr *addr = _addr; in __uwb_dev_addr_assigned_check() local
313 struct uwb_mac_addr addr; in uwb_rc_mac_addr_show() local
336 struct uwb_mac_addr addr; in uwb_rc_mac_addr_store() local
361 size_t __uwb_addr_print(char *buf, size_t buf_size, const unsigned char *addr, in __uwb_addr_print()
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c30 void __iomem *addr = pdata->eth_csr_addr + offset; in xgene_enet_wr_csr() local
38 void __iomem *addr = pdata->eth_ring_if_addr + offset; in xgene_enet_wr_ring_if() local
46 void __iomem *addr = pdata->eth_diag_csr_addr + offset; in xgene_enet_wr_diag_csr() local
51 static bool xgene_enet_wr_indirect(void __iomem *addr, void __iomem *wr, in xgene_enet_wr_indirect()
77 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_enet_wr_mac() local
92 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_enet_wr_pcs() local
107 void __iomem *addr = pdata->eth_csr_addr + offset; in xgene_enet_rd_csr() local
115 void __iomem *addr = pdata->eth_diag_csr_addr + offset; in xgene_enet_rd_diag_csr() local
120 static bool xgene_enet_rd_indirect(void __iomem *addr, void __iomem *rd, in xgene_enet_rd_indirect()
146 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_mac() local
[all …]
/drivers/infiniband/hw/hfi1/
Ddma.c77 static void hfi1_dma_unmap_single(struct ib_device *dev, u64 addr, size_t size, in hfi1_dma_unmap_single()
87 u64 addr; in hfi1_dma_map_page() local
102 static void hfi1_dma_unmap_page(struct ib_device *dev, u64 addr, size_t size, in hfi1_dma_unmap_page()
112 u64 addr; in hfi1_map_sg() local
140 static void hfi1_sync_single_for_cpu(struct ib_device *dev, u64 addr, in hfi1_sync_single_for_cpu()
145 static void hfi1_sync_single_for_device(struct ib_device *dev, u64 addr, in hfi1_sync_single_for_device()
155 void *addr = NULL; in hfi1_dma_alloc_coherent() local
/drivers/infiniband/hw/qib/
Dqib_dma.c60 static void qib_dma_unmap_single(struct ib_device *dev, u64 addr, size_t size, in qib_dma_unmap_single()
70 u64 addr; in qib_dma_map_page() local
88 static void qib_dma_unmap_page(struct ib_device *dev, u64 addr, size_t size, in qib_dma_unmap_page()
98 u64 addr; in qib_map_sg() local
126 static void qib_sync_single_for_cpu(struct ib_device *dev, u64 addr, in qib_sync_single_for_cpu()
131 static void qib_sync_single_for_device(struct ib_device *dev, u64 addr, in qib_sync_single_for_device()
141 void *addr = NULL; in qib_dma_alloc_coherent() local
/drivers/w1/slaves/
Dw1_ds2760.c26 static int w1_ds2760_io(struct device *dev, char *buf, int addr, size_t count, in w1_ds2760_io()
62 int w1_ds2760_read(struct device *dev, char *buf, int addr, size_t count) in w1_ds2760_read()
67 int w1_ds2760_write(struct device *dev, char *buf, int addr, size_t count) in w1_ds2760_write()
72 static int w1_ds2760_eeprom_cmd(struct device *dev, int addr, int cmd) in w1_ds2760_eeprom_cmd()
90 int w1_ds2760_store_eeprom(struct device *dev, int addr) in w1_ds2760_store_eeprom()
95 int w1_ds2760_recall_eeprom(struct device *dev, int addr) in w1_ds2760_recall_eeprom()
/drivers/gpu/drm/nouveau/nvkm/core/
Doproxy.c40 nvkm_oproxy_map(struct nvkm_object *object, u64 *addr, u32 *size) in nvkm_oproxy_map()
46 nvkm_oproxy_rd08(struct nvkm_object *object, u64 addr, u8 *data) in nvkm_oproxy_rd08()
52 nvkm_oproxy_rd16(struct nvkm_object *object, u64 addr, u16 *data) in nvkm_oproxy_rd16()
58 nvkm_oproxy_rd32(struct nvkm_object *object, u64 addr, u32 *data) in nvkm_oproxy_rd32()
64 nvkm_oproxy_wr08(struct nvkm_object *object, u64 addr, u8 data) in nvkm_oproxy_wr08()
70 nvkm_oproxy_wr16(struct nvkm_object *object, u64 addr, u16 data) in nvkm_oproxy_wr16()
76 nvkm_oproxy_wr32(struct nvkm_object *object, u64 addr, u32 data) in nvkm_oproxy_wr32()
/drivers/net/wireless/ti/wlcore/
Dio.h58 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, in wlcore_raw_write()
76 static inline int __must_check wlcore_raw_read(struct wl1271 *wl, int addr, in wlcore_raw_read()
108 static inline int __must_check wlcore_raw_read32(struct wl1271 *wl, int addr, in wlcore_raw_read32()
124 static inline int __must_check wlcore_raw_write32(struct wl1271 *wl, int addr, in wlcore_raw_write32()
132 static inline int __must_check wlcore_read(struct wl1271 *wl, int addr, in wlcore_read()
142 static inline int __must_check wlcore_write(struct wl1271 *wl, int addr, in wlcore_write()
171 int addr; in wlcore_read_hwaddr() local
181 static inline int __must_check wlcore_read32(struct wl1271 *wl, int addr, in wlcore_read32()
187 static inline int __must_check wlcore_write32(struct wl1271 *wl, int addr, in wlcore_write32()
/drivers/infiniband/core/
Daddr.c58 struct rdma_dev_addr *addr; member
197 int rdma_addr_size(struct sockaddr *addr) in rdma_addr_size()
212 int rdma_addr_size_in6(struct sockaddr_in6 *addr) in rdma_addr_size_in6()
220 int rdma_addr_size_kss(struct __kernel_sockaddr_storage *addr) in rdma_addr_size_kss()
263 int rdma_translate_ip(const struct sockaddr *addr, in rdma_translate_ip()
411 struct rdma_dev_addr *addr, in addr4_resolve()
450 struct rdma_dev_addr *addr, in addr6_resolve()
489 struct rdma_dev_addr *addr, in addr6_resolve()
498 struct rdma_dev_addr *addr, in addr_resolve_neigh()
521 struct rdma_dev_addr *addr, in addr_resolve()
[all …]
/drivers/media/usb/usbvision/
Dusbvision-i2c.c57 unsigned char addr, int retries) in try_write_address()
82 unsigned char addr, int retries) in try_read_address()
111 unsigned char addr; in usb_find_address() local
136 unsigned char addr = 0; in usbvision_i2c_xfer() local
276 usbvision_i2c_read_max4(struct usb_usbvision *usbvision, unsigned char addr, in usbvision_i2c_read_max4()
341 unsigned char addr, const char *buf, in usbvision_i2c_write_max4()
400 static int usbvision_i2c_write(struct usb_usbvision *usbvision, unsigned char addr, char *buf, in usbvision_i2c_write()
422 static int usbvision_i2c_read(struct usb_usbvision *usbvision, unsigned char addr, char *buf, in usbvision_i2c_read()

12345678910>>...104