Home
last modified time | relevance | path

Searched refs:toc (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Dsmu7_smumgr.c382 if (!smu_data->toc) { in smu7_request_smu_load_fw()
383 struct SMU_DRAMData_TOC *toc; in smu7_request_smu_load_fw() local
385 smu_data->toc = kzalloc(sizeof(struct SMU_DRAMData_TOC), GFP_KERNEL); in smu7_request_smu_load_fw()
386 if (!smu_data->toc) in smu7_request_smu_load_fw()
388 toc = smu_data->toc; in smu7_request_smu_load_fw()
389 toc->num_entries = 0; in smu7_request_smu_load_fw()
390 toc->structure_version = 1; in smu7_request_smu_load_fw()
393 UCODE_ID_RLC_G, &toc->entry[toc->num_entries++]), in smu7_request_smu_load_fw()
396 UCODE_ID_CP_CE, &toc->entry[toc->num_entries++]), in smu7_request_smu_load_fw()
399 UCODE_ID_CP_PFP, &toc->entry[toc->num_entries++]), in smu7_request_smu_load_fw()
[all …]
Dsmu8_smumgr.c335 struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; in smu8_smu_populate_single_scratch_task() local
336 struct SMU_Task *task = &toc->tasks[smu8_smu->toc_entry_used_count++]; in smu8_smu_populate_single_scratch_task()
372 struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; in smu8_smu_populate_single_ucode_load_task() local
373 struct SMU_Task *task = &toc->tasks[smu8_smu->toc_entry_used_count++]; in smu8_smu_populate_single_ucode_load_task()
411 struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; in smu8_smu_initialize_toc_empty_job_list() local
414 toc->JobList[i] = (uint8_t)IGNORE_JOB; in smu8_smu_initialize_toc_empty_job_list()
422 struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; in smu8_smu_construct_toc_for_vddgfx_enter() local
424 toc->JobList[JOB_GFX_SAVE] = (uint8_t)smu8_smu->toc_entry_used_count; in smu8_smu_construct_toc_for_vddgfx_enter()
440 struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; in smu8_smu_construct_toc_for_vddgfx_exit() local
442 toc->JobList[JOB_GFX_RESTORE] = (uint8_t)smu8_smu->toc_entry_used_count; in smu8_smu_construct_toc_for_vddgfx_exit()
/Linux-v5.4/drivers/ide/
Dide-cd_ioctl.c246 struct atapi_toc *toc; in ide_cdrom_get_last_session() local
251 if ((drive->atapi_flags & IDE_AFLAG_TOC_VALID) == 0 || !info->toc) { in ide_cdrom_get_last_session()
257 toc = info->toc; in ide_cdrom_get_last_session()
258 ms_info->addr.lba = toc->last_session_lba; in ide_cdrom_get_last_session()
259 ms_info->xa_flag = toc->xa_flag; in ide_cdrom_get_last_session()
319 struct atapi_toc *toc = info->toc; in ide_cd_get_toc_entry() local
329 ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; in ide_cd_get_toc_entry()
331 if (toc->hdr.first_track == CDROM_LEADOUT) in ide_cd_get_toc_entry()
335 *ent = &toc->ent[ntracks]; in ide_cd_get_toc_entry()
336 else if (track < toc->hdr.first_track || track > toc->hdr.last_track) in ide_cd_get_toc_entry()
[all …]
Dide-cd.c1063 struct atapi_toc *toc = info->toc; in ide_cd_read_toc() local
1073 if (toc == NULL) { in ide_cd_read_toc()
1075 toc = kmalloc(sizeof(struct atapi_toc), GFP_KERNEL); in ide_cd_read_toc()
1076 if (toc == NULL) { in ide_cd_read_toc()
1081 info->toc = toc; in ide_cd_read_toc()
1094 stat = cdrom_read_capacity(drive, &toc->capacity, &sectors_per_frame); in ide_cd_read_toc()
1096 toc->capacity = 0x1fffff; in ide_cd_read_toc()
1098 set_capacity(info->disk, toc->capacity * sectors_per_frame); in ide_cd_read_toc()
1100 drive->probed_capacity = toc->capacity * sectors_per_frame; in ide_cd_read_toc()
1106 stat = cdrom_read_tocentry(drive, 0, 1, 0, (char *) &toc->hdr, in ide_cd_read_toc()
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dmodule.lds1 /* Force alignment of .toc section. */
4 .toc 0 : ALIGN(256)
6 *(.got .toc)
Dswsusp_asm64.S88 ld r11,swsusp_save_area_ptr@toc(r2)
135 ld r11,swsusp_save_area_ptr@toc(r2)
149 ld r12,restore_pblist_ptr@toc(r2)
191 ld r11,swsusp_save_area_ptr@toc(r2)
269 ld r11,swsusp_save_area_ptr@toc(r2)
/Linux-v5.4/drivers/cdrom/
Dgdrom.c103 struct gdromtoc *toc; member
259 static int gdrom_readtoc_cmd(struct gdromtoc *toc, int session) in gdrom_readtoc_cmd() argument
286 insw(GDROM_DATA_REG, toc, tocsize/2); in gdrom_readtoc_cmd()
318 if (!gd.toc) in gdrom_get_last_session()
322 err = gdrom_readtoc_cmd(gd.toc, 1); in gdrom_get_last_session()
325 err = gdrom_readtoc_cmd(gd.toc, 0); in gdrom_get_last_session()
332 fentry = get_entry_track(gd.toc->first); in gdrom_get_last_session()
333 lentry = get_entry_track(gd.toc->last); in gdrom_get_last_session()
335 track = get_entry_track(gd.toc->last); in gdrom_get_last_session()
337 data = gd.toc->entry[track - 1]; in gdrom_get_last_session()
[all …]
/Linux-v5.4/block/partitions/
Dldm.c126 static bool ldm_parse_tocblock (const u8 *data, struct tocblock *toc) in ldm_parse_tocblock() argument
128 BUG_ON (!data || !toc); in ldm_parse_tocblock()
134 strncpy (toc->bitmap1_name, data + 0x24, sizeof (toc->bitmap1_name)); in ldm_parse_tocblock()
135 toc->bitmap1_name[sizeof (toc->bitmap1_name) - 1] = 0; in ldm_parse_tocblock()
136 toc->bitmap1_start = get_unaligned_be64(data + 0x2E); in ldm_parse_tocblock()
137 toc->bitmap1_size = get_unaligned_be64(data + 0x36); in ldm_parse_tocblock()
139 if (strncmp (toc->bitmap1_name, TOC_BITMAP1, in ldm_parse_tocblock()
140 sizeof (toc->bitmap1_name)) != 0) { in ldm_parse_tocblock()
142 TOC_BITMAP1, toc->bitmap1_name); in ldm_parse_tocblock()
145 strncpy (toc->bitmap2_name, data + 0x46, sizeof (toc->bitmap2_name)); in ldm_parse_tocblock()
[all …]
/Linux-v5.4/drivers/rpmsg/
Dqcom_glink_rpm.c188 struct rpm_toc *toc; in glink_rpm_parse_toc() local
203 toc = buf; in glink_rpm_parse_toc()
205 if (le32_to_cpu(toc->magic) != RPM_TOC_MAGIC) { in glink_rpm_parse_toc()
210 num_entries = le32_to_cpu(toc->count); in glink_rpm_parse_toc()
217 id = le32_to_cpu(toc->entries[i].id); in glink_rpm_parse_toc()
218 offset = le32_to_cpu(toc->entries[i].offset); in glink_rpm_parse_toc()
219 size = le32_to_cpu(toc->entries[i].size); in glink_rpm_parse_toc()
/Linux-v5.4/arch/powerpc/kernel/trace/
Dftrace_64_mprofile.S75 addis r3,r2,function_trace_op@toc@ha
76 addi r3,r3,function_trace_op@toc@l
174 addis r3, r2, function_trace_op@toc@ha
175 addi r3, r3, function_trace_op@toc@l
/Linux-v5.4/arch/powerpc/include/asm/
Dtypes.h28 unsigned long toc; member
/Linux-v5.4/Documentation/input/
Dinput_kapi.rst7 .. class:: toc-title
Dinput_uapi.rst7 .. class:: toc-title
/Linux-v5.4/Documentation/crypto/
Dapi.rst4 .. class:: toc-title
Dindex.rst12 .. class:: toc-title
/Linux-v5.4/Documentation/input/joydev/
Dindex.rst9 .. class:: toc-title
/Linux-v5.4/Documentation/driver-api/pci/
Dindex.rst7 .. class:: toc-title
/Linux-v5.4/Documentation/driver-api/mei/
Dindex.rst14 .. class:: toc-title
/Linux-v5.4/Documentation/media/
Dindex.rst8 .. class:: toc-title
Dmedia_uapi.rst19 .. class:: toc-title
/Linux-v5.4/Documentation/misc-devices/
Dindex.rst10 .. class:: toc-title
/Linux-v5.4/arch/powerpc/crypto/
Dcrc32-vpmsum_core.S116 addis r3,r2,.byteswap_constant@toc@ha
117 addi r3,r3,.byteswap_constant@toc@l
153 addis r3,r2,.constants@toc@ha
154 addi r3,r3,.constants@toc@l
509 addis r3,r2,.barrett_constants@toc@ha
510 addi r3,r3,.barrett_constants@toc@l
613 addis r3,r2,.short_constants@toc@ha
614 addi r3,r3,.short_constants@toc@l
/Linux-v5.4/Documentation/dev-tools/
Dindex.rst10 .. class:: toc-title
/Linux-v5.4/Documentation/userspace-api/
Dindex.rst12 .. class:: toc-title
/Linux-v5.4/arch/powerpc/boot/
DzImage.lds.S85 *(.toc)

123