Home
last modified time | relevance | path

Searched refs:tmp_addr (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/via/
Dvia_verifier.c350 register uint32_t tmp, *tmp_addr; in investigate_hazard() local
428 tmp_addr = &cur_seq->t_addr[cur_seq->texture][tmp]; in investigate_hazard()
429 *tmp_addr = (*tmp_addr & 0xFF000000) | (cmd & 0x00FFFFFF); in investigate_hazard()
435 tmp_addr = &cur_seq->t_addr[cur_seq->texture][tmp]; in investigate_hazard()
436 *tmp_addr = (*tmp_addr & 0x00FFFFFF) | ((cmd & 0xFF) << 24); in investigate_hazard()
437 tmp_addr++; in investigate_hazard()
438 *tmp_addr = (*tmp_addr & 0x00FFFFFF) | ((cmd & 0xFF00) << 16); in investigate_hazard()
439 tmp_addr++; in investigate_hazard()
440 *tmp_addr = (*tmp_addr & 0x00FFFFFF) | ((cmd & 0xFF0000) << 8); in investigate_hazard()
468 tmp_addr = &cur_seq->t_addr[cur_seq->texture][9]; in investigate_hazard()
[all …]
/kernel/linux/linux-5.10/samples/bpf/
Dtest_probe_write_user_user.c14 struct sockaddr serv_addr, mapped_addr, tmp_addr; in main() local
25 tmp_addr_in = (struct sockaddr_in *)&tmp_addr; in main()
89 sockaddr_len = sizeof(tmp_addr); in main()
91 assert((serverconnfd = accept(serverfd, &tmp_addr, &sockaddr_len)) > 0); in main()
95 sockaddr_len = sizeof(tmp_addr); in main()
96 assert(getpeername(clientfd, &tmp_addr, &sockaddr_len) == 0); in main()
102 assert(memcmp(&serv_addr, &tmp_addr, sizeof(struct sockaddr_in)) == 0); in main()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dadi_64.c256 unsigned long tmp_addr; in alloc_tag_store() local
259 tmp_addr = end_addr - (size*2*adi_blksize()) + 1; in alloc_tag_store()
263 if (tmp_addr > addr) { in alloc_tag_store()
265 tmp_addr = end_addr - (size*2*adi_blksize()) - 1; in alloc_tag_store()
270 if (tmp_addr > addr) in alloc_tag_store()
271 tmp_addr = 0; in alloc_tag_store()
273 if (tmp_addr < hole_start) { in alloc_tag_store()
277 tmp_addr = hole_start + 1; in alloc_tag_store()
279 addr = tmp_addr; in alloc_tag_store()
/kernel/linux/linux-5.10/drivers/watchdog/
Dintel_scu_watchdog.c423 u32 __iomem *tmp_addr; in intel_scu_watchdog_init() local
466 tmp_addr = ioremap(watchdog_device.timer_tbl_ptr->phys_addr, in intel_scu_watchdog_init()
469 if (tmp_addr == NULL) { in intel_scu_watchdog_init()
474 watchdog_device.timer_load_count_addr = tmp_addr++; in intel_scu_watchdog_init()
475 watchdog_device.timer_current_value_addr = tmp_addr++; in intel_scu_watchdog_init()
476 watchdog_device.timer_control_addr = tmp_addr++; in intel_scu_watchdog_init()
477 watchdog_device.timer_clear_interrupt_addr = tmp_addr++; in intel_scu_watchdog_init()
478 watchdog_device.timer_interrupt_status_addr = tmp_addr++; in intel_scu_watchdog_init()
/kernel/linux/linux-5.10/arch/powerpc/kexec/
Dima.c59 unsigned long tmp_addr; in ima_get_kexec_buffer() local
67 ret = do_get_kexec_buffer(prop, len, &tmp_addr, &tmp_size); in ima_get_kexec_buffer()
71 *addr = __va(tmp_addr); in ima_get_kexec_buffer()
/kernel/linux/linux-5.10/drivers/s390/net/
Dqeth_l3_main.c124 struct qeth_ipaddr *tmp_addr) in qeth_l3_delete_ip() argument
129 if (tmp_addr->type == QETH_IP_TYPE_RXIP) in qeth_l3_delete_ip()
131 else if (tmp_addr->type == QETH_IP_TYPE_VIPA) in qeth_l3_delete_ip()
136 if (tmp_addr->proto == QETH_PROT_IPV4) in qeth_l3_delete_ip()
137 QETH_CARD_HEX(card, 4, &tmp_addr->u.a4.addr, 4); in qeth_l3_delete_ip()
139 QETH_CARD_HEX(card, 4, &tmp_addr->u.a6.addr, 8); in qeth_l3_delete_ip()
140 QETH_CARD_HEX(card, 4, ((char *)&tmp_addr->u.a6.addr) + 8, 8); in qeth_l3_delete_ip()
143 addr = qeth_l3_find_addr_by_ip(card, tmp_addr); in qeth_l3_delete_ip()
144 if (!addr || !qeth_l3_addr_match_all(addr, tmp_addr)) in qeth_l3_delete_ip()
160 static int qeth_l3_add_ip(struct qeth_card *card, struct qeth_ipaddr *tmp_addr) in qeth_l3_add_ip() argument
[all …]
/kernel/linux/linux-5.10/Documentation/sparc/
Dadi.rst187 char *shmaddr, *tmp_addr, *end, *veraddr, *clraddr;
234 tmp_addr = shmaddr;
236 while (tmp_addr < end) {
240 : "r" (tmp_addr), "r" (version));
241 tmp_addr += adi_blksz;
248 tmp_addr = (void *) ((unsigned long)shmaddr << adi_nbits);
249 tmp_addr = (void *) ((unsigned long)tmp_addr >> adi_nbits);
251 | (unsigned long)tmp_addr);
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_xdp_noinline.c431 __u32 tmp_addr = 0; in send_icmp_reply() local
447 tmp_addr = iph->daddr; in send_icmp_reply()
449 iph->saddr = tmp_addr; in send_icmp_reply()
464 __be32 tmp_addr[4]; in send_icmp6_reply() local
477 memcpy(tmp_addr, ip6h->saddr.in6_u.u6_addr32, 16); in send_icmp6_reply()
479 memcpy(ip6h->daddr.in6_u.u6_addr32, tmp_addr, 16); in send_icmp6_reply()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dfsl_qe_udc.c350 unsigned long tmp_addr = 0; in qe_ep_bd_init() local
363 tmp_addr = cpm_muram_alloc(sizeof(struct qe_bd) * (bdring_len + in qe_ep_bd_init()
365 if (IS_ERR_VALUE(tmp_addr)) in qe_ep_bd_init()
368 out_be16(&epparam->rbase, (u16)tmp_addr); in qe_ep_bd_init()
369 out_be16(&epparam->tbase, (u16)(tmp_addr + in qe_ep_bd_init()
375 ep->rxbase = cpm_muram_addr(tmp_addr); in qe_ep_bd_init()
376 ep->txbase = cpm_muram_addr(tmp_addr + (sizeof(struct qe_bd) in qe_ep_bd_init()
2330 unsigned long tmp_addr = 0; in qe_udc_config() local
2351 tmp_addr = cpm_muram_alloc((USB_MAX_ENDPOINTS * in qe_udc_config()
2354 if (IS_ERR_VALUE(tmp_addr)) in qe_udc_config()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbna.h31 u64 tmp_addr = \
33 (_bna_dma_addr)->msb = ((struct bna_dma_addr *)&tmp_addr)->msb; \
34 (_bna_dma_addr)->lsb = ((struct bna_dma_addr *)&tmp_addr)->lsb; \
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_alb.c1229 char tmp_addr[MAX_ADDR_LEN]; in alb_set_mac_address() local
1237 bond_hw_addr_copy(tmp_addr, slave->dev->dev_addr, in alb_set_mac_address()
1243 bond_hw_addr_copy(slave->dev->dev_addr, tmp_addr, in alb_set_mac_address()
1260 bond_hw_addr_copy(tmp_addr, rollback_slave->dev->dev_addr, in alb_set_mac_address()
1264 bond_hw_addr_copy(rollback_slave->dev->dev_addr, tmp_addr, in alb_set_mac_address()
1749 u8 tmp_addr[MAX_ADDR_LEN]; in bond_alb_handle_active_change() local
1751 bond_hw_addr_copy(tmp_addr, new_slave->dev->dev_addr, in bond_alb_handle_active_change()
1761 bond_hw_addr_copy(new_slave->dev->dev_addr, tmp_addr, in bond_alb_handle_active_change()
/kernel/linux/linux-5.10/net/mac80211/
Diface.c1717 u8 tmp_addr[ETH_ALEN]; in ieee80211_assign_perm_addr() local
1814 tmp_addr[5] = addr >> 0*8; in ieee80211_assign_perm_addr()
1815 tmp_addr[4] = addr >> 1*8; in ieee80211_assign_perm_addr()
1816 tmp_addr[3] = addr >> 2*8; in ieee80211_assign_perm_addr()
1817 tmp_addr[2] = addr >> 3*8; in ieee80211_assign_perm_addr()
1818 tmp_addr[1] = addr >> 4*8; in ieee80211_assign_perm_addr()
1819 tmp_addr[0] = addr >> 5*8; in ieee80211_assign_perm_addr()
1824 if (ether_addr_equal(tmp_addr, sdata->vif.addr)) { in ieee80211_assign_perm_addr()
1831 memcpy(perm_addr, tmp_addr, ETH_ALEN); in ieee80211_assign_perm_addr()
/kernel/linux/linux-5.10/drivers/edac/
Damd64_edac.c1178 u64 cc6_base, tmp_addr; in get_error_address() local
1204 tmp_addr = (addr & GENMASK_ULL(23, 12)) << __fls(intlv_en + 1); in get_error_address()
1207 tmp_addr |= (tmp & GENMASK_ULL(23, 21)) >> 9; in get_error_address()
1210 tmp_addr |= addr & GENMASK_ULL(11, 0); in get_error_address()
1212 return cc6_base | tmp_addr; in get_error_address()
1890 u32 swap_reg, swap_base, swap_limit, rgn_size, tmp_addr; in f1x_swap_interleaved_region() local
1906 tmp_addr = sys_addr >> 27; in f1x_swap_interleaved_region()
1909 (((tmp_addr >= swap_base) && in f1x_swap_interleaved_region()
1910 (tmp_addr <= swap_limit)) || in f1x_swap_interleaved_region()
1911 (tmp_addr < rgn_size))) in f1x_swap_interleaved_region()
/kernel/linux/linux-5.10/mm/
Dpercpu.c1296 static struct pcpu_chunk * __init pcpu_alloc_first_chunk(unsigned long tmp_addr, in pcpu_alloc_first_chunk() argument
1305 aligned_addr = tmp_addr & PAGE_MASK; in pcpu_alloc_first_chunk()
1307 start_offset = tmp_addr - aligned_addr; in pcpu_alloc_first_chunk()
2414 unsigned long tmp_addr; in pcpu_setup_first_chunk() local
2566 tmp_addr = (unsigned long)base_addr + static_size; in pcpu_setup_first_chunk()
2568 chunk = pcpu_alloc_first_chunk(tmp_addr, map_size); in pcpu_setup_first_chunk()
2574 tmp_addr = (unsigned long)base_addr + static_size + in pcpu_setup_first_chunk()
2577 chunk = pcpu_alloc_first_chunk(tmp_addr, map_size); in pcpu_setup_first_chunk()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c1172 void *tmp_addr; in __qlcnic_fw_cmd_get_minidump_temp() local
1177 tmp_addr = dma_alloc_coherent(&adapter->pdev->dev, temp_size, in __qlcnic_fw_cmd_get_minidump_temp()
1179 if (!tmp_addr) in __qlcnic_fw_cmd_get_minidump_temp()
1192 tmp_buf = tmp_addr; in __qlcnic_fw_cmd_get_minidump_temp()
1201 dma_free_coherent(&adapter->pdev->dev, temp_size, tmp_addr, tmp_addr_t); in __qlcnic_fw_cmd_get_minidump_temp()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c895 __be32 tmp_addr = rev_tuple.ip.src_v4; in mlx5_tc_ct_shared_counter_get() local
898 rev_tuple.ip.dst_v4 = tmp_addr; in mlx5_tc_ct_shared_counter_get()
900 struct in6_addr tmp_addr = rev_tuple.ip.src_v6; in mlx5_tc_ct_shared_counter_get() local
903 rev_tuple.ip.dst_v6 = tmp_addr; in mlx5_tc_ct_shared_counter_get()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4proc.c1178 struct sockaddr_storage tmp_addr; in nfsd4_interssc_connect() local
1188 (struct sockaddr *)&tmp_addr, in nfsd4_interssc_connect()
1189 sizeof(tmp_addr)); in nfsd4_interssc_connect()
1193 if (tmp_addr.ss_family == AF_INET6) { in nfsd4_interssc_connect()
1210 rpc_ntop((struct sockaddr *)&tmp_addr, ipaddr, len); in nfsd4_interssc_connect()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/
Dehea_main.c461 u64 tmp_addr; in ehea_refill_rq_def() local
477 tmp_addr = ehea_map_vaddr(skb->data); in ehea_refill_rq_def()
478 if (tmp_addr == -1) { in ehea_refill_rq_def()
489 rwqe->sg_list[0].vaddr = tmp_addr; in ehea_refill_rq_def()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm80xx_hwi.c4170 __le64 tmp_addr; in pm80xx_chip_smp_req() local
4208 tmp_addr = cpu_to_le64((u64)sg_dma_address(&task->smp_task.smp_req)); in pm80xx_chip_smp_req()
4209 preq_dma_addr = (char *)phys_to_virt(tmp_addr); in pm80xx_chip_smp_req()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0024_linux_drivers_input.patch2969 + unsigned char tmp_addr = (unsigned char)addr;
2982 + retval = i2c_master_send(client, &tmp_addr, 1);
3000 + retval = i2c_master_send(client, &tmp_addr, 1);
3088 + int tmp_addr = addr;
3101 + *buf = tmp_addr;