| /linux/drivers/usb/gadget/udc/bdc/ |
| H A D | bdc_core.c | 155 /* 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 D | bdc.h | 422 struct bdc_scratchpad scratchpad; member
|
| /linux/Documentation/PCI/endpoint/ |
| H A D | pci-ntb-function.rst | 68 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 region (peer scratchpad) using BAR1 of EP controller 2. This
|
| /linux/drivers/usb/host/ |
| H A D | xhci-mem.c | 1646 /* 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 D | iosm_ipc_pcie.c | 30 iounmap(ipc_pcie->scratchpad); in ipc_pcie_resources_release() 102 ipc_pcie->scratchpad = in ipc_pcie_resources_request() 105 if (!ipc_pcie->scratchpad) { 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 D | iosm_ipc_pcie.h | 68 void __iomem *scratchpad; member
|
| /linux/Documentation/driver-api/ |
| H A D | ntb.rst | 9 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 D | msi.h | 31 } scratchpad[NUM_MSI_ALLOC_SCRATCHPAD_REGS]; member
|
| /linux/Documentation/PCI/endpoint/function/binding/ |
| H A D | pci-ntb.rst | 37 spad_count Number of scratchpad registers; default = 64
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | msi.c | 461 arg->scratchpad[0].ptr = no_free_ptr(pseries_dev); in pseries_msi_ops_prepare() 471 struct pseries_msi_device *pseries_dev = arg->scratchpad[0].ptr; in pseries_msi_ops_teardown() 585 pseries_dev = info->scratchpad[0].ptr; in pseries_irq_domain_alloc()
|
| /linux/drivers/ntb/test/ |
| H A D | Kconfig | 15 scratchpad registers to be read and written from the debugfs. This
|
| /linux/drivers/irqchip/ |
| H A D | irq-gic-v5-its.c | 801 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()
|
| H A D | irq-gic-v3-its.c | 3582 * been passed via the scratchpad. This limits this domain's in its_msi_prepare() 3586 dev_id = info->scratchpad[0].ul; in its_msi_prepare() 3626 info->scratchpad[0].ptr = its_dev; in its_msi_teardown() 3632 struct its_device *its_dev = info->scratchpad[0].ptr; in its_msi_teardown() 3687 struct its_device *its_dev = info->scratchpad[0].ptr; in its_irq_domain_alloc()
|
| /linux/drivers/hwtracing/intel_th/ |
| H A D | intel_th.h | 42 unsigned int scratchpad; member
|
| H A D | core.c | 677 thdev->output.scratchpad = subdev->scrpd; in intel_th_subdevice_alloc()
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | txrx_edma.h | 179 u16 scratchpad; member
|
| /linux/drivers/w1/slaves/ |
| H A D | w1_therm.c | 254 * 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() 1194 /* Invalid reading (scratchpad byte 6 = 0xC) in convert_t() 1833 struct therm_info scratchpad; in alarms_store() 1835 ret = read_scratchpad(sl, &scratchpad); in alarms_store() 1838 th = scratchpad.rom[2]; /* TH is byte 2 */ in alarms_store() 1839 tl = scratchpad.rom[3]; /* TL is byte 3 */ in alarms_store() 1894 * Read the scratchpad to change only the required bits in alarms_store() 1816 struct therm_info scratchpad; alarms_show() local
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-w1_therm | 175 scratchpad memory is 0xC after conversion, and
|
| /linux/Documentation/w1/slaves/ |
| H A D | w1_therm.rst | 127 checking the conversion success. If byte 6 of scratchpad memory is 0xC after
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en.h | 982 struct mlx5e_scratchpad scratchpad; member
|
| H A D | en_main.c | 3224 cpumask_clear(priv->scratchpad.cpumask); in mlx5e_set_default_xps_cpumasks() 3230 cpumask_set_cpu(cpu, priv->scratchpad.cpumask); in mlx5e_set_default_xps_cpumasks() 3233 netif_set_xps_queue(priv->netdev, priv->scratchpad.cpumask, ix); in mlx5e_set_default_xps_cpumasks() 6410 if (!alloc_cpumask_var(&priv->scratchpad.cpumask, GFP_KERNEL)) in mlx5e_priv_init() 6458 free_cpumask_var(priv->scratchpad.cpumask); in mlx5e_priv_cleanup() 6479 free_cpumask_var(priv->scratchpad.cpumask); in mlx5e_get_max_num_txqs()
|
| /linux/drivers/scsi/smartpqi/ |
| H A D | smartpqi.h | 884 __le32 scratchpad; member
|
| /linux/drivers/scsi/ |
| H A D | hpsa.c | 7582 u32 scratchpad; in hpsa_wait_for_board_state() 7589 scratchpad = readl(vaddr + SA5_SCRATCHPAD_OFFSET); in hpsa_wait_for_board_state() 7591 if (scratchpad == HPSA_FIRMWARE_READY) in hpsa_wait_for_board_state() 7594 if (scratchpad != HPSA_FIRMWARE_READY) in hpsa_wait_for_board_state() 8267 "lockup detected after %d but scratchpad register is zero\n", in controller_lockup_detected() 7581 u32 scratchpad; hpsa_wait_for_board_state() local
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_fw.c | 1457 writel(scratch_pad0, &mrioc->sysif_regs->scratchpad[0]); in mpi3mr_revalidate_factsdata() 1884 writel(scratch_pad0, &mrioc->sysif_regs->scratchpad[0]); in mpi3mr_admin_request_post()
|