Home
last modified time | relevance | path

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

1234567891011

/linux/arch/arc/kernel/
A Dsignal.c113 uregs.scratch.fp = regs->fp; in stash_usr_regs()
118 uregs.scratch.r9 = regs->r9; in stash_usr_regs()
119 uregs.scratch.r8 = regs->r8; in stash_usr_regs()
120 uregs.scratch.r7 = regs->r7; in stash_usr_regs()
121 uregs.scratch.r6 = regs->r6; in stash_usr_regs()
122 uregs.scratch.r5 = regs->r5; in stash_usr_regs()
123 uregs.scratch.r4 = regs->r4; in stash_usr_regs()
124 uregs.scratch.r3 = regs->r3; in stash_usr_regs()
125 uregs.scratch.r2 = regs->r2; in stash_usr_regs()
126 uregs.scratch.r1 = regs->r1; in stash_usr_regs()
[all …]
A Dptrace.c114 REG_IGNORE_ONE(scratch.status32); in genregs_set()
118 REG_IN_ONE(scratch.fp, &ptregs->fp); in genregs_set()
123 REG_IN_ONE(scratch.r9, &ptregs->r9); in genregs_set()
124 REG_IN_ONE(scratch.r8, &ptregs->r8); in genregs_set()
125 REG_IN_ONE(scratch.r7, &ptregs->r7); in genregs_set()
126 REG_IN_ONE(scratch.r6, &ptregs->r6); in genregs_set()
127 REG_IN_ONE(scratch.r5, &ptregs->r5); in genregs_set()
128 REG_IN_ONE(scratch.r4, &ptregs->r4); in genregs_set()
129 REG_IN_ONE(scratch.r3, &ptregs->r3); in genregs_set()
130 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/mmc/host/
A Dsdhci-pci-o2micro.c101 u16 scratch; in sdhci_o2_enable_internal_clock() local
306 u16 scratch = 0; in sdhci_o2_execute_tuning() local
524 u8 scratch; in sdhci_pci_o2_set_clock() local
539 scratch &= 0x7f; in sdhci_pci_o2_set_clock()
549 scratch |= 0x80; in sdhci_pci_o2_set_clock()
635 u8 scratch; in sdhci_pci_o2_probe() local
648 scratch &= 0x7f; in sdhci_pci_o2_probe()
659 scratch |= 0x20; in sdhci_pci_o2_probe()
668 scratch |= 0x01; in sdhci_pci_o2_probe()
681 scratch |= 0x08; in sdhci_pci_o2_probe()
[all …]
A Dmmc_spi.c99 struct scratch { struct
126 struct scratch *data;
554 struct scratch *scratch = host->data; in mmc_spi_setup_data_message() local
593 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
599 t->rx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
625 t->rx_buf = scratch->status; in mmc_spi_setup_data_message()
651 struct scratch *scratch = host->data; in mmc_spi_writeblock() local
716 scratch->status[0], status); in mmc_spi_writeblock()
757 struct scratch *scratch = host->data; in mmc_spi_readblock() local
767 status = scratch->status[0]; in mmc_spi_readblock()
[all …]
/linux/drivers/infiniband/hw/irdma/
A Duda.h40 u32 op, u64 scratch);
52 u64 scratch) in irdma_sc_create_ah() argument
55 scratch); in irdma_sc_create_ah()
60 u64 scratch) in irdma_sc_destroy_ah() argument
63 scratch); in irdma_sc_destroy_ah()
68 u64 scratch) in irdma_sc_create_mcast_grp() argument
71 scratch); in irdma_sc_create_mcast_grp()
76 u64 scratch) in irdma_sc_modify_mcast_grp() argument
79 scratch); in irdma_sc_modify_mcast_grp()
84 u64 scratch) in irdma_sc_destroy_mcast_grp() argument
[all …]
A Dtype.h709 u64 scratch; member
1279 u64 scratch; member
1285 u64 scratch; member
1290 u64 scratch; member
1297 u64 scratch; member
1304 u64 scratch; member
1309 u64 scratch; member
1315 u64 scratch; member
1321 u64 scratch; member
1327 u64 scratch; member
[all …]
A Dctrl.c158 u64 scratch, bool post_sq) in irdma_sc_add_arp_cache_entry() argument
278 u64 scratch, bool post_sq) in irdma_sc_manage_qhash_table_entry() argument
426 u64 scratch, bool post_sq) in irdma_sc_qp_create() argument
478 u64 scratch, bool post_sq) in irdma_sc_qp_modify() argument
1230 u64 scratch, bool post_sq) in irdma_sc_mw_alloc() argument
2074 u64 scratch) in irdma_sc_manage_stats_inst() argument
2111 u64 scratch) in irdma_sc_set_up_map() argument
2392 u64 scratch) in irdma_sc_suspend_qp() argument
2423 u64 scratch) in irdma_sc_resume_qp() argument
2502 u64 scratch, in irdma_sc_cq_create() argument
[all …]
/linux/crypto/
A Dscompress.c70 struct scomp_scratch *scratch; in crypto_scomp_free_scratches() local
76 vfree(scratch->src); 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
96 scratch->src = mem; in crypto_scomp_alloc_scratches()
100 scratch->dst = mem; in crypto_scomp_alloc_scratches()
126 struct scomp_scratch *scratch; in scomp_acomp_comp_decomp() local
139 spin_lock(&scratch->lock); in scomp_acomp_comp_decomp()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
A Ddc_dmub_srv.c279 diag_data.scratch[0], in dc_dmub_srv_log_diagnostic_data()
280 diag_data.scratch[1], in dc_dmub_srv_log_diagnostic_data()
281 diag_data.scratch[2], in dc_dmub_srv_log_diagnostic_data()
282 diag_data.scratch[3], in dc_dmub_srv_log_diagnostic_data()
283 diag_data.scratch[4], in dc_dmub_srv_log_diagnostic_data()
284 diag_data.scratch[5], in dc_dmub_srv_log_diagnostic_data()
285 diag_data.scratch[6], in dc_dmub_srv_log_diagnostic_data()
286 diag_data.scratch[7], in dc_dmub_srv_log_diagnostic_data()
287 diag_data.scratch[8], in dc_dmub_srv_log_diagnostic_data()
288 diag_data.scratch[9], in dc_dmub_srv_log_diagnostic_data()
[all …]
/linux/arch/arc/include/asm/
A Dirqflags-compact.h181 .macro IRQ_DISABLE scratch
182 lr \scratch, [status32]
183 bic \scratch, \scratch, (STATUS_E1_MASK | STATUS_E2_MASK)
184 flag \scratch
188 .macro IRQ_ENABLE scratch
190 lr \scratch, [status32]
191 or \scratch, \scratch, (STATUS_E1_MASK | STATUS_E2_MASK)
192 flag \scratch
/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()
423 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data()
424 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn20_get_diagnostic_data()
425 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn20_get_diagnostic_data()
426 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn20_get_diagnostic_data()
427 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn20_get_diagnostic_data()
428 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn20_get_diagnostic_data()
429 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn20_get_diagnostic_data()
430 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; in dmub_dcn31_reset() local
112 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn31_reset()
393 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_diagnostic_data()
394 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn31_get_diagnostic_data()
395 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn31_get_diagnostic_data()
396 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn31_get_diagnostic_data()
397 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn31_get_diagnostic_data()
398 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn31_get_diagnostic_data()
399 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn31_get_diagnostic_data()
400 diag_data->scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn31_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()
85 memcpy(skb_frag_address(frag), scratch, len); in ipcomp_decompress()
132 u8 *scratch; in ipcomp_compress() local
136 scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_compress()
138 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress()
147 memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen); in ipcomp_compress()
223 void *scratch; in ipcomp_alloc_scratches() local
226 if (!scratch) in ipcomp_alloc_scratches()
[all …]
/linux/drivers/block/paride/
A Dparide.c196 static int pi_test_proto(PIA * pi, char *scratch, int verbose) in pi_test_proto() argument
202 res = pi->proto->test_proto(pi, scratch, verbose); in pi_test_proto()
204 res = default_test_proto(pi, scratch, verbose); in pi_test_proto()
288 return (!pi_test_proto(pi, scratch, verbose)); in pi_probe_mode()
298 if (!pi_test_proto(pi, scratch, verbose)) in pi_probe_mode()
332 if (pi_probe_mode(pi, max, scratch, verbose)) in pi_probe_unit()
342 if (!pi_probe_mode(pi, max, scratch, verbose)) { in pi_probe_unit()
351 int unit, int protocol, int delay, char *scratch, in pi_init() argument
403 if (pi_probe_unit(pi, unit, scratch, verbose)) in pi_init()
410 (pi, unit, scratch, verbose)) in pi_init()
[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 …]
/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()
79 memset(&scratch, 0, sizeof(scratch)); in sanitize_boot_params()
/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/gpu/drm/i915/gt/
A Dselftest_workarounds.c506 struct i915_vma *scratch; in check_dirty_whitelist() local
513 if (IS_ERR(scratch)) in check_dirty_whitelist()
514 return PTR_ERR(scratch); in check_dirty_whitelist()
525 u64 addr = scratch->node.start; in check_dirty_whitelist()
1076 struct i915_vma *scratch[2]; in live_isolated_whitelist() member
1091 client[i].scratch[0] = in live_isolated_whitelist()
1098 client[i].scratch[1] = in live_isolated_whitelist()
1145 client[0].scratch[0], in live_isolated_whitelist()
1146 client[1].scratch[0], in live_isolated_whitelist()
1158 client[0].scratch[0], in live_isolated_whitelist()
[all …]
A Dselftest_lrc.c464 struct i915_vma *scratch; in live_lrc_state() local
473 scratch = create_scratch(gt); in live_lrc_state()
474 if (IS_ERR(scratch)) in live_lrc_state()
475 return PTR_ERR(scratch); in live_lrc_state()
560 i915_vma_lock(scratch); in __gpr_read()
564 i915_vma_unlock(scratch); in __gpr_read()
577 struct i915_vma *scratch, in __live_lrc_gpr() argument
662 struct i915_vma *scratch; in live_lrc_gpr() local
671 scratch = create_scratch(gt); in live_lrc_gpr()
672 if (IS_ERR(scratch)) in live_lrc_gpr()
[all …]
A Dgen6_ppgtt.c75 const gen6_pte_t scratch_pte = vm->scratch[0]->encode; in gen6_ppgtt_clear_range()
190 fill32_px(pt, vm->scratch[0]->encode); in gen6_alloc_va_range()
225 vm->scratch[0]->encode = in gen6_ppgtt_init_scratch()
226 vm->pte_encode(px_dma(vm->scratch[0]), in gen6_ppgtt_init_scratch()
229 vm->scratch[1] = vm->alloc_pt_dma(vm, I915_GTT_PAGE_SIZE_4K); in gen6_ppgtt_init_scratch()
230 if (IS_ERR(vm->scratch[1])) { in gen6_ppgtt_init_scratch()
231 ret = PTR_ERR(vm->scratch[1]); in gen6_ppgtt_init_scratch()
235 ret = map_pt_dma(vm, vm->scratch[1]); in gen6_ppgtt_init_scratch()
239 fill32_px(vm->scratch[1], vm->scratch[0]->encode); in gen6_ppgtt_init_scratch()
244 i915_gem_object_put(vm->scratch[1]); in gen6_ppgtt_init_scratch()
[all …]
/linux/arch/alpha/kernel/
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/
A Dtlbex.c1113 rv.huge_pte = scratch; in build_fast_tlb_refill_handler()
1168 #define LOC_PTEP scratch in build_fast_tlb_refill_handler()
1192 uasm_i_andi(p, scratch, scratch, (PTRS_PER_PGD - 1) << 3); in build_fast_tlb_refill_handler()
1204 uasm_i_andi(p, scratch, scratch, (PTRS_PER_PUD - 1) << 3); in build_fast_tlb_refill_handler()
1219 uasm_i_andi(p, scratch, scratch, (PTRS_PER_PMD - 1) << 3); in build_fast_tlb_refill_handler()
1223 UASM_i_LWX(p, scratch, scratch, ptr); in build_fast_tlb_refill_handler()
1226 UASM_i_LW(p, scratch, 0, ptr); in build_fast_tlb_refill_handler()
1697 uasm_i_or(p, pte, pte, scratch); in iPTE_SW()
1760 int t = scratch >= 0 ? scratch : pte; in build_pte_present()
1812 int t = scratch >= 0 ? scratch : pte; in build_pte_writable()
[all …]
/linux/lib/mpi/
A Dec.c637 for (i = 0; i < DIM(ctx->t.scratch) && ctx->t.scratch[i]; i++) in mpi_ec_init()
851 #define B (ctx->t.scratch[0]) in dup_point_edwards()
852 #define C (ctx->t.scratch[1]) in dup_point_edwards()
853 #define D (ctx->t.scratch[2]) in dup_point_edwards()
854 #define E (ctx->t.scratch[3]) in dup_point_edwards()
855 #define F (ctx->t.scratch[4]) in dup_point_edwards()
856 #define H (ctx->t.scratch[5]) in dup_point_edwards()
857 #define J (ctx->t.scratch[6]) in dup_point_edwards()
1082 #define A (ctx->t.scratch[0]) in add_points_edwards()
1083 #define B (ctx->t.scratch[1]) in add_points_edwards()
[all …]
/linux/net/netfilter/
A Dnft_set_pipapo.c1112 unsigned long *scratch; local
1117 scratch = kzalloc_node(bsize_max * sizeof(*scratch) * 2 +
1120 if (!scratch) {
1133 *per_cpu_ptr(clone->scratch, i) = scratch;
1246 put_cpu_ptr(m->scratch);
1254 put_cpu_ptr(m->scratch);
1284 new->scratch = alloc_percpu(*new->scratch);
1285 if (!new->scratch)
1611 free_percpu(m->scratch);
2062 if (!m->scratch) {
[all …]

Completed in 69 milliseconds

1234567891011