Home
last modified time | relevance | path

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

12345678910

/Linux-v4.19/arch/arc/kernel/
Dsignal.c74 uregs.scratch.bta = regs->bta; in stash_usr_regs()
75 uregs.scratch.lp_start = regs->lp_start; in stash_usr_regs()
76 uregs.scratch.lp_end = regs->lp_end; in stash_usr_regs()
77 uregs.scratch.lp_count = regs->lp_count; in stash_usr_regs()
78 uregs.scratch.status32 = regs->status32; in stash_usr_regs()
79 uregs.scratch.ret = regs->ret; in stash_usr_regs()
80 uregs.scratch.blink = regs->blink; in stash_usr_regs()
81 uregs.scratch.fp = regs->fp; in stash_usr_regs()
82 uregs.scratch.gp = regs->r26; in stash_usr_regs()
83 uregs.scratch.r12 = regs->r12; in stash_usr_regs()
[all …]
Dptrace.c51 REG_O_ONE(scratch.bta, &ptregs->bta); in genregs_get()
52 REG_O_ONE(scratch.lp_start, &ptregs->lp_start); in genregs_get()
53 REG_O_ONE(scratch.lp_end, &ptregs->lp_end); in genregs_get()
54 REG_O_ONE(scratch.lp_count, &ptregs->lp_count); in genregs_get()
55 REG_O_ONE(scratch.status32, &ptregs->status32); in genregs_get()
56 REG_O_ONE(scratch.ret, &ptregs->ret); in genregs_get()
57 REG_O_ONE(scratch.blink, &ptregs->blink); in genregs_get()
58 REG_O_ONE(scratch.fp, &ptregs->fp); in genregs_get()
59 REG_O_ONE(scratch.gp, &ptregs->r26); in genregs_get()
60 REG_O_ONE(scratch.r12, &ptregs->r12); in genregs_get()
[all …]
/Linux-v4.19/arch/sparc/include/asm/
Dwinmacro.h50 #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-v4.19/drivers/usb/wusbcore/
Dcrypto.c194 struct wusb_mac_scratch *scratch, in wusb_ccm_mac() argument
212 WARN_ON(sizeof(*a) != sizeof(scratch->b1) - sizeof(scratch->b1.la)); in wusb_ccm_mac()
213 WARN_ON(sizeof(scratch->b0) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac()
214 WARN_ON(sizeof(scratch->b1) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac()
215 WARN_ON(sizeof(scratch->ax) != sizeof(struct aes_ccm_block)); in wusb_ccm_mac()
221 dst_size = blen + sizeof(scratch->b0) + sizeof(scratch->b1) + in wusb_ccm_mac()
232 scratch->b0.flags = 0x59; /* Format B0 */ in wusb_ccm_mac()
233 scratch->b0.ccm_nonce = *n; in wusb_ccm_mac()
234 scratch->b0.lm = cpu_to_be16(0); /* WUSB1.0[6.5] sez l(m) is 0 */ in wusb_ccm_mac()
243 scratch->b1.la = cpu_to_be16(blen + 14); in wusb_ccm_mac()
[all …]
/Linux-v4.19/arch/arc/include/asm/
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-v4.19/drivers/mmc/host/
Dsdhci-pci-o2micro.c342 u8 scratch; in sdhci_pci_o2_probe() local
352 O2_SD_LOCK_WP, &scratch); in sdhci_pci_o2_probe()
355 scratch &= 0x7f; in sdhci_pci_o2_probe()
356 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch); in sdhci_pci_o2_probe()
363 O2_SD_CLKREQ, &scratch); in sdhci_pci_o2_probe()
366 scratch |= 0x20; in sdhci_pci_o2_probe()
367 pci_write_config_byte(chip->pdev, O2_SD_CLKREQ, scratch); in sdhci_pci_o2_probe()
372 ret = pci_read_config_byte(chip->pdev, O2_SD_CAPS, &scratch); in sdhci_pci_o2_probe()
375 scratch |= 0x01; in sdhci_pci_o2_probe()
376 pci_write_config_byte(chip->pdev, O2_SD_CAPS, scratch); in sdhci_pci_o2_probe()
[all …]
Dmmc_spi.c119 struct scratch { struct
146 struct scratch *data;
449 struct scratch *data = host->data; in mmc_spi_command_send()
577 struct scratch *scratch = host->data; in mmc_spi_setup_data_message() local
592 scratch->data_token = SPI_TOKEN_MULTI_WRITE; in mmc_spi_setup_data_message()
594 scratch->data_token = SPI_TOKEN_SINGLE; in mmc_spi_setup_data_message()
595 t->tx_buf = &scratch->data_token; in mmc_spi_setup_data_message()
597 t->tx_dma = dma + offsetof(struct scratch, data_token); in mmc_spi_setup_data_message()
616 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
618 t->tx_dma = dma + offsetof(struct scratch, crc_val); in mmc_spi_setup_data_message()
[all …]
/Linux-v4.19/net/xfrm/
Dxfrm_ipcomp.c49 u8 *scratch = *per_cpu_ptr(ipcomp_scratches, cpu); in ipcomp_decompress() local
51 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); in ipcomp_decompress()
69 skb_copy_to_linear_data(skb, scratch, len); in ipcomp_decompress()
71 while ((scratch += len, dlen -= len) > 0) { in ipcomp_decompress()
94 memcpy(skb_frag_address(frag), scratch, len); in ipcomp_decompress()
145 u8 *scratch; in ipcomp_compress() local
149 scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_compress()
151 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress()
160 memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen); in ipcomp_compress()
236 void *scratch; in ipcomp_alloc_scratches() local
[all …]
/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw_type.h560 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 …]
Di40iw_ctrl.c605 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 …]
Di40iw_p.h54 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-v4.19/drivers/block/paride/
Dparide.c170 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 …]
Dbpck.c278 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()
Depia.c237 static int epia_test_proto( PIA *pi, char * scratch, int verbose ) in epia_test_proto() argument
257 epia_read_block(pi,scratch,512); in epia_test_proto()
259 if ((scratch[2*k] & 0xff) != ((k+1) & 0xff)) f++; in epia_test_proto()
260 if ((scratch[2*k+1] & 0xff) != ((-2-k) & 0xff)) f++; in epia_test_proto()
275 static void epia_log_adapter( PIA *pi, char * scratch, int verbose ) in epia_log_adapter() argument
/Linux-v4.19/drivers/usb/host/
Dehci-dbg.c373 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-v4.19/arch/alpha/kernel/
Derr_marvel.c153 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-v4.19/arch/mips/mm/
Dtlbex.c1100 const int scratch = 1; /* Our extra working register */ in build_fast_tlb_refill_handler() local
1102 rv.huge_pte = scratch; in build_fast_tlb_refill_handler()
1115 UASM_i_MTC0(p, scratch, c0_kscratch(), c0_scratch_reg); in build_fast_tlb_refill_handler()
1117 UASM_i_SW(p, scratch, scratchpad_offset(0), 0); in build_fast_tlb_refill_handler()
1119 uasm_i_dsrl_safe(p, scratch, tmp, in build_fast_tlb_refill_handler()
1121 uasm_il_bnez(p, r, scratch, label_vmalloc); in build_fast_tlb_refill_handler()
1137 UASM_i_MTC0(p, scratch, c0_kscratch(), c0_scratch_reg); in build_fast_tlb_refill_handler()
1139 UASM_i_SW(p, scratch, scratchpad_offset(0), 0); in build_fast_tlb_refill_handler()
1156 #define LOC_PTEP scratch in build_fast_tlb_refill_handler()
1163 uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3); in build_fast_tlb_refill_handler()
[all …]
/Linux-v4.19/drivers/mtd/devices/
Dmtd_dataflash.c459 u8 *scratch; in otp_read() local
472 scratch = kzalloc(l, GFP_KERNEL); in otp_read()
473 if (!scratch) in otp_read()
479 scratch[0] = OP_READ_SECURITY; in otp_read()
482 t.tx_buf = scratch; in otp_read()
483 t.rx_buf = scratch; in otp_read()
491 memcpy(buf, scratch + 4 + base + off, len); in otp_read()
495 kfree(scratch); in otp_read()
538 u8 *scratch; in dataflash_write_user_otp() local
559 scratch = kzalloc(l, GFP_KERNEL); in dataflash_write_user_otp()
[all …]
/Linux-v4.19/drivers/pnp/pnpbios/
Dcore.c102 char *argv[3], **envp, *buf, *scratch; in pnp_dock_event() local
131 scratch = buf; in pnp_dock_event()
134 envp[i++] = scratch; in pnp_dock_event()
135 scratch += sprintf(scratch, "ACTION=%s", dock ? "add" : "remove") + 1; in pnp_dock_event()
138 envp[i++] = scratch; in pnp_dock_event()
139 scratch += sprintf(scratch, "DOCK=%x/%x/%x", in pnp_dock_event()
/Linux-v4.19/drivers/scsi/
Dses.c56 struct ses_device *ses_dev = edev->scratch; in ses_page2_supported()
155 struct ses_device *ses_dev = edev->scratch; in ses_set_page2_descriptor()
185 struct ses_device *ses_dev = edev->scratch; in ses_get_page2_descriptor()
349 struct ses_device *ses_dev = edev->scratch; in ses_show_id()
446 struct ses_component *scomp = ecomp->scratch; in ses_process_descriptor()
496 if (!edev->component[0].scratch) in ses_enclosure_find_by_addr()
500 scomp = edev->component[i].scratch; in ses_enclosure_find_by_addr()
520 struct ses_device *ses_dev = edev->scratch; in ses_enclosure_data_process()
763 edev->scratch = ses_dev; in ses_intf_add()
765 edev->component[i].scratch = scomp + i; in ses_intf_add()
[all …]
/Linux-v4.19/fs/nfs/filelayout/
Dfilelayoutdev.c75 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-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c45 i = ffs(adev->gfx.scratch.free_mask); in amdgpu_gfx_scratch_get()
46 if (i != 0 && i <= adev->gfx.scratch.num_reg) { in amdgpu_gfx_scratch_get()
48 adev->gfx.scratch.free_mask &= ~(1u << i); in amdgpu_gfx_scratch_get()
49 *reg = adev->gfx.scratch.reg_base + i; in amdgpu_gfx_scratch_get()
65 adev->gfx.scratch.free_mask |= 1u << (reg - adev->gfx.scratch.reg_base); in amdgpu_gfx_scratch_free()
/Linux-v4.19/arch/sparc/lib/
DNG4fls.S12 .register %g2, #scratch
13 .register %g3, #scratch
/Linux-v4.19/drivers/scsi/sym53c8xx_2/
Dsym_fw1.h202 u32 scratch [ 1]; member
418 HADDR_1 (scratch),
424 HADDR_1 (scratch),
623 HADDR_1 (scratch),
1094 PADDR_B (scratch),
1419 HADDR_1 (scratch),
1425 HADDR_1 (scratch),
1490 HADDR_1 (scratch),
1595 HADDR_1 (scratch),
1623 HADDR_1 (scratch),
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dhuge_gem_object.c30 unsigned long nreal = obj->scratch / PAGE_SIZE; in huge_free_pages()
43 const unsigned long nreal = obj->scratch / PAGE_SIZE; in huge_get_pages()
136 obj->scratch = phys_size; in huge_gem_object()

12345678910