Symbol: hwconfig
drivers/crypto/inside-secure/safexcel.c
1266
if ((safexcel_algs[i]->algo_mask & priv->hwconfig.algo_flags) !=
drivers/crypto/inside-secure/safexcel.c
1287
if ((safexcel_algs[j]->algo_mask & priv->hwconfig.algo_flags) !=
drivers/crypto/inside-secure/safexcel.c
1309
if ((safexcel_algs[i]->algo_mask & priv->hwconfig.algo_flags) !=
drivers/crypto/inside-secure/safexcel.c
1325
u32 mask = BIT(priv->hwconfig.hwdataw) - 1;
drivers/crypto/inside-secure/safexcel.c
1327
priv->config.pes = priv->hwconfig.hwnumpes;
drivers/crypto/inside-secure/safexcel.c
1328
priv->config.rings = min_t(u32, priv->hwconfig.hwnumrings, max_rings);
drivers/crypto/inside-secure/safexcel.c
1331
priv->hwconfig.hwnumraic);
drivers/crypto/inside-secure/safexcel.c
1412
priv->hwconfig.hiaver = EIP197_VERSION_MASK(version);
drivers/crypto/inside-secure/safexcel.c
1416
priv->hwconfig.hiaver = EIP197_VERSION_SWAP(version);
drivers/crypto/inside-secure/safexcel.c
1422
priv->hwconfig.hiaver = EIP197_VERSION_MASK(version);
drivers/crypto/inside-secure/safexcel.c
1428
priv->hwconfig.hiaver = EIP197_VERSION_SWAP(version);
drivers/crypto/inside-secure/safexcel.c
1469
priv->hwconfig.hwver = EIP197_VERSION_MASK(version);
drivers/crypto/inside-secure/safexcel.c
1479
priv->hwconfig.ppver = EIP197_VERSION_MASK(version);
drivers/crypto/inside-secure/safexcel.c
1487
priv->hwconfig.pever = EIP197_VERSION_MASK(version);
drivers/crypto/inside-secure/safexcel.c
1492
priv->hwconfig.icever = 0;
drivers/crypto/inside-secure/safexcel.c
1493
priv->hwconfig.ocever = 0;
drivers/crypto/inside-secure/safexcel.c
1494
priv->hwconfig.psever = 0;
drivers/crypto/inside-secure/safexcel.c
1499
priv->hwconfig.hwdataw = (hiaopt >> EIP197_HWDATAW_OFFSET) &
drivers/crypto/inside-secure/safexcel.c
1501
priv->hwconfig.hwcfsize = ((hiaopt >> EIP197_CFSIZE_OFFSET) &
drivers/crypto/inside-secure/safexcel.c
1504
priv->hwconfig.hwrfsize = ((hiaopt >> EIP197_RFSIZE_OFFSET) &
drivers/crypto/inside-secure/safexcel.c
1507
priv->hwconfig.hwnumpes = (hiaopt >> EIP197_N_PES_OFFSET) &
drivers/crypto/inside-secure/safexcel.c
1509
priv->hwconfig.hwnumrings = (hiaopt >> EIP197_N_RINGS_OFFSET) &
drivers/crypto/inside-secure/safexcel.c
1523
priv->hwconfig.icever = EIP197_VERSION_MASK(version);
drivers/crypto/inside-secure/safexcel.c
1533
priv->hwconfig.psever = EIP197_VERSION_MASK(version);
drivers/crypto/inside-secure/safexcel.c
1542
priv->hwconfig.ocever = EIP197_VERSION_MASK(version);
drivers/crypto/inside-secure/safexcel.c
1551
priv->hwconfig.hwdataw = (hiaopt >> EIP197_HWDATAW_OFFSET) &
drivers/crypto/inside-secure/safexcel.c
1553
priv->hwconfig.hwcfsize = (hiaopt >> EIP97_CFSIZE_OFFSET) &
drivers/crypto/inside-secure/safexcel.c
1555
priv->hwconfig.hwrfsize = (hiaopt >> EIP97_RFSIZE_OFFSET) &
drivers/crypto/inside-secure/safexcel.c
1557
priv->hwconfig.hwnumpes = 1; /* by definition */
drivers/crypto/inside-secure/safexcel.c
1558
priv->hwconfig.hwnumrings = (hiaopt >> EIP197_N_RINGS_OFFSET) &
drivers/crypto/inside-secure/safexcel.c
1569
priv->hwconfig.hwnumraic = i;
drivers/crypto/inside-secure/safexcel.c
1571
if (!priv->hwconfig.hwnumraic) {
drivers/crypto/inside-secure/safexcel.c
1577
priv->hwconfig.algo_flags = readl(EIP197_PE(priv) +
drivers/crypto/inside-secure/safexcel.c
1582
peid, priv->hwconfig.hwver, hwctg, priv->hwconfig.hwnumpes,
drivers/crypto/inside-secure/safexcel.c
1583
priv->hwconfig.hwnumrings, priv->hwconfig.hwnumraic,
drivers/crypto/inside-secure/safexcel.c
1584
priv->hwconfig.hiaver, priv->hwconfig.hwdataw,
drivers/crypto/inside-secure/safexcel.c
1585
priv->hwconfig.hwcfsize, priv->hwconfig.hwrfsize,
drivers/crypto/inside-secure/safexcel.c
1586
priv->hwconfig.ppver, priv->hwconfig.pever,
drivers/crypto/inside-secure/safexcel.c
1587
priv->hwconfig.algo_flags, priv->hwconfig.icever,
drivers/crypto/inside-secure/safexcel.c
1588
priv->hwconfig.ocever, priv->hwconfig.psever);
drivers/crypto/inside-secure/safexcel.c
488
(BIT(priv->hwconfig.hwdataw) - 1)) >>
drivers/crypto/inside-secure/safexcel.c
489
priv->hwconfig.hwdataw;
drivers/crypto/inside-secure/safexcel.c
493
cd_fetch_cnt = (1 << priv->hwconfig.hwcfsize) / cd_size_rnd;
drivers/crypto/inside-secure/safexcel.c
498
cd_fetch_cnt = ((1 << priv->hwconfig.hwcfsize) /
drivers/crypto/inside-secure/safexcel.c
521
(cd_size_rnd << priv->hwconfig.hwdataw)) << 16) |
drivers/crypto/inside-secure/safexcel.c
545
(BIT(priv->hwconfig.hwdataw) - 1)) >>
drivers/crypto/inside-secure/safexcel.c
546
priv->hwconfig.hwdataw;
drivers/crypto/inside-secure/safexcel.c
549
rd_fetch_cnt = (1 << priv->hwconfig.hwrfsize) / rd_size_rnd;
drivers/crypto/inside-secure/safexcel.c
554
rd_fetch_cnt = ((1 << priv->hwconfig.hwrfsize) /
drivers/crypto/inside-secure/safexcel.c
570
(rd_size_rnd << priv->hwconfig.hwdataw)) << 16) |
drivers/crypto/inside-secure/safexcel.c
677
if (priv->hwconfig.hwnumpes > 4) {
drivers/crypto/inside-secure/safexcel.h
826
struct safexcel_hwconfig hwconfig;
drivers/gpu/drm/i915/gt/intel_gt_types.h
280
struct intel_hwconfig hwconfig;
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
116
struct intel_hwconfig *hwconfig = &gt->info.hwconfig;
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
123
ret = guc_hwconfig_discover_size(guc, hwconfig);
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
127
hwconfig->ptr = kmalloc(hwconfig->size, GFP_KERNEL);
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
128
if (!hwconfig->ptr) {
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
129
hwconfig->size = 0;
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
133
ret = guc_hwconfig_fill_buffer(guc, hwconfig);
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
162
struct intel_hwconfig *hwconfig = &gt->info.hwconfig;
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
164
kfree(hwconfig->ptr);
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
165
hwconfig->size = 0;
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
166
hwconfig->ptr = NULL;
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
55
static int guc_hwconfig_discover_size(struct intel_guc *guc, struct intel_hwconfig *hwconfig)
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
70
hwconfig->size = ret;
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
74
static int guc_hwconfig_fill_buffer(struct intel_guc *guc, struct intel_hwconfig *hwconfig)
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
81
GEM_BUG_ON(!hwconfig->size);
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
83
ret = intel_guc_allocate_and_map_vma(guc, hwconfig->size, &vma, &vaddr);
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
89
ret = __guc_action_get_hwconfig(guc, ggtt_offset, hwconfig->size);
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
91
memcpy(hwconfig->ptr, vaddr, hwconfig->size);
drivers/gpu/drm/i915/i915_query.c
538
struct intel_hwconfig *hwconfig = &gt->info.hwconfig;
drivers/gpu/drm/i915/i915_query.c
540
if (!hwconfig->size || !hwconfig->ptr)
drivers/gpu/drm/i915/i915_query.c
544
return hwconfig->size;
drivers/gpu/drm/i915/i915_query.c
546
if (query_item->length < hwconfig->size)
drivers/gpu/drm/i915/i915_query.c
550
hwconfig->ptr, hwconfig->size))
drivers/gpu/drm/i915/i915_query.c
553
return hwconfig->size;
drivers/gpu/drm/xe/xe_gt_debugfs.c
210
{ "hwconfig", .show = xe_gt_debugfs_show_with_rpm, .data = hwconfig },
drivers/gpu/drm/xe/xe_guc_hwconfig.c
102
XE_WARN_ON(!guc->hwconfig.bo);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
104
xe_map_memcpy_from(xe, dst, &guc->hwconfig.bo->vmap, 0,
drivers/gpu/drm/xe/xe_guc_hwconfig.c
105
guc->hwconfig.size);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
111
u32 *hwconfig;
drivers/gpu/drm/xe/xe_guc_hwconfig.c
123
hwconfig = kzalloc(size, GFP_KERNEL);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
124
if (!hwconfig) {
drivers/gpu/drm/xe/xe_guc_hwconfig.c
129
xe_guc_hwconfig_copy(guc, hwconfig);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
133
u32 attribute = hwconfig[i++];
drivers/gpu/drm/xe/xe_guc_hwconfig.c
134
u32 len_dw = hwconfig[i++];
drivers/gpu/drm/xe/xe_guc_hwconfig.c
150
drm_printf(p, "[%2u] = %u\n", attribute, hwconfig[i]);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
153
(int)(len_dw * sizeof(u32)), &hwconfig[i]);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
161
kfree(hwconfig);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
171
u32 *hwconfig;
drivers/gpu/drm/xe/xe_guc_hwconfig.c
178
hwconfig = kzalloc(size, GFP_KERNEL);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
179
if (!hwconfig)
drivers/gpu/drm/xe/xe_guc_hwconfig.c
182
xe_guc_hwconfig_copy(guc, hwconfig);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
186
u32 key = hwconfig[i++];
drivers/gpu/drm/xe/xe_guc_hwconfig.c
187
u32 len_dw = hwconfig[i++];
drivers/gpu/drm/xe/xe_guc_hwconfig.c
194
*val = hwconfig[i];
drivers/gpu/drm/xe/xe_guc_hwconfig.c
199
kfree(hwconfig);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
43
int ret = send_get_hwconfig(guc, xe_bo_ggtt_addr(guc->hwconfig.bo),
drivers/gpu/drm/xe/xe_guc_hwconfig.c
44
guc->hwconfig.size);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
62
if (guc->hwconfig.bo)
drivers/gpu/drm/xe/xe_guc_hwconfig.c
87
guc->hwconfig.bo = bo;
drivers/gpu/drm/xe/xe_guc_hwconfig.c
88
guc->hwconfig.size = size;
drivers/gpu/drm/xe/xe_guc_hwconfig.c
95
return !guc->hwconfig.bo ? 0 : guc->hwconfig.size;
drivers/gpu/drm/xe/xe_guc_types.h
113
} hwconfig;
drivers/gpu/drm/xe/xe_query.c
440
void *hwconfig;
drivers/gpu/drm/xe/xe_query.c
449
hwconfig = kzalloc(size, GFP_KERNEL);
drivers/gpu/drm/xe/xe_query.c
450
if (!hwconfig)
drivers/gpu/drm/xe/xe_query.c
453
xe_guc_hwconfig_copy(&gt->uc.guc, hwconfig);
drivers/gpu/drm/xe/xe_query.c
455
if (copy_to_user(query_ptr, hwconfig, size)) {
drivers/gpu/drm/xe/xe_query.c
456
kfree(hwconfig);
drivers/gpu/drm/xe/xe_query.c
459
kfree(hwconfig);
drivers/media/pci/mantis/hopper_cards.c
162
config = drvdata->hwconfig;
drivers/media/pci/mantis/hopper_cards.c
164
mantis->hwconfig = config;
drivers/media/pci/mantis/hopper_vp3028.c
35
struct mantis_hwconfig *config = mantis->hwconfig;
drivers/media/pci/mantis/mantis_cards.c
169
config = drvdata->hwconfig;
drivers/media/pci/mantis/mantis_cards.c
171
mantis->hwconfig = config;
drivers/media/pci/mantis/mantis_common.h
147
struct mantis_hwconfig *hwconfig;
drivers/media/pci/mantis/mantis_common.h
95
struct mantis_hwconfig *hwconfig;
drivers/media/pci/mantis/mantis_dma.c
206
struct mantis_hwconfig *config = mantis->hwconfig;
drivers/media/pci/mantis/mantis_dvb.c
137
struct mantis_hwconfig *config = mantis->hwconfig;
drivers/media/pci/mantis/mantis_dvb.c
210
if (mantis->hwconfig) {
drivers/media/pci/mantis/mantis_dvb.c
33
struct mantis_hwconfig *config = mantis->hwconfig;
drivers/media/pci/mantis/mantis_dvb.c
61
struct mantis_hwconfig *config = mantis->hwconfig;
drivers/media/pci/mantis/mantis_i2c.c
125
config = mantis->hwconfig;
drivers/media/pci/mantis/mantis_input.c
42
"Mantis %s IR receiver", mantis->hwconfig->model_name);
drivers/media/pci/mantis/mantis_pci.c
40
struct mantis_hwconfig *config = mantis->hwconfig;
drivers/media/pci/mantis/mantis_uart.c
145
struct mantis_hwconfig *config = mantis->hwconfig;
drivers/media/pci/mantis/mantis_uart.c
54
struct mantis_hwconfig *config = mantis->hwconfig;
drivers/media/pci/mantis/mantis_vp3030.c
47
struct mantis_hwconfig *config = mantis->hwconfig;
tools/testing/selftests/net/timestamping.c
327
struct hwtstamp_config hwconfig, hwconfig_requested;
tools/testing/selftests/net/timestamping.c
394
hwtstamp.ifr_data = (void *)&hwconfig;
tools/testing/selftests/net/timestamping.c
395
memset(&hwconfig, 0, sizeof(hwconfig));
tools/testing/selftests/net/timestamping.c
396
hwconfig.tx_type =
tools/testing/selftests/net/timestamping.c
399
hwconfig.rx_filter =
tools/testing/selftests/net/timestamping.c
403
hwconfig_requested = hwconfig;
tools/testing/selftests/net/timestamping.c
413
hwconfig_requested.tx_type, hwconfig.tx_type,
tools/testing/selftests/net/timestamping.c
414
hwconfig_requested.rx_filter, hwconfig.rx_filter);