/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci-mem.c | 105 if (!ctrl->scratchpad) in xhci_scratchpad_free() 110 free((void *)(uintptr_t)ctrl->scratchpad->sp_array[0]); in xhci_scratchpad_free() 111 free(ctrl->scratchpad->sp_array); in xhci_scratchpad_free() 112 free(ctrl->scratchpad); in xhci_scratchpad_free() 113 ctrl->scratchpad = NULL; in xhci_scratchpad_free() 351 struct xhci_scratchpad *scratchpad; in xhci_scratchpad_alloc() local 361 scratchpad = malloc(sizeof(*scratchpad)); in xhci_scratchpad_alloc() 362 if (!scratchpad) in xhci_scratchpad_alloc() 364 ctrl->scratchpad = scratchpad; in xhci_scratchpad_alloc() 366 scratchpad->sp_array = xhci_malloc(num_sp * sizeof(u64)); in xhci_scratchpad_alloc() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_core.c | 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.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 D | bdc.h | 422 struct bdc_scratchpad scratchpad; member
|
/openbmc/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
|
/openbmc/qemu/hw/fsi/ |
H A D | cfam.c | 116 object_initialize_child(obj, "scratchpad", &s->scratchpad, in fsi_cfam_instance_init() 140 if (!qdev_realize(DEVICE(&cfam->scratchpad), BUS(&cfam->lbus), errp)) { in fsi_cfam_realize() 144 FSILBusDevice *fsi_dev = FSI_LBUS_DEVICE(&cfam->scratchpad); in fsi_cfam_realize()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-mlxbf.c | 31 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()
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-mem.c | 1635 xhci->scratchpad = kzalloc_node(sizeof(*xhci->scratchpad), flags, in scratchpad_alloc() 1637 if (!xhci->scratchpad) in scratchpad_alloc() 1640 xhci->scratchpad->sp_array = dma_alloc_coherent(dev, in scratchpad_alloc() 1642 &xhci->scratchpad->sp_dma, flags); in scratchpad_alloc() 1643 if (!xhci->scratchpad->sp_array) in scratchpad_alloc() 1646 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc() 1648 if (!xhci->scratchpad->sp_buffers) in scratchpad_alloc() 1651 xhci->dcbaa->dev_context_ptrs[0] = cpu_to_le64(xhci->scratchpad->sp_dma); in scratchpad_alloc() 1659 xhci->scratchpad->sp_array[i] = dma; in scratchpad_alloc() 1660 xhci->scratchpad->sp_buffers[i] = buf; in scratchpad_alloc() [all …]
|
/openbmc/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
|
/openbmc/linux/crypto/ |
H A D | drbg.c | 537 unsigned char *temp = drbg->scratchpad; in drbg_ctr_update() 538 unsigned char *df_data = drbg->scratchpad + drbg_statelen(drbg) + in drbg_ctr_update() 829 unsigned char *tmp = drbg->scratchpad + drbg_statelen(drbg); in drbg_hash_df() 868 unsigned char *V = drbg->scratchpad; in drbg_hash_update() 899 memset(drbg->scratchpad, 0, drbg_statelen(drbg)); in drbg_hash_update() 922 ret = drbg_kcapi_hash(drbg, drbg->scratchpad, &datalist); in drbg_hash_process_addtl() 928 drbg->scratchpad, drbg_blocklen(drbg)); in drbg_hash_process_addtl() 931 memset(drbg->scratchpad, 0, drbg_blocklen(drbg)); in drbg_hash_process_addtl() 942 unsigned char *src = drbg->scratchpad; in drbg_hash_hashgen() 943 unsigned char *dst = drbg->scratchpad + drbg_statelen(drbg); in drbg_hash_hashgen() [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-gic-v3-its-pci-msi.c | 81 info->scratchpad[0].ul = pci_msi_domain_get_msi_rid(domain, pdev); in its_pci_msi_prepare() 91 if (!info->scratchpad[0].ul) in its_pci_msi_prepare()
|
H A D | irq-gic-v3-its-fsl-mc-msi.c | 59 info->scratchpad[0].ul = fsl_mc_msi_domain_get_msi_id(msi_domain, in its_fsl_mc_msi_prepare()
|
H A D | irq-gic-v3-its-platform-msi.c | 63 info->scratchpad[0].ul = dev_id; in its_pmsi_prepare()
|
/openbmc/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
|
/openbmc/linux/include/asm-generic/ |
H A D | msi.h | 31 } scratchpad[NUM_MSI_ALLOC_SCRATCHPAD_REGS]; member
|
/openbmc/qemu/include/hw/fsi/ |
H A D | cfam.h | 31 FSIScratchPad scratchpad; member
|
/openbmc/linux/Documentation/PCI/endpoint/function/binding/ |
H A D | pci-ntb.rst | 37 spad_count Number of scratchpad registers; default = 64
|
/openbmc/linux/drivers/ntb/test/ |
H A D | Kconfig | 15 scratchpad registers to be read and written from the debugfs. This
|
/openbmc/linux/include/crypto/ |
H A D | drbg.h | 125 unsigned char *scratchpad; member
|
/openbmc/qemu/docs/specs/ |
H A D | fsi.rst | 96 dev: scratchpad, id "" 107 dev: scratchpad, id ""
|
/openbmc/linux/drivers/hwtracing/intel_th/ |
H A D | intel_th.h | 42 unsigned int scratchpad; member
|
H A D | gth.c | 554 reg &= ~output->scratchpad; in intel_th_gth_disable() 611 scrpd |= output->scratchpad; in intel_th_gth_enable()
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | txrx_edma.h | 179 u16 scratchpad; member
|
/openbmc/linux/drivers/w1/slaves/ |
H A D | w1_therm.c | 1827 struct therm_info scratchpad; in alarms_show() local 1829 ret = read_scratchpad(sl, &scratchpad); in alarms_show() 1832 th = scratchpad.rom[2]; /* TH is byte 2 */ in alarms_show() 1833 tl = scratchpad.rom[3]; /* TL is byte 3 */ in alarms_show()
|
/openbmc/linux/drivers/scsi/mpi3mr/mpi/ |
H A D | mpi30_transport.h | 68 __le32 scratchpad[4]; member
|