Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/linux/arch/arc/kernel/
H A Dsignal.c114 uregs.scratch.fp = regs->fp; in stash_usr_regs()
119 uregs.scratch.r9 = regs->r9; in stash_usr_regs()
120 uregs.scratch.r8 = regs->r8; in stash_usr_regs()
121 uregs.scratch.r7 = regs->r7; in stash_usr_regs()
122 uregs.scratch.r6 = regs->r6; in stash_usr_regs()
123 uregs.scratch.r5 = regs->r5; in stash_usr_regs()
124 uregs.scratch.r4 = regs->r4; in stash_usr_regs()
125 uregs.scratch.r3 = regs->r3; in stash_usr_regs()
126 uregs.scratch.r2 = regs->r2; in stash_usr_regs()
127 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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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
/openbmc/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()
78 struct scomp_scratch *scratch; in crypto_scomp_alloc_scratches() local
89 scratch->src = mem; in crypto_scomp_alloc_scratches()
93 scratch->dst = mem; in crypto_scomp_alloc_scratches()
119 struct scomp_scratch *scratch; in scomp_acomp_comp_decomp() local
135 spin_lock(&scratch->lock); in scomp_acomp_comp_decomp()
[all …]
/openbmc/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.c99 struct scratch { struct
123 struct scratch *data; argument
519 struct scratch *scratch = host->data; in mmc_spi_setup_data_message() local
552 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
555 t->rx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
578 t->rx_buf = scratch->status; in mmc_spi_setup_data_message()
602 struct scratch *scratch = host->data; in mmc_spi_writeblock() local
657 scratch->status[0], status); in mmc_spi_writeblock()
696 struct scratch *scratch = host->data; in mmc_spi_readblock() local
706 status = scratch->status[0]; in mmc_spi_readblock()
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/src/
H 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()
428 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data()
429 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn20_get_diagnostic_data()
430 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn20_get_diagnostic_data()
431 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn20_get_diagnostic_data()
432 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn20_get_diagnostic_data()
433 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn20_get_diagnostic_data()
434 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn20_get_diagnostic_data()
435 diag_data->scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn20_get_diagnostic_data()
[all …]
H A Ddmub_dcn32.c88 uint32_t in_reset, scratch, i; in dmub_dcn32_reset() local
115 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn32_reset()
426 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_get_diagnostic_data()
427 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn32_get_diagnostic_data()
428 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn32_get_diagnostic_data()
429 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn32_get_diagnostic_data()
430 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn32_get_diagnostic_data()
431 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn32_get_diagnostic_data()
432 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn32_get_diagnostic_data()
433 diag_data->scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn32_get_diagnostic_data()
[all …]
H 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()
422 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_diagnostic_data()
423 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn31_get_diagnostic_data()
424 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn31_get_diagnostic_data()
425 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn31_get_diagnostic_data()
426 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn31_get_diagnostic_data()
427 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn31_get_diagnostic_data()
428 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn31_get_diagnostic_data()
429 diag_data->scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn31_get_diagnostic_data()
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dstart.S179 ori \scratch, \scratch, FSL_BOOKE_MAS0(1, \esel, 0)@l
185 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l
188 ori \scratch, \scratch, FSL_BOOKE_MAS3(\rpn, 0, \perm)@l
191 ori \scratch, \scratch, \phy_high@l
201 ori \scratch, \scratch, FSL_BOOKE_MAS0(0, \esel, 0)@l
207 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l
210 ori \scratch, \scratch, FSL_BOOKE_MAS3(\rpn, 0, \perm)@l
213 ori \scratch, \scratch, \phy_high@l
223 ori \scratch, \scratch, FSL_BOOKE_MAS0(1, \esel, 0)@l
235 ori \scratch, \scratch, FSL_BOOKE_MAS0(0, \esel, 0)@l
[all …]
/openbmc/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 …]
/openbmc/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()
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/net/netfilter/
H A Dnft_set_pipapo.c428 scratch = *raw_cpu_ptr(m->scratch); in nft_pipapo_lookup()
1141 scratch = kzalloc_node(struct_size(scratch, map,
1145 if (!scratch) {
1174 *per_cpu_ptr(clone->scratch, i) = scratch;
1286 put_cpu_ptr(m->scratch);
1294 put_cpu_ptr(m->scratch);
1323 new->scratch = alloc_percpu(*new->scratch);
1324 if (!new->scratch)
1665 free_percpu(m->scratch);
2157 if (!m->scratch) {
[all …]
/openbmc/linux/arch/mips/mm/
H A Dtlbex.c1077 rv.huge_pte = scratch; in build_fast_tlb_refill_handler()
1132 #define LOC_PTEP scratch in build_fast_tlb_refill_handler()
1156 uasm_i_andi(p, scratch, scratch, (PTRS_PER_PGD - 1) << 3); in build_fast_tlb_refill_handler()
1168 uasm_i_andi(p, scratch, scratch, (PTRS_PER_PUD - 1) << 3); in build_fast_tlb_refill_handler()
1183 uasm_i_andi(p, scratch, scratch, (PTRS_PER_PMD - 1) << 3); in build_fast_tlb_refill_handler()
1187 UASM_i_LWX(p, scratch, scratch, ptr); in build_fast_tlb_refill_handler()
1190 UASM_i_LW(p, scratch, 0, ptr); in build_fast_tlb_refill_handler()
1661 uasm_i_or(p, pte, pte, scratch); in iPTE_SW()
1724 int t = scratch >= 0 ? scratch : pte; in build_pte_present()
1776 int t = scratch >= 0 ? scratch : pte; in build_pte_writable()
[all …]
/openbmc/linux/lib/crypto/mpi/
H A Dec.c640 for (i = 0; i < DIM(ctx->t.scratch) && ctx->t.scratch[i]; i++) in mpi_ec_init()
854 #define B (ctx->t.scratch[0]) in dup_point_edwards()
855 #define C (ctx->t.scratch[1]) in dup_point_edwards()
856 #define D (ctx->t.scratch[2]) in dup_point_edwards()
857 #define E (ctx->t.scratch[3]) in dup_point_edwards()
858 #define F (ctx->t.scratch[4]) in dup_point_edwards()
859 #define H (ctx->t.scratch[5]) in dup_point_edwards()
860 #define J (ctx->t.scratch[6]) in dup_point_edwards()
1085 #define A (ctx->t.scratch[0]) in add_points_edwards()
1086 #define B (ctx->t.scratch[1]) in add_points_edwards()
[all …]

12345678910>>...14