Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/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.h198 dma_addr_t *addrp);
/linux-6.12.1/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.12.1/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.12.1/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()
Dversal_edac.c1053 const __be32 *addrp; in emif_get_id() local
1055 addrp = of_get_address(node, 0, NULL, NULL); in emif_get_id()
1056 my_addr = (u32)of_translate_address(node, addrp); in emif_get_id()
1062 addrp = of_get_address(np, 0, NULL, NULL); in emif_get_id()
1063 addr = (u32)of_translate_address(np, addrp); in emif_get_id()
/linux-6.12.1/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.12.1/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.12.1/drivers/video/fbdev/
Doffb.c306 const __be32 *addrp; in offb_map_reg() local
310 addrp = of_get_pci_address(np, index, &asize, &flags); in offb_map_reg()
311 if (addrp == NULL) in offb_map_reg()
312 addrp = of_get_address(np, index, &asize, &flags); in offb_map_reg()
313 if (addrp == NULL) in offb_map_reg()
319 taddr = of_translate_address(np, addrp); in offb_map_reg()
542 const __be32 *pp, *addrp, *up; in offb_init_nodriver() local
602 for (i = 0; (addrp = of_get_address(dp, i, &asize, &flags)) in offb_init_nodriver()
610 rstart = of_translate_address(dp, addrp); in offb_init_nodriver()
/linux-6.12.1/drivers/i2c/
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()
70 static int smbus_do_alert_force(struct device *dev, void *addrp) in smbus_do_alert_force() argument
73 struct alert_data *data = addrp; in smbus_do_alert_force()
Di2c-dev.c188 static int i2cdev_check(struct device *dev, void *addrp) in i2cdev_check() argument
192 if (!client || client->addr != *(unsigned int *)addrp) in i2cdev_check()
212 static int i2cdev_check_mux_children(struct device *dev, void *addrp) in i2cdev_check_mux_children() argument
217 result = device_for_each_child(dev, addrp, in i2cdev_check_mux_children()
220 result = i2cdev_check(dev, addrp); in i2cdev_check_mux_children()
Di2c-core-base.c782 static int __i2c_check_addr_busy(struct device *dev, void *addrp) in __i2c_check_addr_busy() argument
785 int addr = *(int *)addrp; in __i2c_check_addr_busy()
808 static int i2c_check_mux_children(struct device *dev, void *addrp) in i2c_check_mux_children() argument
813 result = device_for_each_child(dev, addrp, in i2c_check_mux_children()
816 result = __i2c_check_addr_busy(dev, addrp); in i2c_check_mux_children()
/linux-6.12.1/arch/powerpc/platforms/powernv/
Dopal-prd.c65 const __be32 *addrp; in opal_prd_range_is_valid() local
68 addrp = of_get_address(node, 0, &range_size, NULL); in opal_prd_range_is_valid()
69 if (!addrp) in opal_prd_range_is_valid()
72 range_addr = of_read_number(addrp, 2); in opal_prd_range_is_valid()
/linux-6.12.1/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.12.1/arch/powerpc/platforms/pseries/
Dsetup.c217 const u32 *addrp; in pseries_setup_i8259_cascade() local
247 addrp = of_get_property(np, "8259-interrupt-acknowledge", NULL); in pseries_setup_i8259_cascade()
248 if (addrp == NULL) in pseries_setup_i8259_cascade()
251 intack = addrp[naddr-1]; in pseries_setup_i8259_cascade()
253 intack |= ((unsigned long)addrp[naddr-2]) << 32; in pseries_setup_i8259_cascade()
/linux-6.12.1/drivers/of/
Daddress.c1049 const __be32 *addrp; in __of_address_to_resource() local
1054 addrp = __of_get_address(dev, index, bar_no, &size, &flags); in __of_address_to_resource()
1055 if (addrp == NULL) in __of_address_to_resource()
1063 taddr = of_translate_address(dev, addrp); in __of_address_to_resource()
1065 taddr = of_translate_ioport(dev, addrp, size); in __of_address_to_resource()
/linux-6.12.1/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.12.1/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()
/linux-6.12.1/security/selinux/
Dhooks.c4475 char *addrp; in selinux_parse_skb() local
4483 addrp = (char *)(src ? &ad->u.net->v4info.saddr : in selinux_parse_skb()
4492 addrp = (char *)(src ? &ad->u.net->v6info.saddr : in selinux_parse_skb()
4497 addrp = NULL; in selinux_parse_skb()
4509 *_addrp = addrp; in selinux_parse_skb()
4706 char *addrp; in selinux_socket_bind() local
4746 addrp = (char *)&addr4->sin_addr.s_addr; in selinux_socket_bind()
4753 addrp = (char *)&addr6->sin6_addr.s6_addr; in selinux_socket_bind()
4805 err = sel_netnode_sid(addrp, family_sa, &sid); in selinux_socket_bind()
5056 char *addrp, u16 family, u32 peer_sid, in selinux_inet_sys_rcv_skb() argument
[all …]
/linux-6.12.1/tools/perf/util/
Dtrace-event.h29 unsigned long long *addrp, char **modp);
/linux-6.12.1/arch/mips/kernel/
Dptrace.c1086 void __user *addrp = (void __user *) addr; in arch_ptrace() local
1301 ret = ptrace_get_watch_regs(child, addrp); in arch_ptrace()
1305 ret = ptrace_set_watch_regs(child, addrp); in arch_ptrace()
/linux-6.12.1/tools/hv/
Dhv_kvp_daemon.c775 static int kvp_process_ip_address(void *addrp, in kvp_process_ip_address() argument
786 addr = addrp; in kvp_process_ip_address()
790 addr6 = addrp; in kvp_process_ip_address()
/linux-6.12.1/drivers/fsi/
Dfsi-core.c171 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr() argument
174 uint32_t addr = *addrp; in fsi_slave_calc_addr()
190 *addrp = addr; in fsi_slave_calc_addr()

12