Home
last modified time | relevance | path

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

12345678910>>...12

/linux/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/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/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 …]
H A Dctrl.c184 u64 scratch, bool post_sq) in irdma_sc_add_arp_cache_entry() argument
254 u64 scratch, bool post_sq) in irdma_sc_manage_apbvt_entry() argument
302 u64 scratch, bool post_sq) in irdma_sc_manage_qhash_table_entry() argument
449 u64 scratch, bool post_sq) in irdma_sc_qp_create() argument
500 u64 scratch, bool post_sq) in irdma_sc_qp_modify() argument
797 u64 scratch, bool post_sq) in irdma_sc_add_local_mac_entry() argument
1212 u64 scratch, bool post_sq) in irdma_sc_dealloc_stag() argument
2049 u64 scratch) in irdma_sc_gather_stats() argument
2096 bool alloc, u64 scratch) in irdma_sc_manage_stats_inst() argument
2409 u64 scratch) in irdma_sc_suspend_qp() argument
[all …]
/linux/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/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_dc_resource_mgmt.c62 bool is_plane_duplicate = dml2->v20.scratch.plane_duplicate_exists; in get_plane_id()
132 ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_plane_index[state->res_ctx.pipe_ctx[i].pipe_idx], &plane_id_assigned_to_pipe)) { in find_master_pipe_of_plane()
155 ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_plane_index[pipe->pipe_idx], in find_pipes_assigned_to_plane()
536 struct dc_pipe_mapping_scratch *scratch, in add_odm_slice_to_odm_tree()
544 ASSERT(scratch->pipe_pool.num_pipes_assigned_to_plane_for_mpcc_combine == 1 || scratch->pipe_pool.num_pipes_assigned_to_plane_for_odm_combine == 1); in add_odm_slice_to_odm_tree()
546 for (i = 0; i < scratch->pipe_pool.num_pipes_assigned_to_plane_for_mpcc_combine; i++) { in add_odm_slice_to_odm_tree()
547 pipe = &state->res_ctx.pipe_ctx[scratch->pipe_pool.pipes_assigned_to_plane[odm_slice_index][i]]; in add_odm_slice_to_odm_tree()
549 if (scratch->mpc_info.prev_odm_pipe) in add_odm_slice_to_odm_tree()
550 scratch in add_odm_slice_to_odm_tree()
534 add_odm_slice_to_odm_tree(struct dml2_context * ctx,struct dc_state * state,struct dc_pipe_mapping_scratch * scratch,unsigned int odm_slice_index) add_odm_slice_to_odm_tree() argument
734 map_pipes_for_stream(struct dml2_context * ctx,struct dc_state * state,const struct dc_stream_state * stream,struct dc_pipe_mapping_scratch * scratch,const struct dc_state * existing_state) map_pipes_for_stream() argument
754 map_pipes_for_plane(struct dml2_context * ctx,struct dc_state * state,const struct dc_stream_state * stream,const struct dc_plane_state * plane,int plane_index,struct dc_pipe_mapping_scratch * scratch,const struct dc_state * existing_state) map_pipes_for_plane() argument
959 struct dc_pipe_mapping_scratch scratch; dml2_map_dc_pipes() local
[all...]
/linux/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
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/
H 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/lib/
H A Dkunit_iov_iter.c104 u8 *scratch, *buffer; in iov_kunit_copy_to_kvec() local
113 scratch[i] = pattern(i); in iov_kunit_copy_to_kvec()
130 memset(scratch, 0, bufsize); in iov_kunit_copy_to_kvec()
154 u8 *scratch, *buffer; in iov_kunit_copy_from_kvec() local
166 memset(scratch, 0, bufsize); in iov_kunit_copy_from_kvec()
263 u8 *scratch, *buffer; in iov_kunit_copy_to_bvec() local
272 scratch[i] = pattern(i); in iov_kunit_copy_to_bvec()
317 u8 *scratch, *buffer; in iov_kunit_copy_from_bvec() local
410 u8 *scratch, *buffer; in iov_kunit_copy_to_xarray() local
421 scratch[i] = pattern(i); in iov_kunit_copy_to_xarray()
[all …]
/linux/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()
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[ in dmub_dcn20_get_diagnostic_data()
[all...]
H A Ddmub_dcn31.c87 uint32_t in_reset, scratch, i, pwait_mode; in dmub_dcn31_reset() local
111 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn31_reset()
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[ 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()
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[ in dmub_dcn32_get_diagnostic_data()
[all...]
H A Ddmub_dcn35.c92 uint32_t in_reset, is_enabled, scratch, i, pwait_mode; in dmub_dcn35_reset() local
116 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn35_reset()
117 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn35_reset()
471 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn35_get_diagnostic_data()
472 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn35_get_diagnostic_data()
473 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn35_get_diagnostic_data()
474 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn35_get_diagnostic_data()
475 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn35_get_diagnostic_data()
476 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn35_get_diagnostic_data()
477 diag_data->scratch[ in dmub_dcn35_get_diagnostic_data()
[all...]
/linux/net/xfrm/
H 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/
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/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/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/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/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 …]
/linux/arch/alpha/kernel/
H A Derr_marvel.c153 int scratch, i; in marvel_print_po7_uncrr_sym() local
199 for (i = 0; i < 4; i++, scratch >>= 2) { in marvel_print_po7_uncrr_sym()
200 if (scratch & 0x3) in marvel_print_po7_uncrr_sym()
233 int lost = scratch & (1UL << 4); in marvel_print_po7_uncrr_sym()
234 scratch &= ~lost; in marvel_print_po7_uncrr_sym()
235 for (i = 0; i < 8; i++, scratch >>= 1) { in marvel_print_po7_uncrr_sym()
236 if (!(scratch & 1)) in marvel_print_po7_uncrr_sym()
247 for (i = 0; i < 8; i++, scratch >>= 1) { in marvel_print_po7_uncrr_sym()
248 if (!(scratch & 1)) in marvel_print_po7_uncrr_sym()
259 if (scratch & IO7__STRV_VTR__IS_MSI) in marvel_print_po7_uncrr_sym()
[all …]
/linux/arch/mips/mm/
H A Dtlbex.c1058 rv.huge_pte = scratch; in build_fast_tlb_refill_handler()
1113 #define LOC_PTEP scratch in build_fast_tlb_refill_handler()
1137 uasm_i_andi(p, scratch, scratch, (PTRS_PER_PGD - 1) << 3); in build_fast_tlb_refill_handler()
1149 uasm_i_andi(p, scratch, scratch, (PTRS_PER_PUD - 1) << 3); in build_fast_tlb_refill_handler()
1164 uasm_i_andi(p, scratch, scratch, (PTRS_PER_PMD - 1) << 3); in build_fast_tlb_refill_handler()
1168 UASM_i_LWX(p, scratch, scratch, ptr); in build_fast_tlb_refill_handler()
1171 UASM_i_LW(p, scratch, 0, ptr); in build_fast_tlb_refill_handler()
1643 uasm_i_or(p, pte, pte, scratch); in iPTE_SW()
1706 int t = scratch >= 0 ? scratch : pte; in build_pte_present()
1758 int t = scratch >= 0 ? scratch : pte; in build_pte_writable()
[all …]

12345678910>>...12