Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/drivers/media/platform/nvidia/tegra-vde/
Ddmabuf-cache.c67 dma_addr_t *addrp) in tegra_vde_dmabuf_cache_map() argument
91 *addrp = iova_dma_addr(&vde->iova, entry->iova); in tegra_vde_dmabuf_cache_map()
93 *addrp = sg_dma_address(entry->sgt->sgl); in tegra_vde_dmabuf_cache_map()
129 *addrp = iova_dma_addr(&vde->iova, iova); in tegra_vde_dmabuf_cache_map()
131 *addrp = sg_dma_address(sgt->sgl); in tegra_vde_dmabuf_cache_map()
Dvde.h199 dma_addr_t *addrp);
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/remoteproc/
Dwkup_m3_rproc.c138 const __be32 *addrp; in wkup_m3_rproc_probe() local
196 addrp = of_get_address(dev->of_node, i, &size, NULL); in wkup_m3_rproc_probe()
204 l4_offset = be32_to_cpu(*addrp); in wkup_m3_rproc_probe()
205 wkupm3->mem[i].dev_addr = be32_to_cpu(*addrp) - l4_offset; in wkup_m3_rproc_probe()
/linux-6.1.9/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-6.1.9/drivers/video/fbdev/
Doffb.c304 const __be32 *addrp; in offb_map_reg() local
308 addrp = of_get_pci_address(np, index, &asize, &flags); in offb_map_reg()
309 if (addrp == NULL) in offb_map_reg()
310 addrp = of_get_address(np, index, &asize, &flags); in offb_map_reg()
311 if (addrp == NULL) in offb_map_reg()
317 taddr = of_translate_address(np, addrp); in offb_map_reg()
548 const __be32 *pp, *addrp, *up; in offb_init_nodriver() local
608 for (i = 0; (addrp = of_get_address(dp, i, &asize, &flags)) in offb_init_nodriver()
616 rstart = of_translate_address(dp, addrp); in offb_init_nodriver()
/linux-6.1.9/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-6.1.9/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.c764 static int __i2c_check_addr_busy(struct device *dev, void *addrp) in __i2c_check_addr_busy() argument
767 int addr = *(int *)addrp; in __i2c_check_addr_busy()
790 static int i2c_check_mux_children(struct device *dev, void *addrp) in i2c_check_mux_children() argument
795 result = device_for_each_child(dev, addrp, in i2c_check_mux_children()
798 result = __i2c_check_addr_busy(dev, addrp); in i2c_check_mux_children()
/linux-6.1.9/arch/powerpc/platforms/chrp/
Dsetup.c473 const unsigned int *addrp = of_get_property(np, in chrp_find_8259() local
476 if (addrp == NULL) in chrp_find_8259()
478 chrp_int_ack = addrp[of_n_addr_cells(np)-1]; in chrp_find_8259()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dsetup.c216 const u32 *addrp; in pseries_setup_i8259_cascade() local
246 addrp = of_get_property(np, "8259-interrupt-acknowledge", NULL); in pseries_setup_i8259_cascade()
247 if (addrp == NULL) in pseries_setup_i8259_cascade()
250 intack = addrp[naddr-1]; in pseries_setup_i8259_cascade()
252 intack |= ((unsigned long)addrp[naddr-2]) << 32; in pseries_setup_i8259_cascade()
/linux-6.1.9/drivers/of/
Daddress.c800 const __be32 *addrp; in __of_address_to_resource() local
805 addrp = __of_get_address(dev, index, bar_no, &size, &flags); in __of_address_to_resource()
806 if (addrp == NULL) in __of_address_to_resource()
814 taddr = of_translate_address(dev, addrp); in __of_address_to_resource()
816 taddr = of_translate_ioport(dev, addrp, size); in __of_address_to_resource()
/linux-6.1.9/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-6.1.9/drivers/clk/ti/
Dclkctrl.c515 const __be32 *addrp; in _ti_omap4_clkctrl_setup() local
523 addrp = of_get_address(node, 0, NULL, NULL); in _ti_omap4_clkctrl_setup()
524 addr = (u32)of_translate_address(node, addrp); in _ti_omap4_clkctrl_setup()
/linux-6.1.9/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.c2548 const u32 *addrp; in probe_uninorth() local
2571 addrp = of_get_property(uninorth_node, "reg", NULL); in probe_uninorth()
2572 if (addrp == NULL) in probe_uninorth()
2574 address = of_translate_address(uninorth_node, addrp); in probe_uninorth()
2619 const u32 *addrp, *revp; in probe_one_macio() local
2643 addrp = of_get_pci_address(node, 0, &size, NULL); in probe_one_macio()
2644 if (addrp == NULL) { in probe_one_macio()
2649 addr = of_translate_address(node, addrp); in probe_one_macio()
/linux-6.1.9/security/selinux/
Dhooks.c4421 char *addrp; in selinux_parse_skb() local
4429 addrp = (char *)(src ? &ad->u.net->v4info.saddr : in selinux_parse_skb()
4438 addrp = (char *)(src ? &ad->u.net->v6info.saddr : in selinux_parse_skb()
4443 addrp = NULL; in selinux_parse_skb()
4455 *_addrp = addrp; in selinux_parse_skb()
4641 char *addrp; in selinux_socket_bind() local
4674 addrp = (char *)&addr4->sin_addr.s_addr; in selinux_socket_bind()
4681 addrp = (char *)&addr6->sin6_addr.s6_addr; in selinux_socket_bind()
4734 err = sel_netnode_sid(addrp, family_sa, &sid); in selinux_socket_bind()
4993 char *addrp, u16 family, u32 peer_sid, in selinux_inet_sys_rcv_skb() argument
[all …]
/linux-6.1.9/tools/lib/traceevent/Documentation/
Dlibtraceevent-func_apis.txt105 unsigned long long *addrp, char **modp)
108 struct symbol *sym = sql_lookup(function_database, *addrp);
/linux-6.1.9/tools/hv/
Dhv_kvp_daemon.c764 static int kvp_process_ip_address(void *addrp, in kvp_process_ip_address() argument
775 addr = addrp; in kvp_process_ip_address()
779 addr6 = addrp; in kvp_process_ip_address()
/linux-6.1.9/arch/mips/kernel/
Dptrace.c1078 void __user *addrp = (void __user *) addr; in arch_ptrace() local
1293 ret = ptrace_get_watch_regs(child, addrp); in arch_ptrace()
1297 ret = ptrace_set_watch_regs(child, addrp); in arch_ptrace()

12