Home
last modified time | relevance | path

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

12

/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_core.c155 /* Set up the scratchpad buffer array and scratchpad buffers, if needed. */
170 dev_dbg(bdc->dev, "Allocating %d bytes for scratchpad\n", sp_buff_size); in scratchpad_setup()
171 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 in scratchpad_setup()
[all...]
H A Dbdc.h342 /* scratchpad buffer needed by bdc hardware */
422 struct bdc_scratchpad scratchpad; member
/linux/drivers/irqchip/
H A Dirq-gic-its-msi-parent.c86 info->scratchpad[0].ul = pci_msi_domain_get_msi_rid(domain->parent, pdev); in its_pci_msi_prepare()
96 if (!info->scratchpad[0].ul) in its_pci_msi_prepare()
130 info->scratchpad[0].ul = rid; in its_v5_pci_msi_prepare()
132 info->scratchpad[1].ul = pa; in its_v5_pci_msi_prepare()
244 info->scratchpad[0].ul = dev_id; in its_pmsi_prepare()
270 info->scratchpad[0].ul = dev_id; in its_v5_pmsi_prepare()
272 info->scratchpad[1].ul = pa; in its_v5_pmsi_prepare()
H A Dirq-gic-v3-its-fsl-mc-msi.c59 info->scratchpad[0].ul = fsl_mc_msi_domain_get_msi_id(msi_domain, in its_fsl_mc_msi_prepare()
H A Dirq-gic-v5-its.c801 u32 dev_id = info->scratchpad[0].ul; in gicv5_its_msi_prepare()
815 its_dev->its_trans_phys_base = info->scratchpad[1].ul; in gicv5_its_msi_prepare()
816 info->scratchpad[0].ptr = its_dev; in gicv5_its_msi_prepare()
823 struct gicv5_its_dev *its_dev = info->scratchpad[0].ptr; in gicv5_its_msi_teardown()
939 its_dev = info->scratchpad[0].ptr; in gicv5_its_irq_domain_alloc()
/linux/Documentation/PCI/endpoint/
H A Dpci-ntb-function.rst68 scratchpad offset and number of memory windows to the host using this region.
165 Self scratchpad region and config region are packed together in the
167 and the latter portion of the region is for self scratchpad. This
168 register will specify the offset of the self scratchpad registers.
172 Specifies the number of scratchpad registers supported by the NTB
227 There are 5 or more distinct regions (config, self scratchpad, peer
228 scratchpad, doorbell, one or more memory windows) to be modeled to achieve
293 region and scratchpad region (self scratchpad) using BAR0 of EP controller 1.
295 scratchpad regio
[all...]
/linux/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()
/linux/drivers/usb/host/
H A Dxhci-mem.c1646 /* Set up the scratchpad buffer array and scratchpad buffers, if needed. */
1654 "Allocating %d scratchpad buffers", num_sp); in scratchpad_alloc()
1659 xhci->scratchpad = kzalloc_node(sizeof(*xhci->scratchpad), flags, in scratchpad_alloc()
1661 if (!xhci->scratchpad) in scratchpad_alloc()
1664 xhci->scratchpad->sp_array = dma_alloc_coherent(dev, in scratchpad_alloc()
1666 &xhci->scratchpad->sp_dma, flags); in scratchpad_alloc()
1667 if (!xhci->scratchpad->sp_array) in scratchpad_alloc()
1670 xhci->scratchpad in scratchpad_alloc()
[all...]
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_pcie.c29 /* Free mapped doorbell scratchpad bus memory into CPU space. */ in ipc_pcie_resources_release()
30 iounmap(ipc_pcie->scratchpad); in ipc_pcie_resources_release()
97 /* Reserve the MMIO scratchpad memory resources. in ipc_pcie_resources_request()
102 ipc_pcie->scratchpad = in ipc_pcie_resources_request()
105 if (!ipc_pcie->scratchpad) { in ipc_pcie_resources_request()
106 dev_err(ipc_pcie->dev, "doorbell scratchpad ioremap error"); in ipc_pcie_resources_request()
134 iounmap(ipc_pcie->scratchpad); in ipc_pcie_resources_request()
317 ipc_pcie->scratchpad, ipc_pcie->dev); in ipc_pcie_probe()
H A Diosm_ipc_pcie.h50 * @scratchpad: Remapped CP scratchpad address, to send the
53 * information are saved on the MSI scratchpad.
68 void __iomem *scratchpad; member
/linux/crypto/
H A Ddrbg.c348 * scratchpad usage: drbg_ctr_update is interlinked with drbg_ctr_df
350 * the scratchpad is used as follows:
353 * start: drbg->scratchpad
361 * start: drbg->scratchpad +
514 * this case, the df_data scratchpad is not deleted so that it is
526 unsigned char *temp = drbg->scratchpad; in drbg_ctr_update()
527 unsigned char *df_data = drbg->scratchpad + drbg_statelen(drbg) + in drbg_ctr_update()
580 * scratchpad use: drbg_ctr_update is called independently from
581 * drbg_ctr_extract_bytes. Therefore, the scratchpad is reused
792 * scratchpad usag
[all...]
/linux/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
/linux/include/asm-generic/
H A Dmsi.h19 * @scratchpad: Storage for implementation specific scratch data
31 } scratchpad[NUM_MSI_ALLOC_SCRATCHPAD_REGS]; member
/linux/Documentation/PCI/endpoint/function/binding/
H A Dpci-ntb.rst37 spad_count Number of scratchpad registers; default = 64
/linux/drivers/ntb/test/
H A DKconfig15 scratchpad registers to be read and written from the debugfs. This
/linux/include/crypto/
H A Ddrbg.h125 unsigned char *scratchpad; member
131 __u8 *outscratchpadbuf; /* CTR mode output scratchpad */
/linux/drivers/cdx/
H A Dcdx_msi.c140 info->scratchpad[0].ul = dev_id; in cdx_msi_prepare()
/linux/drivers/hwtracing/intel_th/
H A Dintel_th.h29 * @scratchpad: scratchpad bits to flag when this output is enabled
42 unsigned int scratchpad; member
H A Dcore.c677 thdev->output.scratchpad = subdev->scrpd; in intel_th_subdevice_alloc()
/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx_edma.h179 u16 scratchpad; member
/linux/drivers/w1/slaves/
H A Dw1_therm.c254 * copy_scratchpad() - Copy the content of scratchpad in device EEPROM
630 * Read the scratchpad to change only the required bits in w1_DS18B20_set_resolution()
1182 /* Invalid reading (scratchpad byte 6 = 0xC) in convert_t()
1817 struct therm_info scratchpad; in alarms_show() local
1819 ret = read_scratchpad(sl, &scratchpad); in alarms_show()
1822 th = scratchpad.rom[2]; /* TH is byte 2 */ in alarms_show()
1823 tl = scratchpad.rom[3]; /* TL is byte 3 */ in alarms_show()
1896 * Read the scratchpad to change only the required bits in alarms_store()
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-w1_therm175 scratchpad memory is 0xC after conversion, and
/linux/drivers/mmc/host/
H A Dsdhci-esdhc-imx.c364 u32 scratchpad; member
813 imx_data->scratchpad = val; in esdhc_writew_le()
828 writel(val << 16 | imx_data->scratchpad, in esdhc_writew_le()
/linux/Documentation/w1/slaves/
H A Dw1_therm.rst127 checking the conversion success. If byte 6 of scratchpad memory is 0xC after
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h948 struct mlx5e_scratchpad scratchpad; member

12