Home
last modified time | relevance | path

Searched refs:scratchpad (Results 1 – 17 of 17) sorted by relevance

/linux-4.4.14/drivers/usb/gadget/udc/bdc/
Dbdc_core.c178 bdc->scratchpad.buff = dma_zalloc_coherent(bdc->dev, sp_buff_size, in scratchpad_setup()
179 &bdc->scratchpad.sp_dma, GFP_KERNEL); in scratchpad_setup()
181 if (!bdc->scratchpad.buff) in scratchpad_setup()
185 bdc->scratchpad.size = sp_buff_size; in scratchpad_setup()
186 low32 = lower_32_bits(bdc->scratchpad.sp_dma); in scratchpad_setup()
187 upp32 = upper_32_bits(bdc->scratchpad.sp_dma); in scratchpad_setup()
195 bdc->scratchpad.buff = NULL; in scratchpad_setup()
236 bdc_writel(bdc->regs, BDC_SPBBAL, bdc->scratchpad.sp_dma); in bdc_mem_init()
294 memset(bdc->scratchpad.buff, 0, bdc->sp_buff_size); in bdc_mem_init()
322 if (bdc->scratchpad.buff) in bdc_mem_free()
[all …]
Dbdc.h424 struct bdc_scratchpad scratchpad; member
/linux-4.4.14/crypto/
Ddrbg.c518 unsigned char *temp = drbg->scratchpad; in drbg_ctr_update()
519 unsigned char *df_data = drbg->scratchpad + drbg_statelen(drbg) + in drbg_ctr_update()
599 ret = drbg_kcapi_sym(drbg, drbg->C, drbg->scratchpad, &data); in drbg_ctr_generate()
606 if (!drbg_fips_continuous_test(drbg, drbg->scratchpad)) { in drbg_ctr_generate()
612 memcpy(buf + len, drbg->scratchpad, outlen); in drbg_ctr_generate()
625 memset(drbg->scratchpad, 0, drbg_blocklen(drbg)); in drbg_ctr_generate()
833 unsigned char *tmp = drbg->scratchpad + drbg_statelen(drbg); in drbg_hash_df()
872 unsigned char *V = drbg->scratchpad; in drbg_hash_update()
903 memset(drbg->scratchpad, 0, drbg_statelen(drbg)); in drbg_hash_update()
926 ret = drbg_kcapi_hash(drbg, NULL, drbg->scratchpad, &datalist); in drbg_hash_process_addtl()
[all …]
/linux-4.4.14/drivers/usb/host/
Dxhci-mem.c1652 xhci->scratchpad = kzalloc(sizeof(*xhci->scratchpad), flags); in scratchpad_alloc()
1653 if (!xhci->scratchpad) in scratchpad_alloc()
1656 xhci->scratchpad->sp_array = dma_alloc_coherent(dev, in scratchpad_alloc()
1658 &xhci->scratchpad->sp_dma, flags); in scratchpad_alloc()
1659 if (!xhci->scratchpad->sp_array) in scratchpad_alloc()
1662 xhci->scratchpad->sp_buffers = kzalloc(sizeof(void *) * num_sp, flags); in scratchpad_alloc()
1663 if (!xhci->scratchpad->sp_buffers) in scratchpad_alloc()
1666 xhci->scratchpad->sp_dma_buffers = in scratchpad_alloc()
1669 if (!xhci->scratchpad->sp_dma_buffers) in scratchpad_alloc()
1672 xhci->dcbaa->dev_context_ptrs[0] = cpu_to_le64(xhci->scratchpad->sp_dma); in scratchpad_alloc()
[all …]
Dxhci.h1558 struct xhci_scratchpad *scratchpad; member
/linux-4.4.14/Documentation/
Dntb.txt5 Existing NTB hardware supports a common feature set, including scratchpad
43 and scratchpad registers of NTB hardware, and as an example simple NTB client.
45 then proceeds to read and write the doorbell scratchpad registers of the NTB.
49 scratchpad, and writes the value plus one to the first peer scratchpad, each
54 * unsafe - Some hardware has known issues with scratchpad and doorbell
93 series of pairs of scratchpad number and value
/linux-4.4.14/drivers/rtc/
Drtc-jz4740.c217 uint32_t scratchpad; in jz4740_rtc_probe() local
256 scratchpad = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SCRATCHPAD); in jz4740_rtc_probe()
257 if (scratchpad != 0x12345678) { in jz4740_rtc_probe()
/linux-4.4.14/include/asm-generic/
Dmsi.h27 } scratchpad[NUM_MSI_ALLOC_SCRATCHPAD_REGS]; member
/linux-4.4.14/drivers/irqchip/
Dirq-gic-v3-its-platform-msi.c55 info->scratchpad[0].ul = dev_id; in its_pmsi_prepare()
Dirq-gic-v3-its-pci-msi.c87 info->scratchpad[0].ul = pci_msi_domain_get_msi_rid(domain, pdev); in its_pci_msi_prepare()
Dirq-gic-v3-its.c1229 dev_id = info->scratchpad[0].ul; in its_msi_prepare()
1251 info->scratchpad[0].ptr = its_dev; in its_msi_prepare()
1282 struct its_device *its_dev = info->scratchpad[0].ptr; in its_irq_domain_alloc()
/linux-4.4.14/drivers/ntb/test/
DKconfig14 scratchpad registers to be read and written from the debugfs. This
/linux-4.4.14/include/crypto/
Ddrbg.h116 unsigned char *scratchpad; member
/linux-4.4.14/drivers/hwtracing/intel_th/
Dgth.c300 u32 scratchpad; in intel_th_gth_reset() local
303 scratchpad = ioread32(gth->base + REG_GTH_SCRPD0); in intel_th_gth_reset()
304 if (scratchpad & SCRPD_DEBUGGER_IN_USE) in intel_th_gth_reset()
/linux-4.4.14/drivers/mmc/host/
Dsdhci-esdhc-imx.c184 u32 scratchpad; member
528 imx_data->scratchpad = val; in esdhc_writew_le()
543 writel(val << 16 | imx_data->scratchpad, in esdhc_writew_le()
/linux-4.4.14/drivers/block/
Dcciss.c4175 u32 scratchpad; in cciss_wait_for_board_state() local
4183 scratchpad = readl(vaddr + SA5_SCRATCHPAD_OFFSET); in cciss_wait_for_board_state()
4185 if (scratchpad == CCISS_FIRMWARE_READY) in cciss_wait_for_board_state()
4188 if (scratchpad != CCISS_FIRMWARE_READY) in cciss_wait_for_board_state()
/linux-4.4.14/drivers/scsi/
Dhpsa.c7404 u32 scratchpad; in hpsa_wait_for_board_state() local
7411 scratchpad = readl(vaddr + SA5_SCRATCHPAD_OFFSET); in hpsa_wait_for_board_state()
7413 if (scratchpad == HPSA_FIRMWARE_READY) in hpsa_wait_for_board_state()
7416 if (scratchpad != HPSA_FIRMWARE_READY) in hpsa_wait_for_board_state()