Home
last modified time | relevance | path

Searched refs:ptr32 (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dcmpxchg.c17 volatile u32 *ptr32; in __xchg_small() local
40 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __xchg_small()
48 : "=&r" (old32), "=&r" (temp), "=ZC" (*ptr32) in __xchg_small()
49 : "ZC" (*ptr32), "Jr" (mask), "Jr" (val << shift) in __xchg_small()
59 volatile u32 *ptr32; in __cmpxchg_small() local
85 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __cmpxchg_small()
99 : "=&r" (old32), "=&r" (temp), "=ZC" (*ptr32) in __cmpxchg_small()
100 : "ZC" (*ptr32), "Jr" (mask), "Jr" (old), "Jr" (new) in __cmpxchg_small()
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dcmpxchg.c13 volatile u32 *ptr32; in __xchg_small() local
38 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __xchg_small()
39 load32 = *ptr32; in __xchg_small()
44 load32 = cmpxchg(ptr32, old32, new32); in __xchg_small()
54 volatile u32 *ptr32; in __cmpxchg_small() local
80 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __cmpxchg_small()
81 load32 = *ptr32; in __cmpxchg_small()
100 load32 = cmpxchg(ptr32, old32, new32); in __cmpxchg_small()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dcmpxchg.c13 volatile u32 *ptr32; in __xchg_small() local
38 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __xchg_small()
39 load32 = *ptr32; in __xchg_small()
44 load32 = arch_cmpxchg(ptr32, old32, new32); in __xchg_small()
54 volatile u32 *ptr32; in __cmpxchg_small() local
80 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __cmpxchg_small()
81 load32 = *ptr32; in __cmpxchg_small()
100 load32 = arch_cmpxchg(ptr32, old32, new32); in __cmpxchg_small()
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dcmpxchg.h30 volatile u32 *ptr32; in __xchg_small() local
49 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __xchg_small()
57 : "=&r" (old32), "=&r" (temp), "=ZC" (*ptr32) in __xchg_small()
58 : "ZC" (*ptr32), "Jr" (mask), "Jr" (val << shift) in __xchg_small()
119 volatile u32 *ptr32; in __cmpxchg_small() local
141 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __cmpxchg_small()
155 : "=&r" (old32), "=&r" (temp), "=ZC" (*ptr32) in __cmpxchg_small()
156 : "ZC" (*ptr32), "Jr" (mask), "Jr" (old), "Jr" (new) in __cmpxchg_small()
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Drseq.h58 __u32 ptr32; member
60 __u32 ptr32;
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Drseq.h58 __u32 ptr32; member
60 __u32 ptr32;
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Drseq.h54 __u32 ptr32; member
56 __u32 ptr32;
/kernel/linux/linux-5.10/fs/adfs/
H A Ddir_f.c74 union { __le32 *ptr32; u8 *ptr8; } ptr, end; in adfs_dir_checkbyte() member
117 __le32 v = *ptr.ptr32++; in adfs_dir_checkbyte()
119 } while (ptr.ptr32 < end.ptr32); in adfs_dir_checkbyte()
/kernel/linux/linux-6.6/fs/adfs/
H A Ddir_f.c74 union { __le32 *ptr32; u8 *ptr8; } ptr, end; in adfs_dir_checkbyte() member
117 __le32 v = *ptr.ptr32++; in adfs_dir_checkbyte()
119 } while (ptr.ptr32 < end.ptr32); in adfs_dir_checkbyte()
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
H A Dprism2fw.c879 u32 *ptr32, len, addr; in read_fwfile() local
890 ptr32 = (u32 *)record->data; in read_fwfile()
896 startaddr = *ptr32; in read_fwfile()
902 s3plug[ns3plug].itemcode = *ptr32; in read_fwfile()
903 s3plug[ns3plug].addr = *(ptr32 + 1); in read_fwfile()
904 s3plug[ns3plug].len = *(ptr32 + 2); in read_fwfile()
919 s3crc[ns3crc].addr = *ptr32; in read_fwfile()
920 s3crc[ns3crc].len = *(ptr32 + 1); in read_fwfile()
921 s3crc[ns3crc].dowrite = *(ptr32 + 2); in read_fwfile()
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/
H A Dprism2fw.c857 u32 *ptr32, len, addr; in read_fwfile() local
868 ptr32 = (u32 *)record->data; in read_fwfile()
874 startaddr = *ptr32; in read_fwfile()
880 s3plug[ns3plug].itemcode = *ptr32; in read_fwfile()
881 s3plug[ns3plug].addr = *(ptr32 + 1); in read_fwfile()
882 s3plug[ns3plug].len = *(ptr32 + 2); in read_fwfile()
897 s3crc[ns3crc].addr = *ptr32; in read_fwfile()
898 s3crc[ns3crc].len = *(ptr32 + 1); in read_fwfile()
899 s3crc[ns3crc].dowrite = *(ptr32 + 2); in read_fwfile()
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/
H A Dip22-gio.c275 u32 *ptr32; in ip22_gio_id() local
277 ptr32 = (void *)CKSEG1ADDR(addr); in ip22_gio_id()
278 if (!get_dbe(tmp32, ptr32)) { in ip22_gio_id()
/kernel/linux/linux-6.6/arch/mips/sgi-ip22/
H A Dip22-gio.c274 u32 *ptr32; in ip22_gio_id() local
276 ptr32 = (void *)CKSEG1ADDR(addr); in ip22_gio_id()
277 if (!get_dbe(tmp32, ptr32)) { in ip22_gio_id()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dkgdb.c188 u32 *ptr32; \
189 ptr32 = (u32 *)ptr; \
190 *(ptr32++) = (src); \
191 ptr = (unsigned long *)ptr32; \
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dkgdb.c185 u32 *ptr32; \
186 ptr32 = (u32 *)ptr; \
187 *(ptr32++) = (src); \
188 ptr = (unsigned long *)ptr32; \
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/
H A Dsun3_82586.c65 #define make24(ptr32) (char *)swab32(( ((unsigned long) (ptr32)) - p->base))
66 #define make16(ptr32) (swab16((unsigned short) ((unsigned long)(ptr32) - (unsigned long) p->memtop )))
/kernel/linux/linux-6.6/drivers/net/ethernet/i825xx/
H A Dsun3_82586.c67 #define make24(ptr32) (char *)swab32(( ((unsigned long) (ptr32)) - p->base))
68 #define make16(ptr32) (swab16((unsigned short) ((unsigned long)(ptr32) - (unsigned long) p->memtop )))
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c972 __le32 *ptr32; in netxen_get_flash_block() local
976 ptr32 = buf; in netxen_get_flash_block()
982 *ptr32 = cpu_to_le32(v); in netxen_get_flash_block()
983 ptr32++; in netxen_get_flash_block()
986 if ((char *)buf + size > (char *)ptr32) { in netxen_get_flash_block()
992 memcpy(ptr32, &local, (char *)buf + size - (char *)ptr32); in netxen_get_flash_block()
H A Dnetxen_nic_main.c820 __le32 *ptr32; in netxen_check_options() local
825 ptr32 = (__le32 *)&serial_num; in netxen_check_options()
834 ptr32[i] = cpu_to_le32(val); in netxen_check_options()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c972 __le32 *ptr32; in netxen_get_flash_block() local
976 ptr32 = buf; in netxen_get_flash_block()
982 *ptr32 = cpu_to_le32(v); in netxen_get_flash_block()
983 ptr32++; in netxen_get_flash_block()
986 if ((char *)buf + size > (char *)ptr32) { in netxen_get_flash_block()
992 memcpy(ptr32, &local, (char *)buf + size - (char *)ptr32); in netxen_get_flash_block()
H A Dnetxen_nic_main.c820 __le32 *ptr32; in netxen_check_options() local
825 ptr32 = (__le32 *)&serial_num; in netxen_check_options()
834 ptr32[i] = cpu_to_le32(val); in netxen_check_options()
/kernel/linux/linux-6.6/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_dev.c380 compat_uptr_t ptr32; in vchiq_get_user_ptr() local
383 ret = get_user(ptr32, uptr + index); in vchiq_get_user_ptr()
387 *buf = compat_ptr(ptr32); in vchiq_get_user_ptr()
/kernel/linux/linux-6.6/drivers/video/
H A Dsticore.c46 u32 *ptr32 = ptr; in store_sti_val() local
58 *ptr32++ = val; in store_sti_val()
59 return ptr32; in store_sti_val()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_arm.c1056 compat_uptr_t ptr32; in vchiq_get_user_ptr() local
1058 ret = get_user(ptr32, uptr + index); in vchiq_get_user_ptr()
1059 *buf = compat_ptr(ptr32); in vchiq_get_user_ptr()

Completed in 32 milliseconds