sys/bus/u4b/wlan/if_rum.c
2636
rum_load_microcode(struct rum_softc *sc, const uint8_t *ucode, size_t size)
sys/bus/u4b/wlan/if_rum.c
2642
for (; size >= 4; reg += 4, ucode += 4, size -= 4) {
sys/bus/u4b/wlan/if_rum.c
2643
err = rum_write(sc, reg, UGETDW(ucode));
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
212
struct amdgpu_firmware_info *ucode;
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
215
ucode = &adev->firmware.ucode[id];
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
216
if (ucode->fw == NULL)
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
219
gpu_addr = ucode->mc_addr;
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
220
header = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data;
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
229
info->kptr = ucode->kaddr;
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
247
struct amdgpu_firmware_info *ucode = NULL;
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
452
ucode = &adev->firmware.ucode[AMDGPU_UCODE_ID_SMC];
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
453
ucode->ucode_id = AMDGPU_UCODE_ID_SMC;
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
454
ucode->fw = adev->pm.fw;
sys/dev/drm/amd/amdgpu/amdgpu_cgs.c
455
header = (const struct common_firmware_header *)ucode->fw->data;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
120
struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
130
ret = psp_cmd_submit(psp, ucode, psp->cmd_buf_mc_addr,
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
138
if (ucode && psp->cmd_buf_mem->resp.status) {
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
140
psp->cmd_buf_mem->resp.status, ucode->ucode_id);
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
144
if (ucode) {
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
145
ucode->tmr_mc_addr_lo = psp->cmd_buf_mem->resp.fw_addr_lo;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
146
ucode->tmr_mc_addr_hi = psp->cmd_buf_mem->resp.fw_addr_hi;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
301
struct amdgpu_firmware_info *ucode;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
305
ucode = &adev->firmware.ucode[i];
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
306
if (!ucode->fw)
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
309
if (ucode->ucode_id == AMDGPU_UCODE_ID_SMC &&
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
313
(ucode->ucode_id == AMDGPU_UCODE_ID_SDMA0
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
314
|| ucode->ucode_id == AMDGPU_UCODE_ID_SDMA1
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
315
|| ucode->ucode_id == AMDGPU_UCODE_ID_RLC_G))
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
319
ret = psp_prep_cmd_buf(ucode, psp->cmd);
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
323
ret = psp_cmd_submit_buf(psp, ucode, psp->cmd,
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
533
struct amdgpu_firmware_info *ucode = NULL;
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
543
ucode = &adev->firmware.ucode[ucode_type];
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
544
if (!ucode->fw || !ucode->ucode_size)
sys/dev/drm/amd/amdgpu/amdgpu_psp.c
547
return psp_compare_sram_data(&adev->psp, ucode, ucode_type);
sys/dev/drm/amd/amdgpu/amdgpu_psp.h
161
#define psp_prep_cmd_buf(ucode, type) (psp)->funcs->prep_cmd_buf((ucode), (type))
sys/dev/drm/amd/amdgpu/amdgpu_psp.h
166
#define psp_cmd_submit(psp, ucode, cmd_mc, fence_mc, index) \
sys/dev/drm/amd/amdgpu/amdgpu_psp.h
167
(psp)->funcs->cmd_submit((psp), (ucode), (cmd_mc), (fence_mc), (index))
sys/dev/drm/amd/amdgpu/amdgpu_psp.h
168
#define psp_compare_sram_data(psp, ucode, type) \
sys/dev/drm/amd/amdgpu/amdgpu_psp.h
169
(psp)->funcs->compare_sram_data((psp), (ucode), (type))
sys/dev/drm/amd/amdgpu/amdgpu_psp.h
65
int (*prep_cmd_buf)(struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/amdgpu_psp.h
75
struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/amdgpu_psp.h
79
struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
317
struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
324
if (NULL == ucode->fw)
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
327
ucode->mc_addr = mc_addr;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
328
ucode->kaddr = kptr;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
330
if (ucode->ucode_id == AMDGPU_UCODE_ID_STORAGE)
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
333
header = (const struct common_firmware_header *)ucode->fw->data;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
334
cp_hdr = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
335
dmcu_hdr = (const struct dmcu_firmware_header_v1_0 *)ucode->fw->data;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
338
(ucode->ucode_id != AMDGPU_UCODE_ID_CP_MEC1 &&
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
339
ucode->ucode_id != AMDGPU_UCODE_ID_CP_MEC2 &&
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
340
ucode->ucode_id != AMDGPU_UCODE_ID_CP_MEC1_JT &&
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
341
ucode->ucode_id != AMDGPU_UCODE_ID_CP_MEC2_JT &&
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
342
ucode->ucode_id != AMDGPU_UCODE_ID_RLC_RESTORE_LIST_CNTL &&
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
343
ucode->ucode_id != AMDGPU_UCODE_ID_RLC_RESTORE_LIST_GPM_MEM &&
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
344
ucode->ucode_id != AMDGPU_UCODE_ID_RLC_RESTORE_LIST_SRM_MEM &&
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
345
ucode->ucode_id != AMDGPU_UCODE_ID_DMCU_ERAM &&
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
346
ucode->ucode_id != AMDGPU_UCODE_ID_DMCU_INTV)) {
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
347
ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
349
memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data +
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
351
ucode->ucode_size);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
352
} else if (ucode->ucode_id == AMDGPU_UCODE_ID_CP_MEC1 ||
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
353
ucode->ucode_id == AMDGPU_UCODE_ID_CP_MEC2) {
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
354
ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) -
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
357
memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data +
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
359
ucode->ucode_size);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
360
} else if (ucode->ucode_id == AMDGPU_UCODE_ID_CP_MEC1_JT ||
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
361
ucode->ucode_id == AMDGPU_UCODE_ID_CP_MEC2_JT) {
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
362
ucode->ucode_size = le32_to_cpu(cp_hdr->jt_size) * 4;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
364
memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data +
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
367
ucode->ucode_size);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
368
} else if (ucode->ucode_id == AMDGPU_UCODE_ID_DMCU_ERAM) {
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
369
ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) -
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
372
memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data +
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
374
ucode->ucode_size);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
375
} else if (ucode->ucode_id == AMDGPU_UCODE_ID_DMCU_INTV) {
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
376
ucode->ucode_size = le32_to_cpu(dmcu_hdr->intv_size_bytes);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
378
memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data +
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
381
ucode->ucode_size);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
382
} else if (ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_CNTL) {
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
383
ucode->ucode_size = adev->gfx.rlc.save_restore_list_cntl_size_bytes;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
384
memcpy(ucode->kaddr, adev->gfx.rlc.save_restore_list_cntl,
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
385
ucode->ucode_size);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
386
} else if (ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_GPM_MEM) {
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
387
ucode->ucode_size = adev->gfx.rlc.save_restore_list_gpm_size_bytes;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
388
memcpy(ucode->kaddr, adev->gfx.rlc.save_restore_list_gpm,
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
389
ucode->ucode_size);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
390
} else if (ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_SRM_MEM) {
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
391
ucode->ucode_size = adev->gfx.rlc.save_restore_list_srm_size_bytes;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
392
memcpy(ucode->kaddr, adev->gfx.rlc.save_restore_list_srm,
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
393
ucode->ucode_size);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
399
static int amdgpu_ucode_patch_jt(struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
407
if (NULL == ucode->fw)
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
410
comm_hdr = (const struct common_firmware_header *)ucode->fw->data;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
411
header = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
412
dst_addr = ucode->kaddr +
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
415
src_addr = (uint8_t *)ucode->fw->data +
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
453
struct amdgpu_firmware_info *ucode = NULL;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
472
ucode = &adev->firmware.ucode[i];
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
473
if (ucode->fw) {
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
474
amdgpu_ucode_init_single_fw(adev, ucode, adev->firmware.fw_buf_mc + fw_offset,
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
479
cp_hdr = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data;
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
480
amdgpu_ucode_patch_jt(ucode, adev->firmware.fw_buf_mc + fw_offset,
sys/dev/drm/amd/amdgpu/amdgpu_ucode.c
484
fw_offset += ALIGN(ucode->ucode_size, PAGE_SIZE);
sys/dev/drm/amd/amdgpu/amdgpu_ucode.h
253
struct amdgpu_firmware_info ucode[AMDGPU_UCODE_ID_MAXIMUM];
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
1176
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_PFP];
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
1183
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_ME];
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
1190
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_CE];
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
1197
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_RLC_G];
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
1204
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_MEC1];
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
1217
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_STORAGE];
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
1225
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_MEC2];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
748
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_PFP];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
755
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_ME];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
762
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_CE];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
769
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_RLC_G];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
780
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_RLC_RESTORE_LIST_CNTL];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
786
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_RLC_RESTORE_LIST_GPM_MEM];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
792
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_RLC_RESTORE_LIST_SRM_MEM];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
799
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_MEC1];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
807
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_MEC1_JT];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
814
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_MEC2];
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
821
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_CP_MEC2_JT];
sys/dev/drm/amd/amdgpu/psp_v10_0.c
159
static int psp_v10_0_prep_cmd_buf(struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/psp_v10_0.c
163
uint64_t fw_mem_mc_addr = ucode->mc_addr;
sys/dev/drm/amd/amdgpu/psp_v10_0.c
170
cmd->cmd.cmd_load_ip_fw.fw_size = ucode->ucode_size;
sys/dev/drm/amd/amdgpu/psp_v10_0.c
172
ret = psp_v10_0_get_fw_type(ucode, &cmd->cmd.cmd_load_ip_fw.fw_type);
sys/dev/drm/amd/amdgpu/psp_v10_0.c
280
struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/psp_v10_0.c
40
psp_v10_0_get_fw_type(struct amdgpu_firmware_info *ucode, enum psp_gfx_fw_type *type)
sys/dev/drm/amd/amdgpu/psp_v10_0.c
415
struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/psp_v10_0.c
42
switch(ucode->ucode_id) {
sys/dev/drm/amd/amdgpu/psp_v10_0.c
433
ucode_size = ucode->ucode_size;
sys/dev/drm/amd/amdgpu/psp_v10_0.c
434
ucode_mem = (uint32_t *)ucode->kaddr;
sys/dev/drm/amd/amdgpu/psp_v11_0.c
227
static int psp_v11_0_prep_cmd_buf(struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/psp_v11_0.c
231
uint64_t fw_mem_mc_addr = ucode->mc_addr;
sys/dev/drm/amd/amdgpu/psp_v11_0.c
238
cmd->cmd.cmd_load_ip_fw.fw_size = ucode->ucode_size;
sys/dev/drm/amd/amdgpu/psp_v11_0.c
240
ret = psp_v11_0_get_fw_type(ucode, &cmd->cmd.cmd_load_ip_fw.fw_type);
sys/dev/drm/amd/amdgpu/psp_v11_0.c
343
struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/psp_v11_0.c
42
psp_v11_0_get_fw_type(struct amdgpu_firmware_info *ucode, enum psp_gfx_fw_type *type)
sys/dev/drm/amd/amdgpu/psp_v11_0.c
44
switch (ucode->ucode_id) {
sys/dev/drm/amd/amdgpu/psp_v11_0.c
480
struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/psp_v11_0.c
498
ucode_size = ucode->ucode_size;
sys/dev/drm/amd/amdgpu/psp_v11_0.c
499
ucode_mem = (uint32_t *)ucode->kaddr;
sys/dev/drm/amd/amdgpu/psp_v3_1.c
277
static int psp_v3_1_prep_cmd_buf(struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/psp_v3_1.c
281
uint64_t fw_mem_mc_addr = ucode->mc_addr;
sys/dev/drm/amd/amdgpu/psp_v3_1.c
288
cmd->cmd.cmd_load_ip_fw.fw_size = ucode->ucode_size;
sys/dev/drm/amd/amdgpu/psp_v3_1.c
290
ret = psp_v3_1_get_fw_type(ucode, &cmd->cmd.cmd_load_ip_fw.fw_type);
sys/dev/drm/amd/amdgpu/psp_v3_1.c
398
struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/psp_v3_1.c
51
psp_v3_1_get_fw_type(struct amdgpu_firmware_info *ucode, enum psp_gfx_fw_type *type)
sys/dev/drm/amd/amdgpu/psp_v3_1.c
53
switch(ucode->ucode_id) {
sys/dev/drm/amd/amdgpu/psp_v3_1.c
535
struct amdgpu_firmware_info *ucode,
sys/dev/drm/amd/amdgpu/psp_v3_1.c
553
ucode_size = ucode->ucode_size;
sys/dev/drm/amd/amdgpu/psp_v3_1.c
554
ucode_mem = (uint32_t *)ucode->kaddr;
sys/dev/drm/amd/amdgpu/sdma_v2_4.c
164
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_SDMA0 + i];
sys/dev/drm/amd/amdgpu/sdma_v3_0.c
321
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_SDMA0 + i];
sys/dev/drm/amd/amdgpu/sdma_v4_0.c
317
info = &adev->firmware.ucode[AMDGPU_UCODE_ID_SDMA0 + i];
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
436
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD].ucode_id = AMDGPU_UCODE_ID_UVD;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
437
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD].fw = adev->uvd.fw;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
442
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD1].ucode_id = AMDGPU_UCODE_ID_UVD1;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
443
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD1].fw = adev->uvd.fw;
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
671
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD].tmr_mc_addr_lo:
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
672
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD1].tmr_mc_addr_lo);
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
675
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD].tmr_mc_addr_hi:
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
676
adev->firmware.ucode[AMDGPU_UCODE_ID_UVD1].tmr_mc_addr_hi);
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
814
lower_32_bits(adev->firmware.ucode[AMDGPU_UCODE_ID_UVD].mc_addr));
sys/dev/drm/amd/amdgpu/uvd_v7_0.c
816
upper_32_bits(adev->firmware.ucode[AMDGPU_UCODE_ID_UVD].mc_addr));
sys/dev/drm/amd/amdgpu/vce_v4_0.c
250
adev->firmware.ucode[AMDGPU_UCODE_ID_VCE].mc_addr >> 8);
sys/dev/drm/amd/amdgpu/vce_v4_0.c
253
(adev->firmware.ucode[AMDGPU_UCODE_ID_VCE].mc_addr >> 40) & 0xff);
sys/dev/drm/amd/amdgpu/vce_v4_0.c
447
adev->firmware.ucode[AMDGPU_UCODE_ID_VCE].ucode_id = AMDGPU_UCODE_ID_VCE;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
448
adev->firmware.ucode[AMDGPU_UCODE_ID_VCE].fw = adev->vce.fw;
sys/dev/drm/amd/amdgpu/vce_v4_0.c
620
tmr_mc_addr = (uint64_t)(adev->firmware.ucode[AMDGPU_UCODE_ID_VCE].tmr_mc_addr_hi) << 32 |
sys/dev/drm/amd/amdgpu/vce_v4_0.c
621
adev->firmware.ucode[AMDGPU_UCODE_ID_VCE].tmr_mc_addr_lo;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
112
adev->firmware.ucode[AMDGPU_UCODE_ID_VCN].ucode_id = AMDGPU_UCODE_ID_VCN;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
113
adev->firmware.ucode[AMDGPU_UCODE_ID_VCN].fw = adev->vcn.fw;
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
290
(adev->firmware.ucode[AMDGPU_UCODE_ID_VCN].tmr_mc_addr_lo));
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
292
(adev->firmware.ucode[AMDGPU_UCODE_ID_VCN].tmr_mc_addr_hi));
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
357
(adev->firmware.ucode[AMDGPU_UCODE_ID_VCN].tmr_mc_addr_lo),
sys/dev/drm/amd/amdgpu/vcn_v1_0.c
360
(adev->firmware.ucode[AMDGPU_UCODE_ID_VCN].tmr_mc_addr_hi),
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
575
adev->firmware.ucode[AMDGPU_UCODE_ID_DMCU_ERAM].ucode_id = AMDGPU_UCODE_ID_DMCU_ERAM;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
576
adev->firmware.ucode[AMDGPU_UCODE_ID_DMCU_ERAM].fw = adev->dm.fw_dmcu;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
580
adev->firmware.ucode[AMDGPU_UCODE_ID_DMCU_INTV].ucode_id = AMDGPU_UCODE_ID_DMCU_INTV;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
581
adev->firmware.ucode[AMDGPU_UCODE_ID_DMCU_INTV].fw = adev->dm.fw_dmcu;
sys/dev/netif/bwn/bwn/if_bwn.c
3997
error = bwn_fw_get(mac, type, filename, &fw->ucode);
sys/dev/netif/bwn/bwn/if_bwn.c
4198
bwn_do_release_fw(&mac->mac_fw.ucode);
sys/dev/netif/bwn/bwn/if_bwn.c
4238
data = GETFWOFFSET(mac->mac_fw.ucode, sizeof(struct bwn_fwhdr));
sys/dev/netif/bwn/bwn/if_bwn.c
4240
for (i = 0; i < GETFWSIZE(mac->mac_fw.ucode, sizeof(struct bwn_fwhdr));
sys/dev/netif/bwn/bwn/if_bwnvar.h
828
struct bwn_fwfile ucode;
sys/dev/netif/fxp/if_fxp.c
2269
u_int32_t *ucode;
sys/dev/netif/fxp/if_fxp.c
2290
struct ucode *uc;
sys/dev/netif/fxp/if_fxp.c
2293
for (uc = ucode_table; uc->ucode != NULL; uc++)
sys/dev/netif/fxp/if_fxp.c
2296
if (uc->ucode == NULL)
sys/dev/netif/fxp/if_fxp.c
2302
memcpy(cbp->ucode, uc->ucode, uc->length);
sys/dev/netif/fxp/if_fxp.c
2304
*(u_short *)&cbp->ucode[uc->int_delay_offset] =
sys/dev/netif/fxp/if_fxp.c
2307
*(u_short *)&cbp->ucode[uc->bundle_max_offset] =
sys/dev/netif/fxp/if_fxpreg.h
231
u_int32_t ucode[MAXUCODESIZE];
sys/dev/netif/iwn/if_iwn.c
6608
cmd.ucode.once.enable = 0xffffffff;
sys/dev/netif/iwn/if_iwn.c
6609
cmd.ucode.once.start = IWN5000_CALIB_DC;
sys/dev/netif/iwn/if_iwn.c
7672
cmd.ucode.once.enable = htole32(0xffffffff);
sys/dev/netif/iwn/if_iwn.c
7673
cmd.ucode.once.start = htole32(0xffffffff);
sys/dev/netif/iwn/if_iwn.c
7674
cmd.ucode.once.send = htole32(0xffffffff);
sys/dev/netif/iwn/if_iwn.c
7675
cmd.ucode.flags = htole32(0xffffffff);
sys/dev/netif/iwn/if_iwn.c
7991
iwn4965_load_bootcode(struct iwn_softc *sc, const uint8_t *ucode, int size)
sys/dev/netif/iwn/if_iwn.c
8002
(const uint32_t *)ucode, size);
sys/dev/netif/iwn/if_iwnreg.h
857
struct iwn5000_calib_status ucode;
sys/dev/netif/wpi/if_wpi.c
4947
wpi_load_bootcode(struct wpi_softc *sc, const uint8_t *ucode, uint32_t size)
sys/dev/netif/wpi/if_wpi.c
4960
(const uint32_t *)ucode, size);
sys/platform/pc64/x86_64/trap.c
404
int i = 0, ucode = 0, type, code;
sys/platform/pc64/x86_64/trap.c
487
ucode = ILL_PRVOPC;
sys/platform/pc64/x86_64/trap.c
494
ucode = (type == T_TRCTRAP ? TRAP_TRACE : TRAP_BRKPT);
sys/platform/pc64/x86_64/trap.c
498
ucode = code;
sys/platform/pc64/x86_64/trap.c
514
ucode = BUS_OBJERR;
sys/platform/pc64/x86_64/trap.c
519
ucode = BUS_ADRERR;
sys/platform/pc64/x86_64/trap.c
525
ucode = BUS_OBJERR;
sys/platform/pc64/x86_64/trap.c
540
ucode = SEGV_MAPERR;
sys/platform/pc64/x86_64/trap.c
543
ucode = SEGV_ACCERR;
sys/platform/pc64/x86_64/trap.c
548
ucode = FPE_INTDIV;
sys/platform/pc64/x86_64/trap.c
573
ucode = FPE_INTOVF;
sys/platform/pc64/x86_64/trap.c
578
ucode = FPE_FLTSUB;
sys/platform/pc64/x86_64/trap.c
612
ucode = FPE_FPU_NP_TRAP;
sys/platform/pc64/x86_64/trap.c
616
ucode = ILL_COPROC;
sys/platform/pc64/x86_64/trap.c
621
ucode = 0; /* XXX */
sys/platform/pc64/x86_64/trap.c
751
ucode = TRAP_BRKPT;
sys/platform/pc64/x86_64/trap.c
807
trapsignal(lp, i, ucode);
sys/platform/vkernel64/x86_64/trap.c
340
int i = 0, ucode = 0, type, code;
sys/platform/vkernel64/x86_64/trap.c
386
ucode = ILL_PRVOPC;
sys/platform/vkernel64/x86_64/trap.c
393
ucode = (type == T_TRCTRAP ? TRAP_TRACE : TRAP_BRKPT);
sys/platform/vkernel64/x86_64/trap.c
397
ucode = code;
sys/platform/vkernel64/x86_64/trap.c
431
ucode = code + BUS_SEGM_FAULT ;
sys/platform/vkernel64/x86_64/trap.c
441
ucode = SEGV_MAPERR;
sys/platform/vkernel64/x86_64/trap.c
444
ucode = SEGV_ACCERR;
sys/platform/vkernel64/x86_64/trap.c
449
ucode = FPE_INTDIV;
sys/platform/vkernel64/x86_64/trap.c
474
ucode = FPE_INTOVF;
sys/platform/vkernel64/x86_64/trap.c
479
ucode = FPE_FLTSUB;
sys/platform/vkernel64/x86_64/trap.c
514
ucode = FPE_FPU_NP_TRAP;
sys/platform/vkernel64/x86_64/trap.c
528
ucode = T_FPOPFLT;
sys/platform/vkernel64/x86_64/trap.c
533
ucode = 0; /* XXX */
sys/platform/vkernel64/x86_64/trap.c
554
trapsignal(lp, i, ucode);
sys/platform/vkernel64/x86_64/trap.c
589
int i = 0, ucode = 0, type, code;
sys/platform/vkernel64/x86_64/trap.c
752
trapsignal(lp, i, ucode);