/linux-6.1.9/arch/arc/kernel/ |
D | signal.c | 106 uregs.scratch.bta = regs->bta; in stash_usr_regs() 107 uregs.scratch.lp_start = regs->lp_start; in stash_usr_regs() 108 uregs.scratch.lp_end = regs->lp_end; in stash_usr_regs() 109 uregs.scratch.lp_count = regs->lp_count; in stash_usr_regs() 110 uregs.scratch.status32 = regs->status32; in stash_usr_regs() 111 uregs.scratch.ret = regs->ret; in stash_usr_regs() 112 uregs.scratch.blink = regs->blink; in stash_usr_regs() 113 uregs.scratch.fp = regs->fp; in stash_usr_regs() 114 uregs.scratch.gp = regs->r26; in stash_usr_regs() 115 uregs.scratch.r12 = regs->r12; in stash_usr_regs() [all …]
|
D | ptrace.c | 194 REG_IN_ONE(scratch.bta, &ptregs->bta); in genregs_set() 195 REG_IN_ONE(scratch.lp_start, &ptregs->lp_start); in genregs_set() 196 REG_IN_ONE(scratch.lp_end, &ptregs->lp_end); in genregs_set() 197 REG_IN_ONE(scratch.lp_count, &ptregs->lp_count); in genregs_set() 199 REG_IGNORE_ONE(scratch.status32); in genregs_set() 201 REG_IN_ONE(scratch.ret, &ptregs->ret); in genregs_set() 202 REG_IN_ONE(scratch.blink, &ptregs->blink); in genregs_set() 203 REG_IN_ONE(scratch.fp, &ptregs->fp); in genregs_set() 204 REG_IN_ONE(scratch.gp, &ptregs->r26); in genregs_set() 205 REG_IN_ONE(scratch.r12, &ptregs->r12); in genregs_set() [all …]
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | winmacro.h | 50 #define LOAD_PT_YREG(base_reg, scratch) \ argument 51 ld [%base_reg + STACKFRAME_SZ + PT_Y], %scratch; \ 52 wr %scratch, 0x0, %y; 59 #define LOAD_PT_ALL(base_reg, pt_psr, pt_pc, pt_npc, scratch) \ argument 60 LOAD_PT_YREG(base_reg, scratch) \ 77 #define STORE_PT_YREG(base_reg, scratch) \ argument 78 rd %y, %scratch; \ 79 st %scratch, [%base_reg + STACKFRAME_SZ + PT_Y]; 92 #define SAVE_BOLIXED_USER_STACK(cur_reg, scratch) \ argument 93 ld [%cur_reg + TI_W_SAVED], %scratch; \ [all …]
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
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() 58 struct irdma_ah_info *info, u64 scratch) in irdma_sc_destroy_ah() argument 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() [all …]
|
D | type.h | 711 u64 scratch; member 1205 int irdma_sc_ccq_create(struct irdma_sc_cq *ccq, u64 scratch, 1207 int irdma_sc_ccq_destroy(struct irdma_sc_cq *ccq, u64 scratch, bool post_sq); 1213 int irdma_sc_cceq_create(struct irdma_sc_ceq *ceq, u64 scratch); 1216 int irdma_sc_ceq_destroy(struct irdma_sc_ceq *ceq, u64 scratch, bool post_sq); 1243 struct irdma_create_qp_info *info, u64 scratch, 1245 int irdma_sc_qp_destroy(struct irdma_sc_qp *qp, u64 scratch, 1248 struct irdma_qp_flush_info *info, u64 scratch, 1252 struct irdma_modify_qp_info *info, u64 scratch, 1262 int irdma_sc_cq_destroy(struct irdma_sc_cq *cq, u64 scratch, bool post_sq); [all …]
|
D | ctrl.c | 184 u64 scratch, bool post_sq) in irdma_sc_add_arp_cache_entry() argument 189 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_add_arp_cache_entry() 219 static int irdma_sc_del_arp_cache_entry(struct irdma_sc_cqp *cqp, u64 scratch, in irdma_sc_del_arp_cache_entry() argument 225 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_del_arp_cache_entry() 254 u64 scratch, bool post_sq) in irdma_sc_manage_apbvt_entry() argument 259 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_manage_apbvt_entry() 302 u64 scratch, bool post_sq) in irdma_sc_manage_qhash_table_entry() argument 310 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_manage_qhash_table_entry() 449 u64 scratch, bool post_sq) in irdma_sc_qp_create() argument 460 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_qp_create() [all …]
|
/linux-6.1.9/crypto/ |
D | scompress.c | 70 struct scomp_scratch *scratch; in crypto_scomp_free_scratches() local 74 scratch = per_cpu_ptr(&scomp_scratch, i); in crypto_scomp_free_scratches() 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 91 scratch = per_cpu_ptr(&scomp_scratch, i); in crypto_scomp_alloc_scratches() 96 scratch->src = mem; in crypto_scomp_alloc_scratches() 100 scratch->dst = mem; in crypto_scomp_alloc_scratches() [all …]
|
/linux-6.1.9/drivers/mmc/host/ |
D | sdhci-pci-o2micro.c | 107 u16 scratch; in sdhci_o2_enable_internal_clock() local 127 scratch = sdhci_readw(host, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock() 128 if (scratch & O2_PLL_LOCK_STATUS) in sdhci_o2_enable_internal_clock() 316 u16 scratch = 0; in sdhci_o2_execute_tuning() local 334 scratch = sdhci_readw(host, O2_SD_MISC_CTRL); in sdhci_o2_execute_tuning() 335 scratch |= O2_SD_PWR_FORCE_L0; in sdhci_o2_execute_tuning() 336 sdhci_writew(host, scratch, O2_SD_MISC_CTRL); in sdhci_o2_execute_tuning() 402 scratch = sdhci_readw(host, O2_SD_MISC_CTRL); in sdhci_o2_execute_tuning() 403 scratch &= ~(O2_SD_PWR_FORCE_L0); in sdhci_o2_execute_tuning() 404 sdhci_writew(host, scratch, O2_SD_MISC_CTRL); in sdhci_o2_execute_tuning() [all …]
|
D | mmc_spi.c | 99 struct scratch { struct 126 struct scratch *data; 426 struct scratch *data = host->data; in mmc_spi_command_send() 554 struct scratch *scratch = host->data; in mmc_spi_setup_data_message() local 569 scratch->data_token = SPI_TOKEN_MULTI_WRITE; in mmc_spi_setup_data_message() 571 scratch->data_token = SPI_TOKEN_SINGLE; in mmc_spi_setup_data_message() 572 t->tx_buf = &scratch->data_token; in mmc_spi_setup_data_message() 574 t->tx_dma = dma + offsetof(struct scratch, data_token); in mmc_spi_setup_data_message() 593 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message() 595 t->tx_dma = dma + offsetof(struct scratch, crc_val); in mmc_spi_setup_data_message() [all …]
|
/linux-6.1.9/arch/arc/include/asm/ |
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.1.9/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_dcn20.c | 98 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() 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() [all …]
|
D | dmub_dcn31.c | 87 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() 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() [all …]
|
D | dmub_dcn32.c | 88 uint32_t in_reset, scratch, i; in dmub_dcn32_reset() local 114 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn32_reset() 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() [all …]
|
/linux-6.1.9/net/xfrm/ |
D | xfrm_ipcomp.c | 44 u8 *scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_decompress() local 46 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); in ipcomp_decompress() 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 [all …]
|
/linux-6.1.9/arch/x86/include/asm/ |
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.1.9/drivers/block/paride/ |
D | paride.c | 170 static int default_test_proto(PIA * pi, char *scratch, int verbose) in default_test_proto() argument 196 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() 275 static int pi_probe_mode(PIA * pi, int max, char *scratch, int verbose) in pi_probe_mode() argument 288 return (!pi_test_proto(pi, scratch, verbose)); in pi_probe_mode() 298 if (!pi_test_proto(pi, scratch, verbose)) in pi_probe_mode() 305 static int pi_probe_unit(PIA * pi, int unit, char *scratch, int verbose) in pi_probe_unit() argument 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() [all …]
|
/linux-6.1.9/drivers/media/platform/sunxi/sun4i-csi/ |
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.1.9/drivers/usb/host/ |
D | ehci-dbg.c | 373 u32 scratch; in qh_lines() local 396 scratch = hc32_to_cpup(ehci, &hw->hw_info1); in qh_lines() 401 qh, scratch & 0x007f, in qh_lines() 402 speed_char (scratch), in qh_lines() 403 (scratch >> 8) & 0x000f, in qh_lines() 404 scratch, hc32_to_cpup(ehci, &hw->hw_info2), in qh_lines() 420 scratch = hc32_to_cpup(ehci, &td->hw_token); in qh_lines() 426 } else if (QTD_LENGTH(scratch)) { in qh_lines() 432 switch ((scratch >> 8) & 0x03) { in qh_lines() 450 (scratch >> 16) & 0x7fff, in qh_lines() [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | gen6_ppgtt.c | 23 dma_addr_t addr = pt ? px_dma(pt) : px_dma(ppgtt->base.vm.scratch[1]); in gen6_write_pde() 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() 232 vm->scratch[1] = vm->alloc_pt_dma(vm, I915_GTT_PAGE_SIZE_4K); 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() [all …]
|
D | selftest_workarounds.c | 507 struct i915_vma *scratch; in check_dirty_whitelist() local 513 scratch = __vm_create_scratch_for_read_pinned(ce->vm, sz); in check_dirty_whitelist() 514 if (IS_ERR(scratch)) in check_dirty_whitelist() 515 return PTR_ERR(scratch); in check_dirty_whitelist() 526 u64 addr = scratch->node.start; in check_dirty_whitelist() 544 err = i915_gem_object_lock(scratch->obj, &ww); in check_dirty_whitelist() 558 results = i915_gem_object_pin_map(scratch->obj, I915_MAP_WB); in check_dirty_whitelist() 608 GEM_BUG_ON(idx * sizeof(u32) > scratch->size); in check_dirty_whitelist() 641 err = i915_request_await_object(rq, scratch->obj, true); in check_dirty_whitelist() 643 err = i915_vma_move_to_active(scratch, rq, in check_dirty_whitelist() [all …]
|
D | selftest_lrc.c | 403 struct i915_vma *scratch) in __live_lrc_state() argument 424 err = i915_gem_object_lock(scratch->obj, &ww); in __live_lrc_state() 445 *cs++ = i915_ggtt_offset(scratch) + RING_START_IDX * sizeof(u32); in __live_lrc_state() 452 *cs++ = i915_ggtt_offset(scratch) + RING_TAIL_IDX * sizeof(u32); in __live_lrc_state() 455 err = i915_request_await_object(rq, scratch->obj, true); in __live_lrc_state() 457 err = i915_vma_move_to_active(scratch, rq, EXEC_OBJECT_WRITE); in __live_lrc_state() 472 cs = i915_gem_object_pin_map(scratch->obj, I915_MAP_WB); in __live_lrc_state() 487 i915_gem_object_unpin_map(scratch->obj); in __live_lrc_state() 508 struct i915_vma *scratch; in live_lrc_state() local 517 scratch = create_scratch(gt); in live_lrc_state() [all …]
|
/linux-6.1.9/arch/alpha/kernel/ |
D | err_marvel.c | 153 int scratch, i; in marvel_print_po7_uncrr_sym() local 198 scratch = EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__CLK); in marvel_print_po7_uncrr_sym() 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() 203 clk_names[i], clk_decode[scratch & 0x3]); in marvel_print_po7_uncrr_sym() 232 if ((scratch = EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__VICTIM_SP))) { 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() [all …]
|
/linux-6.1.9/arch/mips/mm/ |
D | tlbex.c | 1075 const int scratch = 1; /* Our extra working register */ in build_fast_tlb_refill_handler() local 1077 rv.huge_pte = scratch; in build_fast_tlb_refill_handler() 1090 UASM_i_MTC0(p, scratch, c0_kscratch(), c0_scratch_reg); in build_fast_tlb_refill_handler() 1092 UASM_i_SW(p, scratch, scratchpad_offset(0), 0); in build_fast_tlb_refill_handler() 1094 uasm_i_dsrl_safe(p, scratch, tmp, in build_fast_tlb_refill_handler() 1096 uasm_il_bnez(p, r, scratch, label_vmalloc); in build_fast_tlb_refill_handler() 1112 UASM_i_MTC0(p, scratch, c0_kscratch(), c0_scratch_reg); in build_fast_tlb_refill_handler() 1114 UASM_i_SW(p, scratch, scratchpad_offset(0), 0); in build_fast_tlb_refill_handler() 1132 #define LOC_PTEP scratch in build_fast_tlb_refill_handler() 1139 uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3); in build_fast_tlb_refill_handler() [all …]
|
/linux-6.1.9/lib/mpi/ |
D | ec.c | 601 for (j = 0; i < DIM(ctx->t.scratch) && bad_points_table[i][j]; j++) in mpi_ec_init() 602 ctx->t.scratch[j] = mpi_scanval(bad_points_table[i][j]); in mpi_ec_init() 606 for (i = 0; i < DIM(ctx->t.scratch); i++) in mpi_ec_init() 607 ctx->t.scratch[i] = mpi_alloc_like(ctx->p); in mpi_ec_init() 637 for (i = 0; i < DIM(ctx->t.scratch) && ctx->t.scratch[i]; i++) in mpi_ec_init() 638 ctx->t.scratch[i]->nlimbs = ctx->p->nlimbs; in mpi_ec_init() 668 for (i = 0; i < DIM(ctx->t.scratch); i++) in mpi_ec_deinit() 669 mpi_free(ctx->t.scratch[i]); in mpi_ec_deinit() 759 #define t1 (ctx->t.scratch[0]) in dup_point_weierstrass() 760 #define t2 (ctx->t.scratch[1]) in dup_point_weierstrass() [all …]
|
/linux-6.1.9/drivers/mtd/devices/ |
D | mtd_dataflash.c | 469 u8 *scratch; in otp_read() local 482 scratch = kzalloc(l, GFP_KERNEL); in otp_read() 483 if (!scratch) in otp_read() 489 scratch[0] = OP_READ_SECURITY; in otp_read() 492 t.tx_buf = scratch; in otp_read() 493 t.rx_buf = scratch; in otp_read() 501 memcpy(buf, scratch + 4 + base + off, len); in otp_read() 505 kfree(scratch); in otp_read() 548 u8 *scratch; in dataflash_write_user_otp() local 569 scratch = kzalloc(l, GFP_KERNEL); in dataflash_write_user_otp() [all …]
|