Home
last modified time | relevance | path

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

/drivers/usb/gadget/udc/bdc/
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 …]
Dbdc.h422 struct bdc_scratchpad scratchpad; member
/drivers/usb/host/
Dxhci-mem.c1668 xhci->scratchpad = kzalloc_node(sizeof(*xhci->scratchpad), flags, in scratchpad_alloc()
1670 if (!xhci->scratchpad) in scratchpad_alloc()
1673 xhci->scratchpad->sp_array = dma_alloc_coherent(dev, in scratchpad_alloc()
1675 &xhci->scratchpad->sp_dma, flags); in scratchpad_alloc()
1676 if (!xhci->scratchpad->sp_array) in scratchpad_alloc()
1679 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc()
1681 if (!xhci->scratchpad->sp_buffers) in scratchpad_alloc()
1684 xhci->dcbaa->dev_context_ptrs[0] = cpu_to_le64(xhci->scratchpad->sp_dma); in scratchpad_alloc()
1692 xhci->scratchpad->sp_array[i] = dma; in scratchpad_alloc()
1693 xhci->scratchpad->sp_buffers[i] = buf; in scratchpad_alloc()
[all …]
Dxhci.h1822 struct xhci_scratchpad *scratchpad; member
/drivers/gpio/
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()
/drivers/net/wwan/iosm/
Diosm_ipc_pcie.c28 iounmap(ipc_pcie->scratchpad); in ipc_pcie_resources_release()
100 ipc_pcie->scratchpad = in ipc_pcie_resources_request()
103 if (!ipc_pcie->scratchpad) { in ipc_pcie_resources_request()
132 iounmap(ipc_pcie->scratchpad); in ipc_pcie_resources_request()
308 ipc_pcie->scratchpad, ipc_pcie->dev); in ipc_pcie_probe()
Diosm_ipc_pcie.h67 void __iomem *scratchpad; member
/drivers/irqchip/
Dirq-gic-v3-its-pci-msi.c82 info->scratchpad[0].ul = pci_msi_domain_get_msi_rid(domain, pdev); in its_pci_msi_prepare()
92 if (!info->scratchpad[0].ul) in its_pci_msi_prepare()
Dirq-gic-v3-its-platform-msi.c63 info->scratchpad[0].ul = dev_id; in its_pmsi_prepare()
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()
Dirq-gic-v3-its.c3519 dev_id = info->scratchpad[0].ul; in its_msi_prepare()
3559 info->scratchpad[0].ptr = its_dev; in its_msi_prepare()
3595 struct its_device *its_dev = info->scratchpad[0].ptr; in its_irq_domain_alloc()
/drivers/ntb/test/
DKconfig15 scratchpad registers to be read and written from the debugfs. This
/drivers/hwtracing/intel_th/
Dintel_th.h42 unsigned int scratchpad; member
Dgth.c554 reg &= ~output->scratchpad; in intel_th_gth_disable()
611 scrpd |= output->scratchpad; in intel_th_gth_enable()
Dcore.c677 thdev->output.scratchpad = subdev->scrpd; in intel_th_subdevice_alloc()
/drivers/w1/slaves/
Dw1_therm.c1761 struct therm_info scratchpad; in alarms_show() local
1763 ret = read_scratchpad(sl, &scratchpad); in alarms_show()
1766 th = scratchpad.rom[2]; /* TH is byte 2 */ in alarms_show()
1767 tl = scratchpad.rom[3]; /* TL is byte 3 */ in alarms_show()
/drivers/net/wireless/ath/wil6210/
Dtxrx_edma.h179 u16 scratchpad; member
/drivers/scsi/mpi3mr/mpi/
Dmpi30_transport.h68 __le32 scratchpad[4]; member
/drivers/mmc/host/
Dsdhci-esdhc-imx.c317 u32 scratchpad; member
740 imx_data->scratchpad = val; in esdhc_writew_le()
755 writel(val << 16 | imx_data->scratchpad, in esdhc_writew_le()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c2384 cpumask_clear(priv->scratchpad.cpumask); in mlx5e_set_default_xps_cpumasks()
2389 cpumask_set_cpu(cpu, priv->scratchpad.cpumask); in mlx5e_set_default_xps_cpumasks()
2392 netif_set_xps_queue(priv->netdev, priv->scratchpad.cpumask, ix); in mlx5e_set_default_xps_cpumasks()
4838 if (!alloc_cpumask_var(&priv->scratchpad.cpumask, GFP_KERNEL)) in mlx5e_priv_init()
4855 free_cpumask_var(priv->scratchpad.cpumask); in mlx5e_priv_init()
4869 free_cpumask_var(priv->scratchpad.cpumask); in mlx5e_priv_cleanup()
Den.h892 struct mlx5e_scratchpad scratchpad; member
/drivers/scsi/mpi3mr/
Dmpi3mr_fw.c956 writel(reset_reason, &mrioc->sysif_regs->scratchpad[0]); in mpi3mr_issue_and_process_mur()
1109 writel(reset_reason, &mrioc->sysif_regs->scratchpad[0]); in mpi3mr_issue_reset()
1135 writel(reset_reason, &mrioc->sysif_regs->scratchpad[0]); in mpi3mr_issue_reset()
/drivers/scsi/smartpqi/
Dsmartpqi.h857 __le32 scratchpad; member
/drivers/scsi/
Dhpsa.c7593 u32 scratchpad; in hpsa_wait_for_board_state() local
7600 scratchpad = readl(vaddr + SA5_SCRATCHPAD_OFFSET); in hpsa_wait_for_board_state()
7602 if (scratchpad == HPSA_FIRMWARE_READY) in hpsa_wait_for_board_state()
7605 if (scratchpad != HPSA_FIRMWARE_READY) in hpsa_wait_for_board_state()