Home
last modified time | relevance | path

Searched refs:addrp (Results 1 – 9 of 9) sorted by relevance

/drivers/media/pci/pt1/
Dpt1.c347 static void *pt1_alloc_page(struct pt1 *pt1, dma_addr_t *addrp, u32 *pfnp) in pt1_alloc_page() argument
360 *addrp = addr; in pt1_alloc_page()
885 static void pt1_i2c_write_bit(struct pt1 *pt1, int addr, int *addrp, int data) in pt1_i2c_write_bit() argument
890 *addrp = addr + 3; in pt1_i2c_write_bit()
893 static void pt1_i2c_read_bit(struct pt1 *pt1, int addr, int *addrp) in pt1_i2c_read_bit() argument
899 *addrp = addr + 4; in pt1_i2c_read_bit()
902 static void pt1_i2c_write_byte(struct pt1 *pt1, int addr, int *addrp, int data) in pt1_i2c_write_byte() argument
908 *addrp = addr; in pt1_i2c_write_byte()
911 static void pt1_i2c_read_byte(struct pt1 *pt1, int addr, int *addrp, int last) in pt1_i2c_read_byte() argument
917 *addrp = addr; in pt1_i2c_read_byte()
[all …]
/drivers/of/
Daddress.c22 const __be32 *addrp, u64 size, unsigned int flags,
224 const __be32 *addrp; in of_pci_address_to_resource() local
228 addrp = of_get_pci_address(dev, bar, &size, &flags); in of_pci_address_to_resource()
229 if (addrp == NULL) in of_pci_address_to_resource()
231 return __of_address_to_resource(dev, addrp, size, flags, NULL, r); in of_pci_address_to_resource()
680 const __be32 *addrp, u64 size, unsigned int flags, in __of_address_to_resource() argument
687 taddr = of_translate_address(dev, addrp); in __of_address_to_resource()
719 const __be32 *addrp; in of_address_to_resource() local
724 addrp = of_get_address(dev, index, &size, &flags); in of_address_to_resource()
725 if (addrp == NULL) in of_address_to_resource()
[all …]
/drivers/remoteproc/
Dwkup_m3_rproc.c137 const __be32 *addrp; in wkup_m3_rproc_probe() local
188 addrp = of_get_address(dev->of_node, i, &size, NULL); in wkup_m3_rproc_probe()
196 l4_offset = be32_to_cpu(*addrp); in wkup_m3_rproc_probe()
197 wkupm3->mem[i].dev_addr = be32_to_cpu(*addrp) - l4_offset; in wkup_m3_rproc_probe()
/drivers/video/fbdev/
Doffb.c300 const __be32 *addrp; in offb_map_reg() local
304 addrp = of_get_pci_address(np, index, &asize, &flags); in offb_map_reg()
305 if (addrp == NULL) in offb_map_reg()
306 addrp = of_get_address(np, index, &asize, &flags); in offb_map_reg()
307 if (addrp == NULL) in offb_map_reg()
313 taddr = of_translate_address(np, addrp); in offb_map_reg()
538 const __be32 *pp, *addrp, *up; in offb_init_nodriver() local
598 for (i = 0; (addrp = of_get_address(dp, i, &asize, &flags)) in offb_init_nodriver()
606 rstart = of_translate_address(dp, addrp); in offb_init_nodriver()
/drivers/media/pci/cx88/
Dcx88-input.c602 const unsigned short *addrp; in cx88_i2c_init_ir() local
627 for (addrp = addr_list; *addrp != I2C_CLIENT_END; addrp++) { in cx88_i2c_init_ir()
631 if (*addrp == 0x71) { in cx88_i2c_init_ir()
641 if (i2c_smbus_xfer(&core->i2c_adap, *addrp, 0, in cx88_i2c_init_ir()
644 info.addr = *addrp; in cx88_i2c_init_ir()
/drivers/i2c/
Di2c-dev.c185 static int i2cdev_check(struct device *dev, void *addrp) in i2cdev_check() argument
189 if (!client || client->addr != *(unsigned int *)addrp) in i2cdev_check()
209 static int i2cdev_check_mux_children(struct device *dev, void *addrp) in i2cdev_check_mux_children() argument
214 result = device_for_each_child(dev, addrp, in i2cdev_check_mux_children()
217 result = i2cdev_check(dev, addrp); in i2cdev_check_mux_children()
Di2c-smbus.c41 static int smbus_do_alert(struct device *dev, void *addrp) in smbus_do_alert() argument
44 struct alert_data *data = addrp; in smbus_do_alert()
Di2c-core.c1129 static int __i2c_check_addr_busy(struct device *dev, void *addrp) in __i2c_check_addr_busy() argument
1132 int addr = *(int *)addrp; in __i2c_check_addr_busy()
1155 static int i2c_check_mux_children(struct device *dev, void *addrp) in i2c_check_mux_children() argument
1160 result = device_for_each_child(dev, addrp, in i2c_check_mux_children()
1163 result = __i2c_check_addr_busy(dev, addrp); in i2c_check_mux_children()
/drivers/net/ethernet/broadcom/
Dcnic.c2053 u32 *addrp; in cnic_init_storm_conn_bufs() local
2055 addrp = (u32 *) &conn_addr->local_ip_addr; in cnic_init_storm_conn_bufs()
2056 for (i = 0; i < 4; i++, addrp++) in cnic_init_storm_conn_bufs()
2057 src_ip.in6_u.u6_addr32[i] = cpu_to_be32(*addrp); in cnic_init_storm_conn_bufs()
2059 addrp = (u32 *) &conn_addr->remote_ip_addr; in cnic_init_storm_conn_bufs()
2060 for (i = 0; i < 4; i++, addrp++) in cnic_init_storm_conn_bufs()
2061 dst_ip.in6_u.u6_addr32[i] = cpu_to_be32(*addrp); in cnic_init_storm_conn_bufs()