Home
last modified time | relevance | path

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

12345678910>>...13

/linux/arch/arc/kernel/
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 …]
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/arch/sparc/include/asm/
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/drivers/infiniband/hw/irdma/
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 …]
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/arch/powerpc/include/asm/
A Dvdso_datapage.h119 .macro get_realdatapage ptr scratch
122 lwz \scratch, VDSO_CLOCKMODE_OFFSET(\ptr)
123 xoris \scratch, \scratch, VDSO_CLOCKMODE_TIMENS@h
124 xori \scratch, \scratch, VDSO_CLOCKMODE_TIMENS@l
125 cntlzw \scratch, \scratch
126 rlwinm \scratch, \scratch, PAGE_SHIFT - 5, 1 << PAGE_SHIFT
127 add \ptr, \ptr, \scratch
/linux/arch/arc/include/asm/
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/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
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()
537 pmo->scratch.pmo_dcn3.stream_mask = 0xF; in pmo_dcn3_init_for_pstate_support()
638 pmo->scratch.pmo_dcn3.current_candidate[stream_index] = in pmo_dcn3_init_for_pstate_support()
655 …pmo->scratch.pmo_dcn3.reserved_time_candidates[stream_index][pmo->scratch.pmo_dcn3.current_candida… in pmo_dcn3_test_for_pstate_support()
673 if (pmo->scratch.pmo_dcn3.cur_latency_index < pmo->scratch.pmo_dcn3.max_latency_index) { in pmo_dcn3_optimize_for_pstate_support()
675 pmo->scratch.pmo_dcn3.cur_latency_index++; in pmo_dcn3_optimize_for_pstate_support()
683 pmo->scratch.pmo_dcn3.cur_latency_index = pmo->scratch.pmo_dcn3.min_latency_index; in pmo_dcn3_optimize_for_pstate_support()
[all …]
A Ddml2_pmo_dcn4_fams2.c909 struct dml2_pmo_scratch *s = &pmo->scratch; in build_synchronized_timing_groups()
1105scratch->pmo_dcn4.pstate_strategy_candidates[scratch->pmo_dcn4.num_pstate_candidates] = *pstate_st… in insert_into_candidate_list()
1106 scratch->pmo_dcn4.num_pstate_candidates++; in insert_into_candidate_list()
1196 struct dml2_pmo_scratch *s = &pmo->scratch; in is_timing_group_schedulable()
1252 struct dml2_pmo_scratch *s = &pmo->scratch; in is_config_schedulable()
1469 struct dml2_pmo_scratch *s = &pmo->scratch; in validate_pstate_support_strategy_cofunctionality()
1861 struct dml2_pmo_scratch *scratch = &pmo->scratch; in setup_planes_for_svp_by_mask() local
1884 struct dml2_pmo_scratch *scratch = &pmo->scratch; in setup_planes_for_svp_drr_by_mask() local
1984 struct dml2_pmo_scratch *scratch = &pmo->scratch; in setup_display_config() local
2023 &scratch->pmo_dcn4.stream_fams2_meta, in setup_display_config()
[all …]
/linux/drivers/mmc/host/
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 …]
A Dmmc_spi.c98 struct scratch { struct
122 struct scratch *data; argument
515 struct scratch *scratch = host->data; in mmc_spi_setup_data_message() local
548 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
551 t->rx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
574 t->rx_buf = scratch->status; in mmc_spi_setup_data_message()
598 struct scratch *scratch = host->data; in mmc_spi_writeblock() local
653 scratch->status[0], status); in mmc_spi_writeblock()
692 struct scratch *scratch = host->data; in mmc_spi_readblock() local
702 status = scratch->status[0]; in mmc_spi_readblock()
[all …]
/linux/crypto/
A Dscompress.c63 struct scomp_scratch *scratch; in crypto_scomp_free_scratches() local
69 vfree(scratch->src); in crypto_scomp_free_scratches()
70 vfree(scratch->dst); in crypto_scomp_free_scratches()
71 scratch->src = NULL; in crypto_scomp_free_scratches()
72 scratch->dst = NULL; in crypto_scomp_free_scratches()
89 scratch->src = mem; in crypto_scomp_alloc_scratches()
93 scratch->dst = mem; in crypto_scomp_alloc_scratches()
136 spin_lock(&scratch->lock); in scomp_acomp_comp_decomp()
143 src = scratch->src; in scomp_acomp_comp_decomp()
149 dst = scratch->dst; in scomp_acomp_comp_decomp()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/
A Ddml2_dc_resource_mgmt.c769 scratch->mpc_info.mpc_factor, plane_index, &scratch->pipe_pool, existing_state); in map_pipes_for_plane()
782 &scratch->pipe_pool, in map_pipes_for_plane()
1091 scratch.odm_info.odm_factor = 1; in dml2_map_dc_pipes()
1093 scratch.odm_info.odm_factor = 2; in dml2_map_dc_pipes()
1095 scratch.odm_info.odm_factor = 4; in dml2_map_dc_pipes()
1098 scratch.odm_info.odm_factor = 1; in dml2_map_dc_pipes()
1107 scratch.odm_info.odm_factor = 1; in dml2_map_dc_pipes()
1109 scratch.odm_info.odm_factor = 2; in dml2_map_dc_pipes()
1111 scratch.odm_info.odm_factor = 4; in dml2_map_dc_pipes()
1114 scratch.odm_info.odm_factor = 1; in dml2_map_dc_pipes()
[all …]
/linux/lib/
A Dkunit_iov_iter.c108 u8 *scratch, *buffer; in iov_kunit_copy_to_kvec() local
117 scratch[i] = pattern(i); in iov_kunit_copy_to_kvec()
158 u8 *scratch, *buffer; in iov_kunit_copy_from_kvec() local
267 u8 *scratch, *buffer; in iov_kunit_copy_to_bvec() local
276 scratch[i] = pattern(i); in iov_kunit_copy_to_bvec()
321 u8 *scratch, *buffer; in iov_kunit_copy_from_bvec() local
425 u8 *scratch, *buffer; in iov_kunit_copy_to_folioq() local
436 scratch[i] = pattern(i); in iov_kunit_copy_to_folioq()
487 u8 *scratch, *buffer; in iov_kunit_copy_from_folioq() local
587 u8 *scratch, *buffer; in iov_kunit_copy_to_xarray() local
[all …]
/linux/fs/xfs/libxfs/
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/drivers/gpu/drm/amd/display/dmub/src/
A Ddmub_dcn20.c98 uint32_t in_reset, scratch, i; in dmub_dcn20_reset() local
125 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn20_reset()
429 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data()
430 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn20_get_diagnostic_data()
431 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn20_get_diagnostic_data()
432 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn20_get_diagnostic_data()
433 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn20_get_diagnostic_data()
434 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn20_get_diagnostic_data()
435 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn20_get_diagnostic_data()
436 diag_data->scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn20_get_diagnostic_data()
[all …]
A Ddmub_dcn31.c87 uint32_t in_reset, scratch, i, pwait_mode; in dmub_dcn31_reset() local
112 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn31_reset()
423 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_diagnostic_data()
424 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn31_get_diagnostic_data()
425 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn31_get_diagnostic_data()
426 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn31_get_diagnostic_data()
427 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn31_get_diagnostic_data()
428 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn31_get_diagnostic_data()
429 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn31_get_diagnostic_data()
430 diag_data->scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn31_get_diagnostic_data()
[all …]
A Ddmub_dcn32.c93 uint32_t in_reset, scratch, i; in dmub_dcn32_reset() local
120 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn32_reset()
432 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_get_diagnostic_data()
433 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn32_get_diagnostic_data()
434 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn32_get_diagnostic_data()
435 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn32_get_diagnostic_data()
436 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn32_get_diagnostic_data()
437 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn32_get_diagnostic_data()
438 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn32_get_diagnostic_data()
439 diag_data->scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn32_get_diagnostic_data()
[all …]
A Ddmub_dcn35.c116 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn35_reset()
117 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn35_reset()
476 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn35_get_diagnostic_data()
477 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn35_get_diagnostic_data()
478 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn35_get_diagnostic_data()
479 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn35_get_diagnostic_data()
480 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn35_get_diagnostic_data()
481 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn35_get_diagnostic_data()
482 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn35_get_diagnostic_data()
483 diag_data->scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn35_get_diagnostic_data()
[all …]
A Ddmub_dcn401.c67 uint32_t in_reset, scratch, i; in dmub_dcn401_reset() local
93 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn401_reset()
94 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn401_reset()
417 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn401_get_diagnostic_data()
418 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn401_get_diagnostic_data()
419 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn401_get_diagnostic_data()
420 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn401_get_diagnostic_data()
421 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn401_get_diagnostic_data()
422 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn401_get_diagnostic_data()
423 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn401_get_diagnostic_data()
[all …]
/linux/net/xfrm/
A Dxfrm_ipcomp.c44 u8 *scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_decompress() local
62 skb_copy_to_linear_data(skb, scratch, len); in ipcomp_decompress()
64 while ((scratch += len, dlen -= len) > 0) { in ipcomp_decompress()
82 memcpy(skb_frag_address(frag), scratch, len); in ipcomp_decompress()
129 u8 *scratch; in ipcomp_compress() local
133 scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_compress()
135 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress()
144 memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen); in ipcomp_compress()
221 void *scratch; in ipcomp_alloc_scratches() local
224 if (!scratch) in ipcomp_alloc_scratches()
[all …]
/linux/arch/x86/include/asm/
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/tools/testing/selftests/powerpc/copyloops/asm/
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/drivers/media/platform/sunxi/sun4i-csi/
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/drivers/usb/host/
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 …]

Completed in 54 milliseconds

12345678910>>...13