/linux-6.3-rc2/arch/arc/kernel/ |
A D | signal.c | 113 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 D | ptrace.c | 199 REG_IGNORE_ONE(scratch.status32); in genregs_set() 203 REG_IN_ONE(scratch.fp, &ptregs->fp); in genregs_set() 208 REG_IN_ONE(scratch.r9, &ptregs->r9); in genregs_set() 209 REG_IN_ONE(scratch.r8, &ptregs->r8); in genregs_set() 210 REG_IN_ONE(scratch.r7, &ptregs->r7); in genregs_set() 211 REG_IN_ONE(scratch.r6, &ptregs->r6); in genregs_set() 212 REG_IN_ONE(scratch.r5, &ptregs->r5); in genregs_set() 213 REG_IN_ONE(scratch.r4, &ptregs->r4); in genregs_set() 214 REG_IN_ONE(scratch.r3, &ptregs->r3); in genregs_set() 215 REG_IN_ONE(scratch.r2, &ptregs->r2); in genregs_set() [all …]
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | winmacro.h | 50 #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.3-rc2/drivers/infiniband/hw/irdma/ |
A D | uda.h | 40 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 D | type.h | 711 u64 scratch; member 1275 u64 scratch; member 1281 u64 scratch; member 1286 u64 scratch; member 1293 u64 scratch; member 1300 u64 scratch; member 1305 u64 scratch; member 1311 u64 scratch; member 1317 u64 scratch; member 1323 u64 scratch; member [all …]
|
A D | ctrl.c | 184 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 1206 u64 scratch, bool post_sq) in irdma_sc_dealloc_stag() argument 2030 u64 scratch) in irdma_sc_gather_stats() argument 2077 bool alloc, u64 scratch) in irdma_sc_manage_stats_inst() argument 2390 u64 scratch) in irdma_sc_suspend_qp() argument [all …]
|
/linux-6.3-rc2/crypto/ |
A D | scompress.c | 70 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-6.3-rc2/drivers/mmc/host/ |
A D | sdhci-pci-o2micro.c | 107 u16 scratch; in sdhci_o2_enable_internal_clock() local 316 u16 scratch = 0; in sdhci_o2_execute_tuning() local 562 u8 scratch; in sdhci_pci_o2_set_clock() local 576 scratch &= 0x7f; in sdhci_pci_o2_set_clock() 597 scratch |= 0x80; in sdhci_pci_o2_set_clock() 684 u8 scratch; in sdhci_pci_o2_probe() local 697 scratch &= 0x7f; in sdhci_pci_o2_probe() 708 scratch |= 0x20; in sdhci_pci_o2_probe() 717 scratch |= 0x01; in sdhci_pci_o2_probe() 730 scratch |= 0x08; in sdhci_pci_o2_probe() [all …]
|
A D | mmc_spi.c | 99 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-6.3-rc2/arch/arc/include/asm/ |
A D | irqflags-compact.h | 185 .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.3-rc2/drivers/gpu/drm/amd/display/dmub/src/ |
A D | dmub_dcn20.c | 98 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 D | dmub_dcn31.c | 87 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() 404 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_diagnostic_data() 405 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn31_get_diagnostic_data() 406 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn31_get_diagnostic_data() 407 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn31_get_diagnostic_data() 408 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn31_get_diagnostic_data() 409 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn31_get_diagnostic_data() 410 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn31_get_diagnostic_data() 411 diag_data->scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn31_get_diagnostic_data() [all …]
|
A D | dmub_dcn32.c | 88 uint32_t in_reset, scratch, i; in dmub_dcn32_reset() local 115 if (scratch == DMUB_GPINT__STOP_FW_RESPONSE) in dmub_dcn32_reset() 420 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_get_diagnostic_data() 421 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn32_get_diagnostic_data() 422 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn32_get_diagnostic_data() 423 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn32_get_diagnostic_data() 424 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn32_get_diagnostic_data() 425 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn32_get_diagnostic_data() 426 diag_data->scratch[6] = REG_READ(DMCUB_SCRATCH6); in dmub_dcn32_get_diagnostic_data() 427 diag_data->scratch[7] = REG_READ(DMCUB_SCRATCH7); in dmub_dcn32_get_diagnostic_data() [all …]
|
/linux-6.3-rc2/net/xfrm/ |
A D | xfrm_ipcomp.c | 44 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() 224 void *scratch; in ipcomp_alloc_scratches() local 227 if (!scratch) in ipcomp_alloc_scratches() [all …]
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | bootparam_utils.h | 52 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.3-rc2/drivers/media/platform/sunxi/sun4i-csi/ |
A D | sun4i_dma.c | 96 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.3-rc2/drivers/usb/host/ |
A D | ehci-dbg.c | 373 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.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | gen6_ppgtt.c | 79 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() 233 if (IS_ERR(vm->scratch[1])) { in gen6_ppgtt_init_scratch() 234 ret = PTR_ERR(vm->scratch[1]); in gen6_ppgtt_init_scratch() 238 ret = map_pt_dma(vm, vm->scratch[1]); in gen6_ppgtt_init_scratch() 242 fill32_px(vm->scratch[1], vm->scratch[0]->encode); in gen6_ppgtt_init_scratch() 247 i915_gem_object_put(vm->scratch[1]); in gen6_ppgtt_init_scratch() 249 i915_gem_object_put(vm->scratch[0]); in gen6_ppgtt_init_scratch() [all …]
|
A D | selftest_workarounds.c | 503 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 …]
|
A D | selftest_lrc.c | 403 struct i915_vma *scratch) in __live_lrc_state() argument 506 struct i915_vma *scratch; in live_lrc_state() local 515 scratch = create_scratch(gt); in live_lrc_state() 516 if (IS_ERR(scratch)) in live_lrc_state() 517 return PTR_ERR(scratch); in live_lrc_state() 615 struct i915_vma *scratch, in __live_lrc_gpr() argument 636 rq = __gpr_read(ce, scratch, slot); in __live_lrc_gpr() 700 struct i915_vma *scratch; in live_lrc_gpr() local 709 scratch = create_scratch(gt); in live_lrc_gpr() 710 if (IS_ERR(scratch)) in live_lrc_gpr() [all …]
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | err_marvel.c | 153 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-6.3-rc2/arch/mips/mm/ |
A D | tlbex.c | 1077 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 …]
|
/linux-6.3-rc2/lib/mpi/ |
A D | ec.c | 637 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-6.3-rc2/drivers/mtd/devices/ |
A D | mtd_dataflash.c | 462 u8 *scratch; in otp_read() local 476 if (!scratch) in otp_read() 482 scratch[0] = OP_READ_SECURITY; in otp_read() 485 t.tx_buf = scratch; in otp_read() 486 t.rx_buf = scratch; in otp_read() 498 kfree(scratch); in otp_read() 541 u8 *scratch; in dataflash_write_user_otp() local 563 if (!scratch) in dataflash_write_user_otp() 565 scratch[0] = OP_WRITE_SECURITY; in dataflash_write_user_otp() 571 t.tx_buf = scratch; in dataflash_write_user_otp() [all …]
|
/linux-6.3-rc2/net/netfilter/ |
A D | nft_set_pipapo.c | 1112 unsigned long *scratch; local 1117 scratch = kzalloc_node(bsize_max * sizeof(*scratch) * 2 + 1120 if (!scratch) { 1133 *per_cpu_ptr(clone->scratch, i) = scratch; 1247 put_cpu_ptr(m->scratch); 1255 put_cpu_ptr(m->scratch); 1285 new->scratch = alloc_percpu(*new->scratch); 1286 if (!new->scratch) 1620 free_percpu(m->scratch); 2071 if (!m->scratch) { [all …]
|