Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
109 if (setup_data.v1.standard_ioapic) { in jailhouse_get_smp_config()
113 setup_data.hdr.version < 2) { in jailhouse_get_smp_config()
140 if (setup_data.v1.pci_mmconfig_base) { in jailhouse_pci_arch_init()
142 setup_data.v1.pci_mmconfig_base); in jailhouse_pci_arch_init()
[all …]
Dkexec-bzimage64.c119 struct setup_data *sd = (void *)params + rng_seed_setup_data_offset; in setup_rng_seed()
129 sd->next = params->hdr.setup_data; in setup_rng_seed()
130 params->hdr.setup_data = setup_data_phys; in setup_rng_seed()
161 struct setup_data *sd = (void *)params + efi_setup_data_offset; in prepare_add_efi_setup_data()
162 struct efi_setup_data *esd = (void *)sd + sizeof(struct setup_data); in prepare_add_efi_setup_data()
173 sd->next = params->hdr.setup_data; in prepare_add_efi_setup_data()
174 params->hdr.setup_data = setup_data_phys; in prepare_add_efi_setup_data()
215 struct setup_data *sd = (void *)params + ima_setup_data_offset; in setup_ima_state()
225 ima = (void *)sd + sizeof(struct setup_data); in setup_ima_state()
231 sd->next = params->hdr.setup_data; in setup_ima_state()
[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()
94 u64 pa_data = boot_params.hdr.setup_data, pa_next; in get_setup_data_size()
96 struct setup_data *data; in get_setup_data_size()
139 struct setup_data *data; in type_show()
180 struct setup_data *data; in setup_data_data_read()
309 struct setup_data *data; in get_setup_data_total_num()
333 pa_data = boot_params.hdr.setup_data; in create_setup_data_nodes()
Dkdebugfs.c51 pa += sizeof(struct setup_data); in setup_data_read()
93 struct setup_data *data; in create_setup_data_nodes()
102 pa_data = boot_params.hdr.setup_data; in create_setup_data_nodes()
Dsetup.c340 data = early_memremap(phys_addr + sizeof(struct setup_data), sizeof(*data)); in add_early_ima_buffer()
387 struct setup_data *data; in parse_setup_data()
390 pa_data = boot_params.hdr.setup_data; in parse_setup_data()
395 data_len = data->len + sizeof(struct setup_data); in parse_setup_data()
432 struct setup_data *data; in memblock_x86_reserve_range_setup_data()
436 pa_data = boot_params.hdr.setup_data; in memblock_x86_reserve_range_setup_data()
Dsev-shared.c1011 struct setup_data header;
1022 struct setup_data *hdr; in find_cc_blob_setup_data()
1024 hdr = (struct setup_data *)bp->hdr.setup_data; in find_cc_blob_setup_data()
1031 hdr = (struct setup_data *)hdr->next; in find_cc_blob_setup_data()
/linux-6.6.21/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
/linux-6.6.21/drivers/firmware/efi/libstub/
Dx86-stub.c73 rom->data.len = size - sizeof(struct setup_data); in preserve_pci_rom_image()
123 struct setup_data *data; in setup_efi_pci()
146 data = (struct setup_data *)(unsigned long)params->hdr.setup_data; in setup_efi_pci()
149 data = (struct setup_data *)(unsigned long)data->next; in setup_efi_pci()
167 params->hdr.setup_data = (unsigned long)rom; in setup_efi_pci()
169 data = (struct setup_data *)rom; in setup_efi_pci()
179 struct setup_data *data, *new; in retrieve_apple_device_properties()
199 size + sizeof(struct setup_data), in retrieve_apple_device_properties()
216 data = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data; in retrieve_apple_device_properties()
218 boot_params->hdr.setup_data = (unsigned long)new; in retrieve_apple_device_properties()
[all …]
/linux-6.6.21/arch/x86/boot/compressed/
Defi.c90 struct setup_data *data; in get_kexec_setup_data()
93 pa_data = bp->hdr.setup_data; in get_kexec_setup_data()
95 data = (struct setup_data *)pa_data; in get_kexec_setup_data()
97 esd = (struct efi_setup_data *)(pa_data + sizeof(struct setup_data)); in get_kexec_setup_data()
Dident_map_64.c113 struct setup_data *sd; in initialize_identity_maps()
171 sd = (struct setup_data *)boot_params->hdr.setup_data; in initialize_identity_maps()
176 sd = (struct setup_data *)sd->next; in initialize_identity_maps()
Dkaslr.c436 struct setup_data *ptr; in mem_avoid_overlap()
450 ptr = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data; in mem_avoid_overlap()
475 ptr = (struct setup_data *)(unsigned long)ptr->next; in mem_avoid_overlap()
/linux-6.6.21/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()
/linux-6.6.21/drivers/usb/gadget/udc/
Dpch_udc.c356 struct usb_ctrlrequest setup_data; member
2259 rc = dev->driver->setup(&dev->gadget, &dev->setup_data); in pch_udc_gadget_setup()
2326 dev->setup_data = ep->td_stp->request; in pch_udc_svc_control_out()
2331 if ((dev->setup_data.bRequestType & USB_DIR_IN)) in pch_udc_svc_control_out()
2336 if ((dev->setup_data.bRequestType == 0x21) && in pch_udc_svc_control_out()
2337 (dev->setup_data.bRequest == 0xFF)) in pch_udc_svc_control_out()
2342 if (dev->setup_data.bRequestType & USB_DIR_IN) { in pch_udc_svc_control_out()
2354 if (!(dev->setup_data.bRequestType & USB_DIR_IN)) { in pch_udc_svc_control_out()
2569 memset(&dev->setup_data, 0 , sizeof dev->setup_data); in pch_udc_svc_intf_interrupt()
2570 dev->setup_data.bRequest = USB_REQ_SET_INTERFACE; in pch_udc_svc_intf_interrupt()
[all …]
Dsnps_udc_core.c52 static union udc_setup_data setup_data; variable
2474 setup_data.data[0] = in udc_control_out_isr()
2476 setup_data.data[1] = in udc_control_out_isr()
2483 udc_rxfifo_read_dwords(dev, setup_data.data, 2); in udc_control_out_isr()
2487 if ((setup_data.request.bRequestType & USB_DIR_IN) != 0) { in udc_control_out_isr()
2526 if (setup_data.data[0] == UDC_MSCRES_DWORD0 in udc_control_out_isr()
2527 && setup_data.data[1] == UDC_MSCRES_DWORD1) { in udc_control_out_isr()
2542 &setup_data.request); in udc_control_out_isr()
2762 memset(&setup_data, 0 , sizeof(union udc_setup_data)); in udc_dev_isr()
2763 setup_data.request.bRequest = USB_REQ_SET_CONFIGURATION; in udc_dev_isr()
[all …]
/linux-6.6.21/arch/x86/include/uapi/asm/
Dbootparam.h52 struct setup_data { struct
102 __u64 setup_data; member
/linux-6.6.21/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()
/linux-6.6.21/drivers/firmware/efi/
Dapple-properties.c179 struct setup_data *data; in map_properties()
187 pa_data = boot_params.hdr.setup_data; in map_properties()
/linux-6.6.21/arch/x86/mm/
Dioremap.c638 struct setup_data *data; in memremap_is_setup_data()
641 paddr = boot_params.hdr.setup_data; in memremap_is_setup_data()
699 struct setup_data *data; in early_memremap_is_setup_data()
702 paddr = boot_params.hdr.setup_data; in early_memremap_is_setup_data()
/linux-6.6.21/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c111 static int setup_data(struct net_device *dev) in setup_data() function
452 .setup_data = setup_data,
Dmac-scc.c115 static int setup_data(struct net_device *dev) in setup_data() function
460 .setup_data = setup_data,
Dmac-fcc.c129 static int setup_data(struct net_device *dev) in setup_data() function
563 .setup_data = setup_data,
/linux-6.6.21/arch/x86/include/asm/
Dpci.h128 struct setup_data data;
/linux-6.6.21/Documentation/arch/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
800 Field name: setup_data
807 struct setup_data. This is used to define a more extensible boot
808 parameters passing mechanism. The definition of struct setup_data is
811 struct setup_data {
828 The setup_data is a bit awkward to use for extremely large data objects,
829 both because the setup_data header has to be adjacent to the data object
850 In this case setup_data and setup_indirect will look like this::
[all …]
/linux-6.6.21/net/sunrpc/
Dsched.c1142 struct rpc_task *rpc_new_task(const struct rpc_task_setup *setup_data) in rpc_new_task() argument
1144 struct rpc_task *task = setup_data->task; in rpc_new_task()
1150 rpc_release_calldata(setup_data->callback_ops, in rpc_new_task()
1151 setup_data->callback_data); in rpc_new_task()
1157 rpc_init_task(task, setup_data); in rpc_new_task()

12