Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/linux-6.15/arch/arc/kernel/
H A Dsignal.c115 uregs.scratch.fp = regs->fp; in stash_usr_regs()
120 uregs.scratch.r9 = regs->r9; in stash_usr_regs()
121 uregs.scratch.r8 = regs->r8; in stash_usr_regs()
122 uregs.scratch.r7 = regs->r7; in stash_usr_regs()
123 uregs.scratch.r6 = regs->r6; in stash_usr_regs()
124 uregs.scratch.r5 = regs->r5; in stash_usr_regs()
125 uregs.scratch.r4 = regs->r4; in stash_usr_regs()
126 uregs.scratch.r3 = regs->r3; in stash_usr_regs()
127 uregs.scratch.r2 = regs->r2; in stash_usr_regs()
128 uregs.scratch.r1 = regs->r1; in stash_usr_regs()
[all …]
H A Dptrace.c197 REG_IGNORE_ONE(scratch.status32); in genregs_set()
201 REG_IN_ONE(scratch.fp, &ptregs->fp); in genregs_set()
206 REG_IN_ONE(scratch.r9, &ptregs->r9); in genregs_set()
207 REG_IN_ONE(scratch.r8, &ptregs->r8); in genregs_set()
208 REG_IN_ONE(scratch.r7, &ptregs->r7); in genregs_set()
209 REG_IN_ONE(scratch.r6, &ptregs->r6); in genregs_set()
210 REG_IN_ONE(scratch.r5, &ptregs->r5); in genregs_set()
211 REG_IN_ONE(scratch.r4, &ptregs->r4); in genregs_set()
212 REG_IN_ONE(scratch.r3, &ptregs->r3); in genregs_set()
213 REG_IN_ONE(scratch.r2, &ptregs->r2); in genregs_set()
[all …]
/linux-6.15/arch/sparc/include/asm/
H A Dwinmacro.h50 #define LOAD_PT_YREG(base_reg, scratch) \ argument
52 wr %scratch, 0x0, %y;
78 rd %y, %scratch; \
94 sll %scratch, 2, %scratch; \
95 add %scratch, %cur_reg, %scratch; \
97 sub %scratch, %cur_reg, %scratch; \
98 sll %scratch, 4, %scratch; \
99 add %scratch, %cur_reg, %scratch; \
101 sub %scratch, %cur_reg, %scratch; \
102 srl %scratch, 6, %scratch; \
[all …]
/linux-6.15/drivers/infiniband/hw/irdma/
H A Duda.h40 u32 op, u64 scratch);
43 u64 scratch);
51 struct irdma_ah_info *info, u64 scratch) in irdma_sc_create_ah() argument
54 scratch); in irdma_sc_create_ah()
61 scratch); in irdma_sc_destroy_ah()
66 u64 scratch) in irdma_sc_create_mcast_grp() argument
69 scratch); in irdma_sc_create_mcast_grp()
74 u64 scratch) in irdma_sc_modify_mcast_grp() argument
77 scratch); in irdma_sc_modify_mcast_grp()
82 u64 scratch) in irdma_sc_destroy_mcast_grp() argument
[all …]
H A Dtype.h669 u64 scratch; member
1234 u64 scratch; member
1240 u64 scratch; member
1245 u64 scratch; member
1252 u64 scratch; member
1259 u64 scratch; member
1264 u64 scratch; member
1270 u64 scratch; member
1276 u64 scratch; member
1282 u64 scratch; member
[all …]
/linux-6.15/arch/arc/include/asm/
H A Dirqflags-compact.h185 .macro IRQ_DISABLE scratch
186 lr \scratch, [status32]
187 bic \scratch, \scratch, (STATUS_E1_MASK | STATUS_E2_MASK)
188 flag \scratch
192 .macro IRQ_ENABLE scratch
194 lr \scratch, [status32]
195 or \scratch, \scratch, (STATUS_E1_MASK | STATUS_E2_MASK)
196 flag \scratch
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
H A Ddml2_pmo_dcn3.c124 if (pmo->scratch.pmo_dcn3.current_candidate[0] > 0) { in iterate_to_next_candidiate()
125 pmo->scratch.pmo_dcn3.current_candidate[0]--; in iterate_to_next_candidiate()
132 pmo->scratch.pmo_dcn3.current_candidate[borrow_from]--; in iterate_to_next_candidiate()
134 …pmo->scratch.pmo_dcn3.current_candidate[i] = pmo->scratch.pmo_dcn3.reserved_time_candidates_count[… in iterate_to_next_candidiate()
541 pmo->scratch.pmo_dcn3.stream_mask = 0xF; in pmo_dcn3_init_for_pstate_support()
642 pmo->scratch.pmo_dcn3.current_candidate[stream_index] = in pmo_dcn3_init_for_pstate_support()
659 …pmo->scratch.pmo_dcn3.reserved_time_candidates[stream_index][pmo->scratch.pmo_dcn3.current_candida… in pmo_dcn3_test_for_pstate_support()
677 if (pmo->scratch.pmo_dcn3.cur_latency_index < pmo->scratch.pmo_dcn3.max_latency_index) { in pmo_dcn3_optimize_for_pstate_support()
679 pmo->scratch.pmo_dcn3.cur_latency_index++; in pmo_dcn3_optimize_for_pstate_support()
687 pmo->scratch.pmo_dcn3.cur_latency_index = pmo->scratch.pmo_dcn3.min_latency_index; in pmo_dcn3_optimize_for_pstate_support()
[all …]
H A Ddml2_pmo_dcn4_fams2.c943 struct dml2_pmo_scratch *s = &pmo->scratch; in build_synchronized_timing_groups()
1156scratch->pmo_dcn4.pstate_strategy_candidates[scratch->pmo_dcn4.num_pstate_candidates] = *pstate_st… in insert_into_candidate_list()
1157 scratch->pmo_dcn4.num_pstate_candidates++; in insert_into_candidate_list()
1297 struct dml2_pmo_scratch *s = &pmo->scratch; in is_timing_group_schedulable()
1353 struct dml2_pmo_scratch *s = &pmo->scratch; in is_config_schedulable()
1570 struct dml2_pmo_scratch *s = &pmo->scratch; in validate_pstate_support_strategy_cofunctionality()
1986 struct dml2_pmo_scratch *scratch = &pmo->scratch; in setup_planes_for_svp_by_mask() local
2009 struct dml2_pmo_scratch *scratch = &pmo->scratch; in setup_planes_for_svp_drr_by_mask() local
2109 struct dml2_pmo_scratch *scratch = &pmo->scratch; in setup_display_config() local
2148 &scratch->pmo_dcn4.stream_fams2_meta, in setup_display_config()
[all …]
/linux-6.15/drivers/mmc/host/
H A Dsdhci-pci-o2micro.c112 u16 scratch; in sdhci_o2_enable_internal_clock() local
321 u16 scratch = 0; in sdhci_o2_execute_tuning() local
581 u8 scratch; in sdhci_pci_o2_set_clock() local
596 scratch &= 0x7f; in sdhci_pci_o2_set_clock()
628 scratch |= 0x80; in sdhci_pci_o2_set_clock()
813 u8 scratch; in sdhci_pci_o2_probe() local
827 scratch &= 0x7f; in sdhci_pci_o2_probe()
838 scratch |= 0x20; in sdhci_pci_o2_probe()
847 scratch |= 0x01; in sdhci_pci_o2_probe()
860 scratch |= 0x08; in sdhci_pci_o2_probe()
[all …]
H A Dmmc_spi.c98 struct scratch { struct
122 struct scratch *data; argument
512 struct scratch *scratch = host->data; in mmc_spi_setup_data_message() local
545 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
548 t->rx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
571 t->rx_buf = scratch->status; in mmc_spi_setup_data_message()
595 struct scratch *scratch = host->data; in mmc_spi_writeblock() local
650 scratch->status[0], status); in mmc_spi_writeblock()
689 struct scratch *scratch = host->data; in mmc_spi_readblock() local
699 status = scratch->status[0]; in mmc_spi_readblock()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_dc_resource_mgmt.c770 scratch->mpc_info.mpc_factor, plane_index, &scratch->pipe_pool, existing_state); in map_pipes_for_plane()
777 &scratch->pipe_pool, in map_pipes_for_plane()
1086 scratch.odm_info.odm_factor = 1; in dml2_map_dc_pipes()
1088 scratch.odm_info.odm_factor = 2; in dml2_map_dc_pipes()
1090 scratch.odm_info.odm_factor = 4; in dml2_map_dc_pipes()
1093 scratch.odm_info.odm_factor = 1; in dml2_map_dc_pipes()
1102 scratch.odm_info.odm_factor = 1; in dml2_map_dc_pipes()
1104 scratch.odm_info.odm_factor = 2; in dml2_map_dc_pipes()
1106 scratch.odm_info.odm_factor = 4; in dml2_map_dc_pipes()
1109 scratch.odm_info.odm_factor = 1; in dml2_map_dc_pipes()
[all …]
/linux-6.15/lib/tests/
H A Dkunit_iov_iter.c105 u8 *scratch, *buffer; in iov_kunit_copy_to_kvec() local
114 scratch[i] = pattern(i); in iov_kunit_copy_to_kvec()
155 u8 *scratch, *buffer; in iov_kunit_copy_from_kvec() local
264 u8 *scratch, *buffer; in iov_kunit_copy_to_bvec() local
273 scratch[i] = pattern(i); in iov_kunit_copy_to_bvec()
318 u8 *scratch, *buffer; in iov_kunit_copy_from_bvec() local
422 u8 *scratch, *buffer; in iov_kunit_copy_to_folioq() local
433 scratch[i] = pattern(i); in iov_kunit_copy_to_folioq()
484 u8 *scratch, *buffer; in iov_kunit_copy_from_folioq() local
584 u8 *scratch, *buffer; in iov_kunit_copy_to_xarray() local
[all …]
/linux-6.15/crypto/
H A Dscompress.c70 struct scomp_scratch *scratch; in crypto_scomp_free_scratches() local
76 free_page(scratch->saddr); in crypto_scomp_free_scratches()
77 vfree(scratch->dst); in crypto_scomp_free_scratches()
78 scratch->src = NULL; in crypto_scomp_free_scratches()
79 scratch->dst = NULL; in crypto_scomp_free_scratches()
85 struct scomp_scratch *scratch; in crypto_scomp_alloc_scratches() local
101 scratch->dst = mem; in crypto_scomp_alloc_scratches()
203 src = scratch->src; in scomp_acomp_comp_decomp()
231 dst = scratch->dst; in scomp_acomp_comp_decomp()
258 if (src == scratch->src) in scomp_acomp_comp_decomp()
[all …]
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_parent.c310 struct xfs_da_args *scratch) in xfs_parent_lookup() argument
312 memset(scratch, 0, sizeof(struct xfs_da_args)); in xfs_parent_lookup()
314 return xfs_attr_get_ilocked(scratch); in xfs_parent_lookup()
346 struct xfs_da_args *scratch) in xfs_parent_set() argument
353 memset(scratch, 0, sizeof(struct xfs_da_args)); in xfs_parent_set()
354 xfs_parent_da_args_init(scratch, NULL, pptr, ip, owner, parent_name); in xfs_parent_set()
355 return xfs_attr_set(scratch, XFS_ATTRUPDATE_CREATE, false); in xfs_parent_set()
369 struct xfs_da_args *scratch) in xfs_parent_unset() argument
376 memset(scratch, 0, sizeof(struct xfs_da_args)); in xfs_parent_unset()
377 xfs_parent_da_args_init(scratch, NULL, pptr, ip, owner, parent_name); in xfs_parent_unset()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_dcn20.c98 uint32_t in_reset, scratch, i; in dmub_dcn20_reset() local
124 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn20_reset()
125 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn20_reset()
433 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data()
434 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn20_get_diagnostic_data()
435 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn20_get_diagnostic_data()
436 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn20_get_diagnostic_data()
437 dmub->debug.scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn20_get_diagnostic_data()
438 dmub->debug.scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn20_get_diagnostic_data()
439 dmub->debug.scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn20_get_diagnostic_data()
[all …]
H A Ddmub_dcn31.c111 scratch = REG_READ(DMCUB_SCRATCH7); in dmub_dcn31_reset()
112 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn31_reset()
433 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_diagnostic_data()
434 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn31_get_diagnostic_data()
435 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn31_get_diagnostic_data()
436 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn31_get_diagnostic_data()
437 dmub->debug.scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn31_get_diagnostic_data()
438 dmub->debug.scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn31_get_diagnostic_data()
439 dmub->debug.scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn31_get_diagnostic_data()
440 dmub->debug.scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn31_get_diagnostic_data()
[all …]
H A Ddmub_dcn32.c93 uint32_t in_reset, scratch, i; in dmub_dcn32_reset() local
119 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn32_reset()
120 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn32_reset()
436 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_get_diagnostic_data()
437 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn32_get_diagnostic_data()
438 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn32_get_diagnostic_data()
439 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn32_get_diagnostic_data()
440 dmub->debug.scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn32_get_diagnostic_data()
441 dmub->debug.scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn32_get_diagnostic_data()
442 dmub->debug.scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn32_get_diagnostic_data()
[all …]
H A Ddmub_dcn35.c116 scratch = REG_READ(DMCUB_SCRATCH7); in dmub_dcn35_reset()
117 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn35_reset()
481 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn35_get_diagnostic_data()
482 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn35_get_diagnostic_data()
483 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn35_get_diagnostic_data()
484 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn35_get_diagnostic_data()
485 dmub->debug.scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn35_get_diagnostic_data()
486 dmub->debug.scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn35_get_diagnostic_data()
487 dmub->debug.scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn35_get_diagnostic_data()
488 dmub->debug.scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn35_get_diagnostic_data()
[all …]
H A Ddmub_dcn401.c69 uint32_t in_reset, scratch, pwait_mode; in dmub_dcn401_reset() local
88 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn401_reset()
89 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn401_reset()
434 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn401_get_diagnostic_data()
435 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn401_get_diagnostic_data()
436 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn401_get_diagnostic_data()
437 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn401_get_diagnostic_data()
438 dmub->debug.scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn401_get_diagnostic_data()
439 dmub->debug.scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn401_get_diagnostic_data()
440 dmub->debug.scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn401_get_diagnostic_data()
[all …]
/linux-6.15/arch/x86/include/asm/
H A Dbootparam_utils.h52 static struct boot_params scratch; in sanitize_boot_params() local
54 char *save_base = (char *)&scratch; in sanitize_boot_params()
68 BOOT_PARAM_PRESERVE(scratch), in sanitize_boot_params()
80 memset(&scratch, 0, sizeof(scratch)); in sanitize_boot_params()
/linux-6.15/tools/testing/selftests/powerpc/copyloops/asm/
H A Dppc_asm.h50 #define DCBT_SETUP_STREAMS(from, from_parms, to, to_parms, scratch) \ argument
51 lis scratch,0x8000; /* GO=1 */ \
52 clrldi scratch,scratch,32; \
60 dcbt 0,scratch,0b01010; /* all streams GO */
/linux-6.15/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_dma.c96 dma_addr_t addr = csi->scratch.paddr; in sun4i_csi_setup_scratch_buffer()
255 csi->scratch.size = 0; in sun4i_csi_start_streaming()
257 csi->scratch.size += csi->fmt.plane_fmt[i].sizeimage; in sun4i_csi_start_streaming()
259 csi->scratch.vaddr = dma_alloc_coherent(csi->dev, in sun4i_csi_start_streaming()
260 csi->scratch.size, in sun4i_csi_start_streaming()
261 &csi->scratch.paddr, in sun4i_csi_start_streaming()
263 if (!csi->scratch.vaddr) { in sun4i_csi_start_streaming()
336 dma_free_coherent(csi->dev, csi->scratch.size, csi->scratch.vaddr, in sun4i_csi_start_streaming()
337 csi->scratch.paddr); in sun4i_csi_start_streaming()
364 dma_free_coherent(csi->dev, csi->scratch.size, csi->scratch.vaddr, in sun4i_csi_stop_streaming()
[all …]
/linux-6.15/drivers/usb/host/
H A Dehci-dbg.c373 u32 scratch; in qh_lines() local
401 qh, scratch & 0x007f, in qh_lines()
402 speed_char (scratch), in qh_lines()
403 (scratch >> 8) & 0x000f, in qh_lines()
451 scratch, in qh_lines()
615 speed_char(scratch), scratch & 0x007f, in output_buf_tds_dir()
761 char *next, scratch[80]; in fill_registers_buffer() local
847 temp = dbg_status_buf(scratch, sizeof(scratch), label, in fill_registers_buffer()
853 temp = dbg_command_buf(scratch, sizeof(scratch), label, in fill_registers_buffer()
859 temp = dbg_intr_buf(scratch, sizeof(scratch), label, in fill_registers_buffer()
[all …]
/linux-6.15/drivers/gpu/drm/i915/gt/
H A Dgen6_ppgtt.c79 const gen6_pte_t scratch_pte = vm->scratch[0]->encode; in gen6_ppgtt_clear_range()
193 fill32_px(pt, vm->scratch[0]->encode); in gen6_alloc_va_range()
228 vm->scratch[0]->encode = in gen6_ppgtt_init_scratch()
229 vm->pte_encode(px_dma(vm->scratch[0]), in gen6_ppgtt_init_scratch()
235 if (IS_ERR(vm->scratch[1])) { in gen6_ppgtt_init_scratch()
236 ret = PTR_ERR(vm->scratch[1]); in gen6_ppgtt_init_scratch()
240 ret = map_pt_dma(vm, vm->scratch[1]); in gen6_ppgtt_init_scratch()
244 fill32_px(vm->scratch[1], vm->scratch[0]->encode); in gen6_ppgtt_init_scratch()
249 i915_gem_object_put(vm->scratch[1]); in gen6_ppgtt_init_scratch()
251 i915_gem_object_put(vm->scratch[0]); in gen6_ppgtt_init_scratch()
[all …]
H A Dselftest_workarounds.c503 struct i915_vma *scratch; in check_dirty_whitelist() local
510 if (IS_ERR(scratch)) in check_dirty_whitelist()
511 return PTR_ERR(scratch); in check_dirty_whitelist()
522 u64 addr = i915_vma_offset(scratch); in check_dirty_whitelist()
1061 struct i915_vma *scratch[2]; in live_isolated_whitelist() member
1076 client[i].scratch[0] = in live_isolated_whitelist()
1083 client[i].scratch[1] = in live_isolated_whitelist()
1130 client[0].scratch[0], in live_isolated_whitelist()
1131 client[1].scratch[0], in live_isolated_whitelist()
1143 client[0].scratch[0], in live_isolated_whitelist()
[all …]

12345678910>>...13