Home
last modified time | relevance | path

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

/drivers/staging/media/tegra-vde/
Ddmabuf-cache.c64 dma_addr_t *addrp) in tegra_vde_dmabuf_cache_map() argument
88 *addrp = iova_dma_addr(&vde->iova, entry->iova); in tegra_vde_dmabuf_cache_map()
90 *addrp = sg_dma_address(entry->sgt->sgl); in tegra_vde_dmabuf_cache_map()
126 *addrp = iova_dma_addr(&vde->iova, iova); in tegra_vde_dmabuf_cache_map()
128 *addrp = sg_dma_address(sgt->sgl); in tegra_vde_dmabuf_cache_map()
Dvde.h67 dma_addr_t *addrp);
Dvde.c496 dma_addr_t *addrp, in tegra_vde_attach_dmabuf() argument
522 err = tegra_vde_dmabuf_cache_map(vde, dmabuf, dma_dir, a, addrp); in tegra_vde_attach_dmabuf()
526 *addrp = *addrp + offset; in tegra_vde_attach_dmabuf()
/drivers/media/pci/pt1/
Dpt1.c536 static void *pt1_alloc_page(struct pt1 *pt1, dma_addr_t *addrp, u32 *pfnp) in pt1_alloc_page() argument
549 *addrp = addr; in pt1_alloc_page()
1042 static void pt1_i2c_write_bit(struct pt1 *pt1, int addr, int *addrp, int data) in pt1_i2c_write_bit() argument
1047 *addrp = addr + 3; in pt1_i2c_write_bit()
1050 static void pt1_i2c_read_bit(struct pt1 *pt1, int addr, int *addrp) in pt1_i2c_read_bit() argument
1056 *addrp = addr + 4; in pt1_i2c_read_bit()
1059 static void pt1_i2c_write_byte(struct pt1 *pt1, int addr, int *addrp, int data) in pt1_i2c_write_byte() argument
1065 *addrp = addr; in pt1_i2c_write_byte()
1068 static void pt1_i2c_read_byte(struct pt1 *pt1, int addr, int *addrp, int last) in pt1_i2c_read_byte() argument
1074 *addrp = addr; in pt1_i2c_read_byte()
[all …]
/drivers/edac/
Dti_edac.c205 const __be32 *addrp; in _emif_get_id() local
209 addrp = of_get_address(node, 0, NULL, NULL); in _emif_get_id()
210 my_addr = (u32)of_translate_address(node, addrp); in _emif_get_id()
216 addrp = of_get_address(np, 0, NULL, NULL); in _emif_get_id()
217 addr = (u32)of_translate_address(np, addrp); in _emif_get_id()
/drivers/video/fbdev/
Doffb.c303 const __be32 *addrp; in offb_map_reg() local
307 addrp = of_get_pci_address(np, index, &asize, &flags); in offb_map_reg()
308 if (addrp == NULL) in offb_map_reg()
309 addrp = of_get_address(np, index, &asize, &flags); in offb_map_reg()
310 if (addrp == NULL) in offb_map_reg()
316 taddr = of_translate_address(np, addrp); in offb_map_reg()
545 const __be32 *pp, *addrp, *up; in offb_init_nodriver() local
605 for (i = 0; (addrp = of_get_address(dp, i, &asize, &flags)) in offb_init_nodriver()
613 rstart = of_translate_address(dp, addrp); in offb_init_nodriver()
/drivers/media/pci/cx88/
Dcx88-input.c597 const unsigned short *addrp; in cx88_i2c_init_ir() local
622 for (addrp = addr_list; *addrp != I2C_CLIENT_END; addrp++) { in cx88_i2c_init_ir()
626 if (*addrp == 0x71) { in cx88_i2c_init_ir()
637 if (i2c_smbus_xfer(&core->i2c_adap, *addrp, 0, in cx88_i2c_init_ir()
640 info.addr = *addrp; in cx88_i2c_init_ir()
/drivers/remoteproc/
Dwkup_m3_rproc.c138 const __be32 *addrp; in wkup_m3_rproc_probe() local
195 addrp = of_get_address(dev->of_node, i, &size, NULL); in wkup_m3_rproc_probe()
203 l4_offset = be32_to_cpu(*addrp); in wkup_m3_rproc_probe()
204 wkupm3->mem[i].dev_addr = be32_to_cpu(*addrp) - l4_offset; in wkup_m3_rproc_probe()
/drivers/i2c/
Di2c-dev.c180 static int i2cdev_check(struct device *dev, void *addrp) in i2cdev_check() argument
184 if (!client || client->addr != *(unsigned int *)addrp) in i2cdev_check()
204 static int i2cdev_check_mux_children(struct device *dev, void *addrp) in i2cdev_check_mux_children() argument
209 result = device_for_each_child(dev, addrp, in i2cdev_check_mux_children()
212 result = i2cdev_check(dev, addrp); in i2cdev_check_mux_children()
Di2c-smbus.c32 static int smbus_do_alert(struct device *dev, void *addrp) in smbus_do_alert() argument
35 struct alert_data *data = addrp; in smbus_do_alert()
Di2c-core-base.c762 static int __i2c_check_addr_busy(struct device *dev, void *addrp) in __i2c_check_addr_busy() argument
765 int addr = *(int *)addrp; in __i2c_check_addr_busy()
788 static int i2c_check_mux_children(struct device *dev, void *addrp) in i2c_check_mux_children() argument
793 result = device_for_each_child(dev, addrp, in i2c_check_mux_children()
796 result = __i2c_check_addr_busy(dev, addrp); in i2c_check_mux_children()
/drivers/of/
Daddress.c798 const __be32 *addrp; in __of_address_to_resource() local
803 addrp = __of_get_address(dev, index, bar_no, &size, &flags); in __of_address_to_resource()
804 if (addrp == NULL) in __of_address_to_resource()
812 taddr = of_translate_address(dev, addrp); in __of_address_to_resource()
814 taddr = of_translate_ioport(dev, addrp, size); in __of_address_to_resource()
/drivers/clk/ti/
Dclkctrl.c509 const __be32 *addrp; in _ti_omap4_clkctrl_setup() local
521 addrp = of_get_address(node, 0, NULL, NULL); in _ti_omap4_clkctrl_setup()
522 addr = (u32)of_translate_address(node, addrp); in _ti_omap4_clkctrl_setup()
/drivers/fsi/
Dfsi-core.c185 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr() argument
188 uint32_t addr = *addrp; in fsi_slave_calc_addr()
204 *addrp = addr; in fsi_slave_calc_addr()
/drivers/net/ethernet/broadcom/
Dcnic.c2052 u32 *addrp; in cnic_init_storm_conn_bufs() local
2054 addrp = (u32 *) &conn_addr->local_ip_addr; in cnic_init_storm_conn_bufs()
2055 for (i = 0; i < 4; i++, addrp++) in cnic_init_storm_conn_bufs()
2056 src_ip.in6_u.u6_addr32[i] = cpu_to_be32(*addrp); in cnic_init_storm_conn_bufs()
2058 addrp = (u32 *) &conn_addr->remote_ip_addr; in cnic_init_storm_conn_bufs()
2059 for (i = 0; i < 4; i++, addrp++) in cnic_init_storm_conn_bufs()
2060 dst_ip.in6_u.u6_addr32[i] = cpu_to_be32(*addrp); in cnic_init_storm_conn_bufs()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c1248 const void *addrp; in mlxsw_sp_router_ip2me_fib_entry_find() local
1260 addrp = &addr4; in mlxsw_sp_router_ip2me_fib_entry_find()
1270 fib_node = mlxsw_sp_fib_node_lookup(fib, addrp, addr_len, in mlxsw_sp_router_ip2me_fib_entry_find()