/Linux-v5.4/arch/arc/kernel/ |
D | signal.c | 71 uregs.scratch.bta = regs->bta; in stash_usr_regs() 72 uregs.scratch.lp_start = regs->lp_start; in stash_usr_regs() 73 uregs.scratch.lp_end = regs->lp_end; in stash_usr_regs() 74 uregs.scratch.lp_count = regs->lp_count; in stash_usr_regs() 75 uregs.scratch.status32 = regs->status32; in stash_usr_regs() 76 uregs.scratch.ret = regs->ret; in stash_usr_regs() 77 uregs.scratch.blink = regs->blink; in stash_usr_regs() 78 uregs.scratch.fp = regs->fp; in stash_usr_regs() 79 uregs.scratch.gp = regs->r26; in stash_usr_regs() 80 uregs.scratch.r12 = regs->r12; in stash_usr_regs() [all …]
|
D | ptrace.c | 48 REG_O_ONE(scratch.bta, &ptregs->bta); in genregs_get() 49 REG_O_ONE(scratch.lp_start, &ptregs->lp_start); in genregs_get() 50 REG_O_ONE(scratch.lp_end, &ptregs->lp_end); in genregs_get() 51 REG_O_ONE(scratch.lp_count, &ptregs->lp_count); in genregs_get() 52 REG_O_ONE(scratch.status32, &ptregs->status32); in genregs_get() 53 REG_O_ONE(scratch.ret, &ptregs->ret); in genregs_get() 54 REG_O_ONE(scratch.blink, &ptregs->blink); in genregs_get() 55 REG_O_ONE(scratch.fp, &ptregs->fp); in genregs_get() 56 REG_O_ONE(scratch.gp, &ptregs->r26); in genregs_get() 57 REG_O_ONE(scratch.r12, &ptregs->r12); in genregs_get() [all …]
|
/Linux-v5.4/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-v5.4/drivers/staging/wusbcore/ |
D | crypto.c | 179 struct wusb_mac_scratch *scratch, in wusb_ccm_mac() argument 192 BUILD_BUG_ON(sizeof(*a) != sizeof(scratch->b1) - sizeof(scratch->b1.la)); in wusb_ccm_mac() 193 BUILD_BUG_ON(sizeof(scratch->b0) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac() 194 BUILD_BUG_ON(sizeof(scratch->b1) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac() 195 BUILD_BUG_ON(sizeof(scratch->ax) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac() 198 scratch->b0.flags = 0x59; /* Format B0 */ in wusb_ccm_mac() 199 scratch->b0.ccm_nonce = *n; in wusb_ccm_mac() 200 scratch->b0.lm = cpu_to_be16(0); /* WUSB1.0[6.5] sez l(m) is 0 */ in wusb_ccm_mac() 209 scratch->b1.la = cpu_to_be16(blen + 14); in wusb_ccm_mac() 210 memcpy(&scratch->b1.mac_header, a, sizeof(*a)); in wusb_ccm_mac() [all …]
|
/Linux-v5.4/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-v5.4/arch/arc/include/asm/ |
D | irqflags-compact.h | 178 .macro IRQ_DISABLE scratch 179 lr \scratch, [status32] 180 bic \scratch, \scratch, (STATUS_E1_MASK | STATUS_E2_MASK) 181 flag \scratch 185 .macro IRQ_ENABLE scratch 187 lr \scratch, [status32] 188 or \scratch, \scratch, (STATUS_E1_MASK | STATUS_E2_MASK) 189 flag \scratch
|
/Linux-v5.4/drivers/mmc/host/ |
D | sdhci-pci-o2micro.c | 99 u16 scratch; in sdhci_o2_enable_internal_clock() local 119 scratch = sdhci_readw(host, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock() 120 if (scratch & O2_PLL_LOCK_STATUS) in sdhci_o2_enable_internal_clock() 584 u8 scratch; in sdhci_pci_o2_probe() local 594 O2_SD_LOCK_WP, &scratch); in sdhci_pci_o2_probe() 597 scratch &= 0x7f; in sdhci_pci_o2_probe() 598 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch); in sdhci_pci_o2_probe() 605 O2_SD_CLKREQ, &scratch); in sdhci_pci_o2_probe() 608 scratch |= 0x20; in sdhci_pci_o2_probe() 609 pci_write_config_byte(chip->pdev, O2_SD_CLKREQ, scratch); in sdhci_pci_o2_probe() [all …]
|
D | mmc_spi.c | 105 struct scratch { struct 132 struct scratch *data; 435 struct scratch *data = host->data; in mmc_spi_command_send() 563 struct scratch *scratch = host->data; in mmc_spi_setup_data_message() local 578 scratch->data_token = SPI_TOKEN_MULTI_WRITE; in mmc_spi_setup_data_message() 580 scratch->data_token = SPI_TOKEN_SINGLE; in mmc_spi_setup_data_message() 581 t->tx_buf = &scratch->data_token; in mmc_spi_setup_data_message() 583 t->tx_dma = dma + offsetof(struct scratch, data_token); in mmc_spi_setup_data_message() 602 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message() 604 t->tx_dma = dma + offsetof(struct scratch, crc_val); in mmc_spi_setup_data_message() [all …]
|
/Linux-v5.4/net/xfrm/ |
D | xfrm_ipcomp.c | 45 u8 *scratch = *per_cpu_ptr(ipcomp_scratches, cpu); in ipcomp_decompress() local 47 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); in ipcomp_decompress() 65 skb_copy_to_linear_data(skb, scratch, len); in ipcomp_decompress() 67 while ((scratch += len, dlen -= len) > 0) { in ipcomp_decompress() 90 memcpy(skb_frag_address(frag), scratch, len); in ipcomp_decompress() 141 u8 *scratch; in ipcomp_compress() local 145 scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_compress() 147 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress() 156 memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen); in ipcomp_compress() 232 void *scratch; in ipcomp_alloc_scratches() local [all …]
|
/Linux-v5.4/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() 79 memset(&scratch, 0, sizeof(scratch)); in sanitize_boot_params()
|
/Linux-v5.4/drivers/infiniband/hw/i40iw/ |
D | i40iw_type.h | 560 u64 scratch; member 1017 u64 *(*cqp_get_next_send_wqe)(struct i40iw_sc_cqp *, u64 scratch); 1166 u64 scratch; member 1172 u64 scratch; member 1177 u64 scratch; member 1184 u64 scratch; member 1190 u64 scratch; member 1196 u64 scratch; member 1201 u64 scratch; member 1209 u64 scratch; member [all …]
|
D | i40iw_ctrl.c | 605 u64 scratch, u32 *wqe_idx) in i40iw_sc_cqp_get_next_send_wqe_idx() argument 628 cqp->scratch_array[*wqe_idx] = scratch; in i40iw_sc_cqp_get_next_send_wqe_idx() 639 u64 *i40iw_sc_cqp_get_next_send_wqe(struct i40iw_sc_cqp *cqp, u64 scratch) in i40iw_sc_cqp_get_next_send_wqe() argument 643 return i40iw_sc_cqp_get_next_send_wqe_idx(cqp, scratch, &wqe_idx); in i40iw_sc_cqp_get_next_send_wqe() 749 info->scratch = cqp->scratch_array[wqe_idx]; in i40iw_sc_ccq_get_cqe_info() 832 u64 scratch, in i40iw_sc_manage_push_page() argument 841 wqe = i40iw_sc_cqp_get_next_send_wqe(cqp, scratch); in i40iw_sc_manage_push_page() 872 u64 scratch, in i40iw_sc_manage_hmc_pm_func_table() argument 882 wqe = i40iw_sc_cqp_get_next_send_wqe(cqp, scratch); in i40iw_sc_manage_hmc_pm_func_table() 910 u64 scratch, in i40iw_sc_set_hmc_resource_profile() argument [all …]
|
D | i40iw_p.h | 54 u64 *i40iw_sc_cqp_get_next_send_wqe(struct i40iw_sc_cqp *cqp, u64 scratch); 97 struct i40iw_sc_qp *qp, u64 scratch); 100 struct i40iw_sc_qp *qp, u64 scratch); 103 u64 scratch, u8 hmc_fn_id,
|
/Linux-v5.4/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 …]
|
D | bpck.c | 278 static int bpck_test_proto( PIA *pi, char * scratch, int verbose ) in bpck_test_proto() argument 418 static void bpck_log_adapter( PIA *pi, char * scratch, int verbose ) in bpck_log_adapter() argument 427 bpck_read_eeprom(pi,scratch); in bpck_log_adapter() 432 if ((scratch[i] < ' ') || (scratch[i] > '~')) in bpck_log_adapter() 433 scratch[i] = '.'; in bpck_log_adapter() 434 printk("%s: bpck EEPROM: %64.64s\n",pi->device,scratch); in bpck_log_adapter() 435 printk("%s: %64.64s\n",pi->device,&scratch[64]); in bpck_log_adapter() 440 pi->device,BPCK_VERSION,&scratch[110],pi->unit); in bpck_log_adapter()
|
/Linux-v5.4/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() 328 dma_free_coherent(csi->dev, csi->scratch.size, csi->scratch.vaddr, in sun4i_csi_start_streaming() 329 csi->scratch.paddr); in sun4i_csi_start_streaming() 356 dma_free_coherent(csi->dev, csi->scratch.size, csi->scratch.vaddr, in sun4i_csi_stop_streaming() [all …]
|
/Linux-v5.4/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-v5.4/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-v5.4/drivers/gpu/drm/i915/gt/ |
D | selftest_workarounds.c | 466 struct i915_vma *scratch; in check_dirty_whitelist() local 471 scratch = create_scratch(ctx->vm, 2 * ARRAY_SIZE(values) + 1); in check_dirty_whitelist() 472 if (IS_ERR(scratch)) in check_dirty_whitelist() 473 return PTR_ERR(scratch); in check_dirty_whitelist() 483 u64 addr = scratch->node.start; in check_dirty_whitelist() 542 GEM_BUG_ON(idx * sizeof(u32) > scratch->size); in check_dirty_whitelist() 587 results = i915_gem_object_pin_map(scratch->obj, I915_MAP_WB); in check_dirty_whitelist() 666 i915_gem_object_unpin_map(scratch->obj); in check_dirty_whitelist() 676 i915_vma_unpin_and_release(&scratch, 0); in check_dirty_whitelist() 979 struct i915_vma *scratch[2]; in live_isolated_whitelist() member [all …]
|
/Linux-v5.4/arch/mips/mm/ |
D | tlbex.c | 1113 const int scratch = 1; /* Our extra working register */ in build_fast_tlb_refill_handler() local 1115 rv.huge_pte = scratch; in build_fast_tlb_refill_handler() 1128 UASM_i_MTC0(p, scratch, c0_kscratch(), c0_scratch_reg); in build_fast_tlb_refill_handler() 1130 UASM_i_SW(p, scratch, scratchpad_offset(0), 0); in build_fast_tlb_refill_handler() 1132 uasm_i_dsrl_safe(p, scratch, tmp, in build_fast_tlb_refill_handler() 1134 uasm_il_bnez(p, r, scratch, label_vmalloc); in build_fast_tlb_refill_handler() 1150 UASM_i_MTC0(p, scratch, c0_kscratch(), c0_scratch_reg); in build_fast_tlb_refill_handler() 1152 UASM_i_SW(p, scratch, scratchpad_offset(0), 0); in build_fast_tlb_refill_handler() 1169 #define LOC_PTEP scratch in build_fast_tlb_refill_handler() 1176 uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3); in build_fast_tlb_refill_handler() [all …]
|
/Linux-v5.4/drivers/mtd/devices/ |
D | mtd_dataflash.c | 455 u8 *scratch; in otp_read() local 468 scratch = kzalloc(l, GFP_KERNEL); in otp_read() 469 if (!scratch) in otp_read() 475 scratch[0] = OP_READ_SECURITY; in otp_read() 478 t.tx_buf = scratch; in otp_read() 479 t.rx_buf = scratch; in otp_read() 487 memcpy(buf, scratch + 4 + base + off, len); in otp_read() 491 kfree(scratch); in otp_read() 534 u8 *scratch; in dataflash_write_user_otp() local 555 scratch = kzalloc(l, GFP_KERNEL); in dataflash_write_user_otp() [all …]
|
/Linux-v5.4/drivers/pnp/pnpbios/ |
D | core.c | 89 char *argv[3], **envp, *buf, *scratch; in pnp_dock_event() local 118 scratch = buf; in pnp_dock_event() 121 envp[i++] = scratch; in pnp_dock_event() 122 scratch += sprintf(scratch, "ACTION=%s", dock ? "add" : "remove") + 1; in pnp_dock_event() 125 envp[i++] = scratch; in pnp_dock_event() 126 scratch += sprintf(scratch, "DOCK=%x/%x/%x", in pnp_dock_event()
|
/Linux-v5.4/drivers/scsi/ |
D | ses.c | 40 struct ses_device *ses_dev = edev->scratch; in ses_page2_supported() 139 struct ses_device *ses_dev = edev->scratch; in ses_set_page2_descriptor() 169 struct ses_device *ses_dev = edev->scratch; in ses_get_page2_descriptor() 333 struct ses_device *ses_dev = edev->scratch; in ses_show_id() 430 struct ses_component *scomp = ecomp->scratch; in ses_process_descriptor() 480 if (!edev->component[0].scratch) in ses_enclosure_find_by_addr() 484 scomp = edev->component[i].scratch; in ses_enclosure_find_by_addr() 504 struct ses_device *ses_dev = edev->scratch; in ses_enclosure_data_process() 747 edev->scratch = ses_dev; in ses_intf_add() 749 edev->component[i].scratch = scomp + i; in ses_intf_add() [all …]
|
/Linux-v5.4/fs/nfs/filelayout/ |
D | filelayoutdev.c | 75 struct page *scratch; in nfs4_fl_alloc_deviceid_node() local 80 scratch = alloc_page(gfp_flags); in nfs4_fl_alloc_deviceid_node() 81 if (!scratch) in nfs4_fl_alloc_deviceid_node() 85 xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); in nfs4_fl_alloc_deviceid_node() 189 __free_page(scratch); in nfs4_fl_alloc_deviceid_node() 207 __free_page(scratch); in nfs4_fl_alloc_deviceid_node()
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | i915_gem_gtt.c | 661 vm->scratch[0].base.page = page; in setup_scratch_page() 662 vm->scratch[0].base.daddr = addr; in setup_scratch_page() 681 struct i915_page_dma *p = px_base(&vm->scratch[0]); in cleanup_scratch_page() 693 if (!px_dma(&vm->scratch[0])) /* set to 0 on clones */ in free_scratch() 697 if (!px_dma(&vm->scratch[i])) in free_scratch() 699 cleanup_page_dma(vm, px_base(&vm->scratch[i])); in free_scratch() 789 const struct i915_page_scratch * const scratch) in clear_pd_entry() argument 793 write_dma_entry(px_base(pd), idx, scratch->encode); in clear_pd_entry() 802 const struct i915_page_scratch * const scratch) in release_pd_entry() argument 811 clear_pd_entry(pd, idx, scratch); in release_pd_entry() [all …]
|