Home
last modified time | relevance | path

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

12

/Linux-v5.15/arch/mips/pci/
Dops-bonito64.c32 void *addrp; in bonito64_pcibios_config_access() local
59 addrp = CFG_SPACE_REG(addr & 0xffff); in bonito64_pcibios_config_access()
61 writel(cpu_to_le32(*data), addrp); in bonito64_pcibios_config_access()
65 *data = le32_to_cpu(readl(addrp)); in bonito64_pcibios_config_access()
Dops-loongson2.c40 void *addrp; in loongson_pcibios_config_access() local
91 addrp = CFG_SPACE_REG(addr & 0xffff); in loongson_pcibios_config_access()
93 writel(cpu_to_le32(*data), addrp); in loongson_pcibios_config_access()
95 *data = le32_to_cpu(readl(addrp)); in loongson_pcibios_config_access()
/Linux-v5.15/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()
/Linux-v5.15/arch/powerpc/kernel/
Dlegacy_serial.c168 const __be32 *addrp; in add_legacy_soc_port() local
186 addrp = of_get_address(soc_dev, 0, NULL, NULL); in add_legacy_soc_port()
187 if (addrp == NULL) in add_legacy_soc_port()
190 addr = of_translate_address(soc_dev, addrp); in add_legacy_soc_port()
258 const __be32 *addrp; in add_legacy_pci_port() local
275 addrp = of_get_pci_address(pci_dev, 0, NULL, &flags); in add_legacy_pci_port()
276 if (addrp == NULL) in add_legacy_pci_port()
281 addr = of_translate_address(pci_dev, addrp); in add_legacy_pci_port()
291 base = of_read_number(&addrp[2], 1); in add_legacy_pci_port()
/Linux-v5.15/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 …]
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/arch/powerpc/platforms/powernv/
Dopal-prd.c58 const __be32 *addrp; in opal_prd_range_is_valid() local
61 addrp = of_get_address(node, 0, &range_size, NULL); in opal_prd_range_is_valid()
63 range_addr = of_read_number(addrp, 2); in opal_prd_range_is_valid()
/Linux-v5.15/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.c857 static int __i2c_check_addr_busy(struct device *dev, void *addrp) in __i2c_check_addr_busy() argument
860 int addr = *(int *)addrp; in __i2c_check_addr_busy()
883 static int i2c_check_mux_children(struct device *dev, void *addrp) in i2c_check_mux_children() argument
888 result = device_for_each_child(dev, addrp, in i2c_check_mux_children()
891 result = __i2c_check_addr_busy(dev, addrp); in i2c_check_mux_children()
/Linux-v5.15/arch/powerpc/platforms/chrp/
Dsetup.c471 const unsigned int *addrp = of_get_property(np, in chrp_find_8259() local
474 if (addrp == NULL) in chrp_find_8259()
476 chrp_int_ack = addrp[of_n_addr_cells(np)-1]; in chrp_find_8259()
/Linux-v5.15/arch/powerpc/platforms/pseries/
Dsetup.c188 const u32 *addrp; in pseries_setup_i8259_cascade() local
218 addrp = of_get_property(np, "8259-interrupt-acknowledge", NULL); in pseries_setup_i8259_cascade()
219 if (addrp == NULL) in pseries_setup_i8259_cascade()
222 intack = addrp[naddr-1]; in pseries_setup_i8259_cascade()
224 intack |= ((unsigned long)addrp[naddr-2]) << 32; in pseries_setup_i8259_cascade()
/Linux-v5.15/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()
/Linux-v5.15/net/netfilter/
Dxt_recent.c125 const union nf_inet_addr *addrp, u_int16_t family, in recent_entry_lookup() argument
132 h = recent_entry_hash4(addrp); in recent_entry_lookup()
134 h = recent_entry_hash6(addrp); in recent_entry_lookup()
138 memcmp(&e->addr, addrp, sizeof(e->addr)) == 0 && in recent_entry_lookup()
/Linux-v5.15/drivers/clk/ti/
Dclkctrl.c506 const __be32 *addrp; in _ti_omap4_clkctrl_setup() local
518 addrp = of_get_address(node, 0, NULL, NULL); in _ti_omap4_clkctrl_setup()
519 addr = (u32)of_translate_address(node, addrp); in _ti_omap4_clkctrl_setup()
/Linux-v5.15/arch/powerpc/platforms/powermac/
Dlow_i2c.c488 const u32 *psteps, *prate, *addrp; in kw_i2c_host_init() local
502 addrp = of_get_property(np, "AAPL,address", NULL); in kw_i2c_host_init()
503 if (addrp == NULL) { in kw_i2c_host_init()
538 host->base = ioremap((*addrp), 0x1000); in kw_i2c_host_init()
558 *addrp, host->irq, np); in kw_i2c_host_init()
Dfeature.c2549 const u32 *addrp; in probe_uninorth() local
2572 addrp = of_get_property(uninorth_node, "reg", NULL); in probe_uninorth()
2573 if (addrp == NULL) in probe_uninorth()
2575 address = of_translate_address(uninorth_node, addrp); in probe_uninorth()
2620 const u32 *addrp, *revp; in probe_one_macio() local
2644 addrp = of_get_pci_address(node, 0, &size, NULL); in probe_one_macio()
2645 if (addrp == NULL) { in probe_one_macio()
2650 addr = of_translate_address(node, addrp); in probe_one_macio()
/Linux-v5.15/security/selinux/
Dhooks.c4529 char *addrp; in selinux_parse_skb() local
4537 addrp = (char *)(src ? &ad->u.net->v4info.saddr : in selinux_parse_skb()
4546 addrp = (char *)(src ? &ad->u.net->v6info.saddr : in selinux_parse_skb()
4551 addrp = NULL; in selinux_parse_skb()
4563 *_addrp = addrp; in selinux_parse_skb()
4749 char *addrp; in selinux_socket_bind() local
4782 addrp = (char *)&addr4->sin_addr.s_addr; in selinux_socket_bind()
4789 addrp = (char *)&addr6->sin6_addr.s6_addr; in selinux_socket_bind()
4842 err = sel_netnode_sid(addrp, family_sa, &sid); in selinux_socket_bind()
5101 char *addrp, u16 family, u32 peer_sid, in selinux_inet_sys_rcv_skb() argument
[all …]
/Linux-v5.15/tools/lib/traceevent/Documentation/
Dlibtraceevent-func_apis.txt105 unsigned long long *addrp, char **modp)
108 struct symbol *sym = sql_lookup(function_database, *addrp);
/Linux-v5.15/tools/hv/
Dhv_kvp_daemon.c764 static int kvp_process_ip_address(void *addrp, in kvp_process_ip_address() argument
775 addr = (struct sockaddr_in *)addrp; in kvp_process_ip_address()
779 addr6 = (struct sockaddr_in6 *)addrp; in kvp_process_ip_address()

12