Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci-mem.c106 if (!ctrl->scratchpad) in xhci_scratchpad_free()
111 free((void *)(uintptr_t)ctrl->scratchpad->sp_array[0]); in xhci_scratchpad_free()
112 free(ctrl->scratchpad->sp_array); in xhci_scratchpad_free()
113 free(ctrl->scratchpad); in xhci_scratchpad_free()
114 ctrl->scratchpad = NULL; in xhci_scratchpad_free()
352 struct xhci_scratchpad *scratchpad; in xhci_scratchpad_alloc() local
362 scratchpad = malloc(sizeof(*scratchpad)); in xhci_scratchpad_alloc()
363 if (!scratchpad) in xhci_scratchpad_alloc()
365 ctrl->scratchpad = scratchpad; in xhci_scratchpad_alloc()
367 scratchpad->sp_array = xhci_malloc(num_sp * sizeof(u64)); in xhci_scratchpad_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/bdc/
H A Dbdc_core.c171 bdc->scratchpad.buff = dma_alloc_coherent(bdc->dev, sp_buff_size, in scratchpad_setup()
172 &bdc->scratchpad.sp_dma, in scratchpad_setup()
175 if (!bdc->scratchpad.buff) in scratchpad_setup()
179 bdc->scratchpad.size = sp_buff_size; in scratchpad_setup()
180 low32 = lower_32_bits(bdc->scratchpad.sp_dma); in scratchpad_setup()
181 upp32 = upper_32_bits(bdc->scratchpad.sp_dma); in scratchpad_setup()
189 bdc->scratchpad.buff = NULL; in scratchpad_setup()
228 bdc_writel(bdc->regs, BDC_SPBBAL, bdc->scratchpad.sp_dma); in bdc_mem_init()
287 memset(bdc->scratchpad.buff, 0, bdc->sp_buff_size); in bdc_mem_init()
322 if (bdc->scratchpad.buff) in bdc_mem_free()
[all …]
H A Dbdc.h422 struct bdc_scratchpad scratchpad; member
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-mlxbf.c31 u64 scratchpad; member
95 gs->csave_regs.scratchpad = readq(gs->base + MLXBF_GPIO_SCRATCHPAD); in mlxbf_gpio_suspend()
114 writeq(gs->csave_regs.scratchpad, gs->base + MLXBF_GPIO_SCRATCHPAD); in mlxbf_gpio_resume()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-mem.c1747 xhci->scratchpad = kzalloc_node(sizeof(*xhci->scratchpad), flags, in scratchpad_alloc()
1749 if (!xhci->scratchpad) in scratchpad_alloc()
1752 xhci->scratchpad->sp_array = dma_alloc_coherent(dev, in scratchpad_alloc()
1754 &xhci->scratchpad->sp_dma, flags); in scratchpad_alloc()
1755 if (!xhci->scratchpad->sp_array) in scratchpad_alloc()
1758 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc()
1760 if (!xhci->scratchpad->sp_buffers) in scratchpad_alloc()
1763 xhci->dcbaa->dev_context_ptrs[0] = cpu_to_le64(xhci->scratchpad->sp_dma); in scratchpad_alloc()
1771 xhci->scratchpad->sp_array[i] = dma; in scratchpad_alloc()
1772 xhci->scratchpad->sp_buffers[i] = buf; in scratchpad_alloc()
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A Ddrbg.c536 unsigned char *temp = drbg->scratchpad; in drbg_ctr_update()
537 unsigned char *df_data = drbg->scratchpad + drbg_statelen(drbg) + in drbg_ctr_update()
828 unsigned char *tmp = drbg->scratchpad + drbg_statelen(drbg); in drbg_hash_df()
867 unsigned char *V = drbg->scratchpad; in drbg_hash_update()
898 memset(drbg->scratchpad, 0, drbg_statelen(drbg)); in drbg_hash_update()
921 ret = drbg_kcapi_hash(drbg, drbg->scratchpad, &datalist); in drbg_hash_process_addtl()
927 drbg->scratchpad, drbg_blocklen(drbg)); in drbg_hash_process_addtl()
930 memset(drbg->scratchpad, 0, drbg_blocklen(drbg)); in drbg_hash_process_addtl()
941 unsigned char *src = drbg->scratchpad; in drbg_hash_hashgen()
942 unsigned char *dst = drbg->scratchpad + drbg_statelen(drbg); in drbg_hash_hashgen()
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/
H A Dntb.rst9 scratchpad and message registers. Scratchpad registers are read-and-writable
109 number) to the peer device using, for instance, scratchpad or message
139 and scratchpad registers of NTB hardware, and as an example simple NTB client.
141 then proceeds to read and write the doorbell scratchpad registers of the NTB.
145 scratchpad, and writes the value plus one to the first peer scratchpad, each
150 * unsafe - Some hardware has known issues with scratchpad and doorbell
196 series of pairs of scratchpad number and value
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A Dirq-gic-v3-its-pci-msi.c77 info->scratchpad[0].ul = pci_msi_domain_get_msi_rid(domain, pdev); in its_pci_msi_prepare()
87 if (!info->scratchpad[0].ul) in its_pci_msi_prepare()
H A Dirq-gic-v3-its-platform-msi.c63 info->scratchpad[0].ul = dev_id; in its_pmsi_prepare()
H A Dirq-gic-v3-its-fsl-mc-msi.c61 info->scratchpad[0].ul = fsl_mc_msi_domain_get_msi_id(msi_domain, in its_fsl_mc_msi_prepare()
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dmsi.h28 } scratchpad[NUM_MSI_ALLOC_SCRATCHPAD_REGS]; member
/OK3568_Linux_fs/kernel/drivers/ntb/test/
H A DKconfig15 scratchpad registers to be read and written from the debugfs. This
/OK3568_Linux_fs/kernel/include/crypto/
H A Ddrbg.h125 unsigned char *scratchpad; member
/OK3568_Linux_fs/kernel/drivers/hwtracing/intel_th/
H A Dintel_th.h42 unsigned int scratchpad; member
H A Dgth.c554 reg &= ~output->scratchpad; in intel_th_gth_disable()
611 scrpd |= output->scratchpad; in intel_th_gth_enable()
H A Dcore.c677 thdev->output.scratchpad = subdev->scrpd; in intel_th_subdevice_alloc()
/OK3568_Linux_fs/kernel/drivers/w1/slaves/
H A Dw1_therm.c1765 struct therm_info scratchpad; in alarms_show() local
1767 ret = read_scratchpad(sl, &scratchpad); in alarms_show()
1770 th = scratchpad.rom[2]; /* TH is byte 2 */ in alarms_show()
1771 tl = scratchpad.rom[3]; /* TL is byte 3 */ in alarms_show()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/wil6210/
H A Dtxrx_edma.h179 u16 scratchpad; member
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-esdhc-imx.c279 u32 scratchpad; member
695 imx_data->scratchpad = val; in esdhc_writew_le()
710 writel(val << 16 | imx_data->scratchpad, in esdhc_writew_le()
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-driver-w1_therm175 scratchpad memory is 0xC after conversion, and
/OK3568_Linux_fs/u-boot/include/usb/
H A Dxhci.h1231 struct xhci_scratchpad *scratchpad; member
/OK3568_Linux_fs/kernel/Documentation/w1/slaves/
H A Dw1_therm.rst126 checking the conversion success. If byte 6 of scratchpad memory is 0xC after
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c2980 cpumask_clear(priv->scratchpad.cpumask); in mlx5e_set_default_xps_cpumasks()
2985 cpumask_set_cpu(cpu, priv->scratchpad.cpumask); in mlx5e_set_default_xps_cpumasks()
2988 netif_set_xps_queue(priv->netdev, priv->scratchpad.cpumask, ix); in mlx5e_set_default_xps_cpumasks()
5406 if (!alloc_cpumask_var(&priv->scratchpad.cpumask, GFP_KERNEL)) in mlx5e_netdev_init()
5425 free_cpumask_var(priv->scratchpad.cpumask); in mlx5e_netdev_init()
5433 free_cpumask_var(priv->scratchpad.cpumask); in mlx5e_netdev_cleanup()
H A Den.h833 struct mlx5e_scratchpad scratchpad; member
/OK3568_Linux_fs/kernel/drivers/scsi/smartpqi/
H A Dsmartpqi.h772 __le32 scratchpad; member

12