Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dsmu7_smumgr.c366 if (!smu_data->toc) { in smu7_request_smu_load_fw()
367 struct SMU_DRAMData_TOC *toc; in smu7_request_smu_load_fw() local
369 smu_data->toc = kzalloc(sizeof(struct SMU_DRAMData_TOC), GFP_KERNEL); in smu7_request_smu_load_fw()
370 if (!smu_data->toc) in smu7_request_smu_load_fw()
372 toc = smu_data->toc; in smu7_request_smu_load_fw()
373 toc->num_entries = 0; in smu7_request_smu_load_fw()
374 toc->structure_version = 1; in smu7_request_smu_load_fw()
377 UCODE_ID_RLC_G, &toc->entry[toc->num_entries++]), in smu7_request_smu_load_fw()
380 UCODE_ID_CP_CE, &toc->entry[toc->num_entries++]), in smu7_request_smu_load_fw()
383 UCODE_ID_CP_PFP, &toc->entry[toc->num_entries++]), in smu7_request_smu_load_fw()
[all …]
Dsmu8_smumgr.c333 struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; in smu8_smu_populate_single_scratch_task() local
334 struct SMU_Task *task = &toc->tasks[smu8_smu->toc_entry_used_count++]; in smu8_smu_populate_single_scratch_task()
370 struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; in smu8_smu_populate_single_ucode_load_task() local
371 struct SMU_Task *task = &toc->tasks[smu8_smu->toc_entry_used_count++]; in smu8_smu_populate_single_ucode_load_task()
409 struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; in smu8_smu_initialize_toc_empty_job_list() local
412 toc->JobList[i] = (uint8_t)IGNORE_JOB; in smu8_smu_initialize_toc_empty_job_list()
420 struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; in smu8_smu_construct_toc_for_vddgfx_enter() local
422 toc->JobList[JOB_GFX_SAVE] = (uint8_t)smu8_smu->toc_entry_used_count; in smu8_smu_construct_toc_for_vddgfx_enter()
438 struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; in smu8_smu_construct_toc_for_vddgfx_exit() local
440 toc->JobList[JOB_GFX_RESTORE] = (uint8_t)smu8_smu->toc_entry_used_count; in smu8_smu_construct_toc_for_vddgfx_exit()
/kernel/linux/linux-5.10/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.c1064 struct atapi_toc *toc = info->toc; in ide_cd_read_toc() local
1074 if (toc == NULL) { in ide_cd_read_toc()
1076 toc = kmalloc(sizeof(struct atapi_toc), GFP_KERNEL); in ide_cd_read_toc()
1077 if (toc == NULL) { in ide_cd_read_toc()
1082 info->toc = toc; in ide_cd_read_toc()
1095 stat = cdrom_read_capacity(drive, &toc->capacity, &sectors_per_frame); in ide_cd_read_toc()
1097 toc->capacity = 0x1fffff; in ide_cd_read_toc()
1099 set_capacity(info->disk, toc->capacity * sectors_per_frame); in ide_cd_read_toc()
1101 drive->probed_capacity = toc->capacity * sectors_per_frame; in ide_cd_read_toc()
1107 stat = ide_cdrom_read_tocentry(drive, 0, 1, 0, (char *) &toc->hdr, in ide_cd_read_toc()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmodule.lds.h4 .toc 0 : ALIGN(256)
6 *(.got .toc)
Dtypes.h28 unsigned long toc; member
/kernel/linux/linux-5.10/arch/powerpc/kernel/
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)
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/Documentation/crypto/
Dapi.rst4 .. class:: toc-title
Dindex.rst12 .. class:: toc-title
/kernel/linux/linux-5.10/Documentation/input/
Dinput_kapi.rst7 .. class:: toc-title
Dinput_uapi.rst7 .. class:: toc-title
/kernel/linux/linux-5.10/Documentation/input/joydev/
Dindex.rst9 .. class:: toc-title
/kernel/linux/linux-5.10/Documentation/driver-api/pci/
Dindex.rst7 .. class:: toc-title
/kernel/linux/linux-5.10/Documentation/driver-api/mei/
Dindex.rst14 .. class:: toc-title
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/Documentation/misc-devices/
Dindex.rst10 .. class:: toc-title
/kernel/linux/linux-5.10/Documentation/userspace-api/media/cec/
Dcec-api.rst15 .. class:: toc-title
/kernel/linux/linux-5.10/Documentation/dev-tools/
Dindex.rst10 .. class:: toc-title
/kernel/linux/linux-5.10/Documentation/userspace-api/media/rc/
Dremote_controllers.rst12 .. class:: toc-title
/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/
Dmedia-controller.rst12 .. class:: toc-title
/kernel/linux/linux-5.10/Documentation/userspace-api/
Dindex.rst12 .. class:: toc-title

123