Home
last modified time | relevance | path

Searched refs:swap (Results 1 - 25 of 1267) sorted by relevance

12345678910>>...51

/kernel/linux/linux-5.10/arch/arm/vdso/
H A Dvdsomunge.c101 static Elf32_Word read_elf_word(Elf32_Word word, bool swap) in read_elf_word() argument
103 return swap ? swab32(word) : word; in read_elf_word()
106 static Elf32_Half read_elf_half(Elf32_Half half, bool swap) in read_elf_half() argument
108 return swap ? swab16(half) : half; in read_elf_half()
111 static void write_elf_word(Elf32_Word val, Elf32_Word *dst, bool swap) in write_elf_word() argument
113 *dst = swap ? swab32(val) : val; in write_elf_word()
125 bool swap; in main() local
159 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
161 if (read_elf_half(inhdr->e_type, swap) != ET_DYN) in main()
164 if (read_elf_half(inhdr->e_machine, swap) ! in main()
[all...]
/kernel/linux/linux-6.6/arch/arm/vdso/
H A Dvdsomunge.c101 static Elf32_Word read_elf_word(Elf32_Word word, bool swap) in read_elf_word() argument
103 return swap ? swab32(word) : word; in read_elf_word()
106 static Elf32_Half read_elf_half(Elf32_Half half, bool swap) in read_elf_half() argument
108 return swap ? swab16(half) : half; in read_elf_half()
111 static void write_elf_word(Elf32_Word val, Elf32_Word *dst, bool swap) in write_elf_word() argument
113 *dst = swap ? swab32(val) : val; in write_elf_word()
125 bool swap; in main() local
159 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
161 if (read_elf_half(inhdr->e_type, swap) != ET_DYN) in main()
164 if (read_elf_half(inhdr->e_machine, swap) ! in main()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/xlnx/
H A Dzynqmp_disp.c71 * @swap: Flag to swap R & B for RGB formats, and U & V for YUV formats
77 bool swap; member
192 .swap = true,
197 .swap = false,
202 .swap = false,
207 .swap = true,
212 .swap = false,
217 .swap = true,
222 .swap
726 unsigned int swap[3] = { 0, 1, 2 }; zynqmp_disp_blend_layer_set_csc() local
[all...]
/kernel/linux/linux-5.10/tools/lib/traceevent/
H A Devent-parse-api.c97 unsigned short swap; in data2host2() local
102 swap = ((data & 0xffULL) << 8) | in data2host2()
105 return swap; in data2host2()
110 unsigned int swap; in data2host4() local
115 swap = ((data & 0xffULL) << 24) | in data2host4()
120 return swap; in data2host4()
126 unsigned long long swap; in data2host8() local
131 swap = ((data & 0xffULL) << 56) | in data2host8()
140 return swap; in data2host8()
/kernel/linux/linux-5.10/kernel/power/
H A Duser.c16 #include <linux/swap.h>
33 int swap; member
73 data->swap = swap_type_of(swsusp_resume_device, 0); in snapshot_open()
84 data->swap = -1; in snapshot_open()
115 free_all_swap_pages(data->swap); in snapshot_release()
238 data->swap = swap_type_of(swdev, offset); in snapshot_set_swap_area()
239 if (data->swap < 0) in snapshot_set_swap_area()
355 size = count_swap_pages(data->swap, 1); in snapshot_ioctl()
361 if (data->swap < 0 || data->swap > in snapshot_ioctl()
[all...]
/kernel/linux/linux-6.6/kernel/power/
H A Duser.c16 #include <linux/swap.h>
33 int swap; member
74 data->swap = swap_type_of(swsusp_resume_device, 0); in snapshot_open()
85 data->swap = -1; in snapshot_open()
117 free_all_swap_pages(data->swap); in snapshot_release()
242 data->swap = swap_type_of(swdev, offset); in snapshot_set_swap_area()
243 if (data->swap < 0) in snapshot_set_swap_area()
359 size = count_swap_pages(data->swap, 1); in snapshot_ioctl()
365 if (data->swap < 0 || data->swap > in snapshot_ioctl()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/
H A Dzynqmp_disp.c83 * @swap: Flag to swap R & B for RGB formats, and U & V for YUV formats
90 bool swap; member
262 .swap = true,
267 .swap = false,
272 .swap = false,
277 .swap = true,
282 .swap = false,
287 .swap = true,
292 .swap
795 unsigned int swap[3] = { 0, 1, 2 }; zynqmp_disp_blend_layer_set_csc() local
[all...]
/kernel/linux/linux-5.10/include/linux/mtd/
H A Dcfi_endian.h29 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x))
30 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x))
31 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x))
32 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x))
33 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x))
34 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x))
/kernel/linux/linux-6.6/include/linux/mtd/
H A Dcfi_endian.h29 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x))
30 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x))
31 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x))
32 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x))
33 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x))
34 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x))
/kernel/linux/linux-5.10/sound/firewire/bebob/
H A Dbebob_focusrite.c250 swap(buf[1], buf[3]); in saffire_meter_get()
251 swap(buf[2], buf[3]); in saffire_meter_get()
252 swap(buf[3], buf[4]); in saffire_meter_get()
254 swap(buf[7], buf[10]); in saffire_meter_get()
255 swap(buf[8], buf[10]); in saffire_meter_get()
256 swap(buf[9], buf[11]); in saffire_meter_get()
257 swap(buf[11], buf[12]); in saffire_meter_get()
259 swap(buf[15], buf[16]); in saffire_meter_get()
/kernel/linux/linux-6.6/sound/firewire/bebob/
H A Dbebob_focusrite.c250 swap(buf[1], buf[3]); in saffire_meter_get()
251 swap(buf[2], buf[3]); in saffire_meter_get()
252 swap(buf[3], buf[4]); in saffire_meter_get()
254 swap(buf[7], buf[10]); in saffire_meter_get()
255 swap(buf[8], buf[10]); in saffire_meter_get()
256 swap(buf[9], buf[11]); in saffire_meter_get()
257 swap(buf[11], buf[12]); in saffire_meter_get()
259 swap(buf[15], buf[16]); in saffire_meter_get()
/kernel/linux/linux-5.10/drivers/ata/
H A Dpata_falcon.c51 bool swap = 1; in pata_falcon_data_xfer() local
55 swap = 0; in pata_falcon_data_xfer()
59 if (swap) in pata_falcon_data_xfer()
64 if (swap) in pata_falcon_data_xfer()
78 if (swap) in pata_falcon_data_xfer()
85 if (swap) in pata_falcon_data_xfer()
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
H A Dp80211wep.c129 swap(i, j); in wep_decrypt()
138 swap(i, j); in wep_decrypt()
152 swap(i, j); in wep_decrypt()
200 swap(i, j); in wep_encrypt()
209 swap(i, j); in wep_encrypt()
223 swap(i, j); in wep_encrypt()
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/
H A Dp80211wep.c108 swap(i, j); in wep_decrypt()
117 swap(i, j); in wep_decrypt()
131 swap(i, j); in wep_decrypt()
179 swap(i, j); in wep_encrypt()
188 swap(i, j); in wep_encrypt()
202 swap(i, j); in wep_encrypt()
/kernel/linux/linux-5.10/arch/m68k/math-emu/
H A Dfp_move.S49 swap %d1 | one can be trashed below
83 swap %d1
99 swap %d2
111 swap %d2
122 swap %d2
130 swap %d2
191 swap %d2
H A Dfp_cond.S63 swap %d0
68 swap %d0
83 swap %d1 | test condition in %d1
103 swap %d1
118 swap %d1
120 swap %d1
165 swap %d1
/kernel/linux/linux-6.6/arch/m68k/math-emu/
H A Dfp_move.S49 swap %d1 | one can be trashed below
83 swap %d1
99 swap %d2
111 swap %d2
122 swap %d2
130 swap %d2
191 swap %d2
H A Dfp_cond.S63 swap %d0
68 swap %d0
83 swap %d1 | test condition in %d1
103 swap %d1
118 swap %d1
120 swap %d1
165 swap %d1
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
H A Dplane.c65 copy->swap = state->swap; in tegra_plane_atomic_duplicate_state()
326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument
329 if (swap) in tegra_plane_format()
330 *swap = BYTE_SWAP_NOSWAP; in tegra_plane_format()
410 if (!swap) in tegra_plane_format()
414 *swap = BYTE_SWAP_SWAP2; in tegra_plane_format()
418 if (!swap) in tegra_plane_format()
422 *swap = BYTE_SWAP_SWAP4; in tegra_plane_format()
426 if (!swap) in tegra_plane_format()
[all...]
/kernel/linux/linux-5.10/arch/sh/lib/
H A Dudivsi3_i4i-Os.S31 swap.w r4,r0
47 swap.w r4,r4
53 swap.w r0,r0
103 swap.w r4,r0
115 swap.w r4,r0
/kernel/linux/linux-6.6/arch/sh/lib/
H A Dudivsi3_i4i-Os.S31 swap.w r4,r0
47 swap.w r4,r4
53 swap.w r0,r0
103 swap.w r4,r0
115 swap.w r4,r0
/kernel/linux/linux-5.10/arch/nds32/kernel/
H A Dmodule.c31 unsigned int partial_in_place, unsigned int swap) in do_reloc16()
38 "1:\n":"=r"(tmp):"0"(tmp), "r"(loc), "r"(swap) in do_reloc16()
54 "r"(loc), "r"(swap) in do_reloc16()
60 unsigned int partial_in_place, unsigned int swap) in do_reloc32()
68 "1:\n":"=r"(tmp):"0"(tmp), "r"(loc), "r"(swap) in do_reloc32()
85 "r"(loc), "r"(swap) in do_reloc32()
29 do_reloc16(unsigned int val, unsigned int *loc, unsigned int val_mask, unsigned int val_shift, unsigned int loc_mask, unsigned int partial_in_place, unsigned int swap) do_reloc16() argument
58 do_reloc32(unsigned int val, unsigned int *loc, unsigned int val_mask, unsigned int val_shift, unsigned int loc_mask, unsigned int partial_in_place, unsigned int swap) do_reloc32() argument
/kernel/linux/linux-6.6/drivers/ata/
H A Dpata_falcon.c38 MODULE_PARM_DESC(data_swab, "Data byte swap enable/disable bitmap (0x1==drive1, 0x2==drive2, 0x4==drive3, 0x8==drive4, default==0)");
53 bool swap = 1; in pata_falcon_data_xfer() local
57 swap = (uintptr_t)ap->private_data & BIT(dev->devno); in pata_falcon_data_xfer()
61 if (swap) in pata_falcon_data_xfer()
66 if (swap) in pata_falcon_data_xfer()
80 if (swap) in pata_falcon_data_xfer()
87 if (swap) in pata_falcon_data_xfer()
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/src/
H A Dilsp.S299 swap %d5 # same as r*b if previous step rqd
300 swap %d6 # get u3 to lsw position
306 swap %d6 # get u4
311 swap %d1
314 swap %d5 # now remainder
344 swap %d2
345 swap %d3
363 swap %d6 # in lsw position
367 swap %d3
372 swap
[all...]
/kernel/linux/linux-6.6/arch/m68k/ifpsp060/src/
H A Dilsp.S299 swap %d5 # same as r*b if previous step rqd
300 swap %d6 # get u3 to lsw position
306 swap %d6 # get u4
311 swap %d1
314 swap %d5 # now remainder
344 swap %d2
345 swap %d3
363 swap %d6 # in lsw position
367 swap %d3
372 swap
[all...]

Completed in 12 milliseconds

12345678910>>...51