Home
last modified time | relevance | path

Searched refs:setup_data (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/arch/x86/kernel/
Djailhouse.c27 static struct jailhouse_setup_data setup_data; variable
28 #define SETUP_DATA_V1_LEN (sizeof(setup_data.hdr) + sizeof(setup_data.v1))
29 #define SETUP_DATA_V2_LEN (SETUP_DATA_V1_LEN + sizeof(setup_data.v2))
66 lapic_timer_period = setup_data.v1.apic_khz * (1000 / HZ); in jailhouse_timer_init()
104 for (cpu = 0; cpu < setup_data.v1.num_cpus; cpu++) { in jailhouse_get_smp_config()
105 generic_processor_info(setup_data.v1.cpu_ids[cpu], in jailhouse_get_smp_config()
111 if (setup_data.v1.standard_ioapic) { in jailhouse_get_smp_config()
115 setup_data.hdr.version < 2) { in jailhouse_get_smp_config()
142 if (setup_data.v1.pci_mmconfig_base) { in jailhouse_pci_arch_init()
144 setup_data.v1.pci_mmconfig_base); in jailhouse_pci_arch_init()
[all …]
Dksysfs.c73 struct setup_data *data; in get_setup_data_paddr()
74 u64 pa_data = boot_params.hdr.setup_data; in get_setup_data_paddr()
95 struct setup_data *data; in get_setup_data_size()
96 u64 pa_data = boot_params.hdr.setup_data; in get_setup_data_size()
125 struct setup_data *data; in type_show()
154 struct setup_data *data; in setup_data_data_read()
264 struct setup_data *data; in get_setup_data_total_num()
288 pa_data = boot_params.hdr.setup_data; in create_setup_data_nodes()
Dkdebugfs.c51 pa += sizeof(struct setup_data); in setup_data_read()
92 struct setup_data *data; in create_setup_data_nodes()
100 pa_data = boot_params.hdr.setup_data; in create_setup_data_nodes()
Dkexec-bzimage64.c141 struct setup_data *sd = (void *)params + efi_setup_data_offset; in prepare_add_efi_setup_data()
142 struct efi_setup_data *esd = (void *)sd + sizeof(struct setup_data); in prepare_add_efi_setup_data()
153 sd->next = params->hdr.setup_data; in prepare_add_efi_setup_data()
154 params->hdr.setup_data = setup_data_phys; in prepare_add_efi_setup_data()
403 sizeof(struct setup_data) + in bzImage64_load()
Dsetup.c342 struct setup_data *data; in parse_setup_data()
345 pa_data = boot_params.hdr.setup_data; in parse_setup_data()
350 data_len = data->len + sizeof(struct setup_data); in parse_setup_data()
374 struct setup_data *data; in memblock_x86_reserve_range_setup_data()
377 pa_data = boot_params.hdr.setup_data; in memblock_x86_reserve_range_setup_data()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-kernel-boot_params5 files: "data" and "version" and one subdirectory "setup_data".
9 If there's no setup_data in boot_params the subdirectory will
17 "setup_data" subdirectory contains the setup_data data
18 structure in boot_params. setup_data is maintained in kernel
19 as a link list. In "setup_data" subdirectory there's one
23 representation of setup_data type. "data" file is the binary
24 representation of setup_data payload.
30 |__ setup_data
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Dx86-stub.c61 rom->data.len = size - sizeof(struct setup_data); in preserve_pci_rom_image()
111 struct setup_data *data; in setup_efi_pci()
134 data = (struct setup_data *)(unsigned long)params->hdr.setup_data; in setup_efi_pci()
137 data = (struct setup_data *)(unsigned long)data->next; in setup_efi_pci()
155 params->hdr.setup_data = (unsigned long)rom; in setup_efi_pci()
157 data = (struct setup_data *)rom; in setup_efi_pci()
167 struct setup_data *data, *new; in retrieve_apple_device_properties()
187 size + sizeof(struct setup_data), in retrieve_apple_device_properties()
204 data = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data; in retrieve_apple_device_properties()
206 boot_params->hdr.setup_data = (unsigned long)new; in retrieve_apple_device_properties()
[all …]
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Dacpi.c71 struct setup_data *data; in get_kexec_setup_data_addr()
74 pa_data = boot_params->hdr.setup_data; in get_kexec_setup_data_addr()
76 data = (struct setup_data *)pa_data; in get_kexec_setup_data_addr()
78 return (struct efi_setup_data *)(pa_data + sizeof(struct setup_data)); in get_kexec_setup_data_addr()
Dkaslr.c440 struct setup_data *ptr; in mem_avoid_overlap()
454 ptr = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data; in mem_avoid_overlap()
479 ptr = (struct setup_data *)(unsigned long)ptr->next; in mem_avoid_overlap()
/kernel/linux/linux-5.10/drivers/mfd/
Dsta2x11-mfd.c570 struct sta2x11_mfd_setup_data *setup_data; in sta2x11_mfd_probe() local
584 setup_data = pci_id->device == PCI_DEVICE_ID_STMICRO_GPIO ? in sta2x11_mfd_probe()
589 sta2x11_mfd_setup(pdev, setup_data); in sta2x11_mfd_probe()
598 setup_data->bars[i].cells, in sta2x11_mfd_probe()
599 setup_data->bars[i].ncells, in sta2x11_mfd_probe()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dpch_udc.c356 struct usb_ctrlrequest setup_data; member
2364 rc = dev->driver->setup(&dev->gadget, &dev->setup_data); in pch_udc_gadget_setup()
2431 dev->setup_data = ep->td_stp->request; in pch_udc_svc_control_out()
2436 if ((dev->setup_data.bRequestType & USB_DIR_IN)) in pch_udc_svc_control_out()
2441 if ((dev->setup_data.bRequestType == 0x21) && in pch_udc_svc_control_out()
2442 (dev->setup_data.bRequest == 0xFF)) in pch_udc_svc_control_out()
2447 if (dev->setup_data.bRequestType & USB_DIR_IN) { in pch_udc_svc_control_out()
2459 if (!(dev->setup_data.bRequestType & USB_DIR_IN)) { in pch_udc_svc_control_out()
2674 memset(&dev->setup_data, 0 , sizeof dev->setup_data); in pch_udc_svc_intf_interrupt()
2675 dev->setup_data.bRequest = USB_REQ_SET_INTERFACE; in pch_udc_svc_intf_interrupt()
[all …]
Dsnps_udc_core.c53 static union udc_setup_data setup_data; variable
2499 setup_data.data[0] = in udc_control_out_isr()
2501 setup_data.data[1] = in udc_control_out_isr()
2508 udc_rxfifo_read_dwords(dev, setup_data.data, 2); in udc_control_out_isr()
2512 if ((setup_data.request.bRequestType & USB_DIR_IN) != 0) { in udc_control_out_isr()
2551 if (setup_data.data[0] == UDC_MSCRES_DWORD0 in udc_control_out_isr()
2552 && setup_data.data[1] == UDC_MSCRES_DWORD1) { in udc_control_out_isr()
2567 &setup_data.request); in udc_control_out_isr()
2787 memset(&setup_data, 0 , sizeof(union udc_setup_data)); in udc_dev_isr()
2788 setup_data.request.bRequest = USB_REQ_SET_CONFIGURATION; in udc_dev_isr()
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dbootparam.h52 struct setup_data { struct
99 __u64 setup_data; member
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dbootparam.h50 struct setup_data { struct
100 __u64 setup_data; member
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dapple-properties.c179 struct setup_data *data; in map_properties()
187 pa_data = boot_params.hdr.setup_data; in map_properties()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_cmd640.c58 const u8 setup_data[] = { 0x40, 0x40, 0x40, 0x80, 0x00 }; in cmd640_set_piomode() local
95 t.setup = setup_data[t.setup]; in cmd640_set_piomode()
Dpata_cmd64x.c99 const u8 setup_data[] = { 0x40, 0x40, 0x40, 0x80, 0x00 }; in cmd64x_set_timing() local
155 t.setup = setup_data[t.setup]; in cmd64x_set_timing()
/kernel/linux/linux-5.10/arch/x86/mm/
Dioremap.c636 struct setup_data *data; in memremap_is_setup_data()
639 paddr = boot_params.hdr.setup_data; in memremap_is_setup_data()
681 struct setup_data *data; in early_memremap_is_setup_data()
684 paddr = boot_params.hdr.setup_data; in early_memremap_is_setup_data()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpci.h130 struct setup_data data;
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c112 static int setup_data(struct net_device *dev) in setup_data() function
467 .setup_data = setup_data,
Dmac-scc.c116 static int setup_data(struct net_device *dev) in setup_data() function
461 .setup_data = setup_data,
Dmac-fcc.c131 static int setup_data(struct net_device *dev) in setup_data() function
565 .setup_data = setup_data,
/kernel/linux/linux-5.10/Documentation/x86/
Dbooting-dt.rst11 The physical pointer to the device-tree block is passed via setup_data
Dboot.rst55 pointer to single linked list of struct setup_data.
223 0250/8 2.09+ setup_data 64-bit physical pointer to linked list
224 of struct setup_data
799 Field name: setup_data
806 struct setup_data. This is used to define a more extensible boot
807 parameters passing mechanism. The definition of struct setup_data is
810 struct setup_data {
827 The setup_data is a bit awkward to use for extremely large data objects,
828 both because the setup_data header has to be adjacent to the data object
849 In this case setup_data and setup_indirect will look like this::
[all …]
/kernel/linux/linux-5.10/arch/x86/pci/
Dcommon.c639 struct setup_data *data; in pcibios_add_device()
642 pa_data = boot_params.hdr.setup_data; in pcibios_add_device()

12