Home
last modified time | relevance | path

Searched refs:hwconfig (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_hwconfig.c67 hwconfig->size = ret; in guc_hwconfig_discover_size()
78 GEM_BUG_ON(!hwconfig->size); in guc_hwconfig_fill_buffer()
88 memcpy(hwconfig->ptr, vaddr, hwconfig->size); in guc_hwconfig_fill_buffer()
113 struct intel_hwconfig *hwconfig = &gt->info.hwconfig; in guc_hwconfig_init() local
124 hwconfig->ptr = kmalloc(hwconfig->size, GFP_KERNEL); in guc_hwconfig_init()
125 if (!hwconfig->ptr) { in guc_hwconfig_init()
126 hwconfig->size = 0; in guc_hwconfig_init()
159 struct intel_hwconfig *hwconfig = &gt->info.hwconfig; in intel_gt_fini_hwconfig() local
161 kfree(hwconfig->ptr); in intel_gt_fini_hwconfig()
162 hwconfig->size = 0; in intel_gt_fini_hwconfig()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_hwconfig.c44 guc->hwconfig.size); in guc_hwconfig_copy()
62 if (guc->hwconfig.bo) in xe_guc_hwconfig_init()
87 guc->hwconfig.bo = bo; in xe_guc_hwconfig_init()
95 return !guc->hwconfig.bo ? 0 : guc->hwconfig.size; in xe_guc_hwconfig_size()
111 u32 *hwconfig; in xe_guc_hwconfig_dump() local
124 if (!hwconfig) { in xe_guc_hwconfig_dump()
161 kfree(hwconfig); in xe_guc_hwconfig_dump()
171 u32 *hwconfig; in xe_guc_hwconfig_lookup_u32() local
179 if (!hwconfig) in xe_guc_hwconfig_lookup_u32()
194 *val = hwconfig[i]; in xe_guc_hwconfig_lookup_u32()
[all …]
H A Dxe_query.c435 void *hwconfig; in query_hwconfig() local
444 hwconfig = kzalloc(size, GFP_KERNEL); in query_hwconfig()
445 if (!hwconfig) in query_hwconfig()
448 xe_guc_hwconfig_copy(&gt->uc.guc, hwconfig); in query_hwconfig()
450 if (copy_to_user(query_ptr, hwconfig, size)) { in query_hwconfig()
451 kfree(hwconfig); in query_hwconfig()
454 kfree(hwconfig); in query_hwconfig()
H A Dxe_guc_types.h86 } hwconfig; member
H A Dxe_gt_debugfs.c274 static int hwconfig(struct xe_gt *gt, struct drm_printer *p) in hwconfig() function
301 {"hwconfig", .show = xe_gt_debugfs_simple_show, .data = hwconfig},
/linux/drivers/crypto/inside-secure/
H A Dsafexcel.c546 priv->hwconfig.hwdataw; in safexcel_hw_setup_rdesc_rings()
1493 priv->hwconfig.icever = 0; in safexcel_probe_generic()
1494 priv->hwconfig.ocever = 0; in safexcel_probe_generic()
1495 priv->hwconfig.psever = 0; in safexcel_probe_generic()
1583 peid, priv->hwconfig.hwver, hwctg, priv->hwconfig.hwnumpes, in safexcel_probe_generic()
1584 priv->hwconfig.hwnumrings, priv->hwconfig.hwnumraic, in safexcel_probe_generic()
1585 priv->hwconfig.hiaver, priv->hwconfig.hwdataw, in safexcel_probe_generic()
1586 priv->hwconfig.hwcfsize, priv->hwconfig.hwrfsize, in safexcel_probe_generic()
1587 priv->hwconfig.ppver, priv->hwconfig.pever, in safexcel_probe_generic()
1588 priv->hwconfig.algo_flags, priv->hwconfig.icever, in safexcel_probe_generic()
[all …]
H A Dsafexcel.h826 struct safexcel_hwconfig hwconfig; member
/linux/tools/testing/selftests/net/
H A Dtimestamping.c327 struct hwtstamp_config hwconfig, hwconfig_requested; in main() local
394 hwtstamp.ifr_data = (void *)&hwconfig; in main()
395 memset(&hwconfig, 0, sizeof(hwconfig)); in main()
396 hwconfig.tx_type = in main()
399 hwconfig.rx_filter = in main()
403 hwconfig_requested = hwconfig; in main()
413 hwconfig_requested.tx_type, hwconfig.tx_type, in main()
414 hwconfig_requested.rx_filter, hwconfig.rx_filter); in main()
/linux/drivers/gpu/drm/i915/
H A Di915_query.c536 struct intel_hwconfig *hwconfig = &gt->info.hwconfig; in query_hwconfig_blob() local
538 if (!hwconfig->size || !hwconfig->ptr) in query_hwconfig_blob()
542 return hwconfig->size; in query_hwconfig_blob()
544 if (query_item->length < hwconfig->size) in query_hwconfig_blob()
548 hwconfig->ptr, hwconfig->size)) in query_hwconfig_blob()
551 return hwconfig->size; in query_hwconfig_blob()
/linux/drivers/media/pci/mantis/
H A Dmantis_dvb.c33 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_frontend_power()
61 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_frontend_soft_reset()
137 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_dvb_init()
210 if (mantis->hwconfig) { in mantis_dvb_init()
H A Dmantis_uart.c54 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_uart_read()
145 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_uart_init()
H A Dmantis_common.h95 struct mantis_hwconfig *hwconfig; member
147 struct mantis_hwconfig *hwconfig; member
H A Dhopper_cards.c162 config = drvdata->hwconfig; in hopper_pci_probe()
164 mantis->hwconfig = config; in hopper_pci_probe()
H A Dhopper_vp3028.c35 struct mantis_hwconfig *config = mantis->hwconfig; in vp3028_frontend_init()
H A Dmantis_cards.c169 config = drvdata->hwconfig; in mantis_pci_probe()
171 mantis->hwconfig = config; in mantis_pci_probe()
H A Dmantis_vp3030.c47 struct mantis_hwconfig *config = mantis->hwconfig; in vp3030_frontend_init()
H A Dmantis_input.c42 "Mantis %s IR receiver", mantis->hwconfig->model_name); in mantis_input_init()
H A Dmantis_pci.c40 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_pci_init()
H A Dmantis_dma.c206 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_dma_xfer()
H A Dmantis_i2c.c125 config = mantis->hwconfig; in mantis_i2c_xfer()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_types.h280 struct intel_hwconfig hwconfig; member