toc 28 arch/powerpc/include/asm/types.h unsigned long toc; toc 1758 arch/powerpc/kernel/process.c unsigned long toc; toc 1767 arch/powerpc/kernel/process.c __get_user(toc, (unsigned long __user *)start+1); toc 1774 arch/powerpc/kernel/process.c toc += load_addr; toc 1776 arch/powerpc/kernel/process.c regs->gpr[2] = toc; toc 896 arch/powerpc/kernel/signal_64.c err |= get_user(regs->gpr[2], &funct_desc_ptr->toc); toc 1995 arch/powerpc/xmon/xmon.c unsigned long sp, toc; toc 1997 arch/powerpc/xmon/xmon.c asm("mr %0,2" : "=r" (toc) :); toc 2006 arch/powerpc/xmon/xmon.c printf("toc = "REG" dar = "REG"\n", toc, mfspr(SPRN_DAR)); toc 126 block/partitions/ldm.c static bool ldm_parse_tocblock (const u8 *data, struct tocblock *toc) toc 128 block/partitions/ldm.c BUG_ON (!data || !toc); toc 134 block/partitions/ldm.c strncpy (toc->bitmap1_name, data + 0x24, sizeof (toc->bitmap1_name)); toc 135 block/partitions/ldm.c toc->bitmap1_name[sizeof (toc->bitmap1_name) - 1] = 0; toc 136 block/partitions/ldm.c toc->bitmap1_start = get_unaligned_be64(data + 0x2E); toc 137 block/partitions/ldm.c toc->bitmap1_size = get_unaligned_be64(data + 0x36); toc 139 block/partitions/ldm.c if (strncmp (toc->bitmap1_name, TOC_BITMAP1, toc 140 block/partitions/ldm.c sizeof (toc->bitmap1_name)) != 0) { toc 142 block/partitions/ldm.c TOC_BITMAP1, toc->bitmap1_name); toc 145 block/partitions/ldm.c strncpy (toc->bitmap2_name, data + 0x46, sizeof (toc->bitmap2_name)); toc 146 block/partitions/ldm.c toc->bitmap2_name[sizeof (toc->bitmap2_name) - 1] = 0; toc 147 block/partitions/ldm.c toc->bitmap2_start = get_unaligned_be64(data + 0x50); toc 148 block/partitions/ldm.c toc->bitmap2_size = get_unaligned_be64(data + 0x58); toc 149 block/partitions/ldm.c if (strncmp (toc->bitmap2_name, TOC_BITMAP2, toc 150 block/partitions/ldm.c sizeof (toc->bitmap2_name)) != 0) { toc 152 block/partitions/ldm.c TOC_BITMAP2, toc->bitmap2_name); toc 366 block/partitions/ldm.c tb[0] = &ldb->toc; toc 434 block/partitions/ldm.c struct tocblock *toc; toc 439 block/partitions/ldm.c toc = &ldb->toc; toc 463 block/partitions/ldm.c if ((vm->vblk_size * vm->last_vblk_seq) > (toc->bitmap1_size << 9)) { toc 187 block/partitions/ldm.h struct tocblock toc; toc 2842 drivers/cdrom/cdrom.c struct cdrom_tocentry toc; toc 2895 drivers/cdrom/cdrom.c toc.cdte_format = CDROM_MSF; toc 2896 drivers/cdrom/cdrom.c toc.cdte_track = CDROM_LEADOUT; toc 2897 drivers/cdrom/cdrom.c if ((ret = cdi->ops->audio_ioctl(cdi, CDROMREADTOCENTRY, &toc))) toc 2899 drivers/cdrom/cdrom.c sanitize_format(&toc.cdte_addr, &toc.cdte_format, CDROM_LBA); toc 2900 drivers/cdrom/cdrom.c *last_written = toc.cdte_addr.lba; toc 103 drivers/cdrom/gdrom.c struct gdromtoc *toc; toc 259 drivers/cdrom/gdrom.c static int gdrom_readtoc_cmd(struct gdromtoc *toc, int session) toc 286 drivers/cdrom/gdrom.c insw(GDROM_DATA_REG, toc, tocsize/2); toc 318 drivers/cdrom/gdrom.c if (!gd.toc) toc 322 drivers/cdrom/gdrom.c err = gdrom_readtoc_cmd(gd.toc, 1); toc 325 drivers/cdrom/gdrom.c err = gdrom_readtoc_cmd(gd.toc, 0); toc 332 drivers/cdrom/gdrom.c fentry = get_entry_track(gd.toc->first); toc 333 drivers/cdrom/gdrom.c lentry = get_entry_track(gd.toc->last); toc 335 drivers/cdrom/gdrom.c track = get_entry_track(gd.toc->last); toc 337 drivers/cdrom/gdrom.c data = gd.toc->entry[track - 1]; toc 343 drivers/cdrom/gdrom.c if ((track > 100) || (track < get_entry_track(gd.toc->first))) { toc 795 drivers/cdrom/gdrom.c gd.toc = kzalloc(sizeof(struct gdromtoc), GFP_KERNEL); toc 796 drivers/cdrom/gdrom.c if (!gd.toc) { toc 846 drivers/cdrom/gdrom.c gd.toc = NULL; toc 862 drivers/cdrom/gdrom.c kfree(gd.toc); toc 382 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c if (!smu_data->toc) { toc 383 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c struct SMU_DRAMData_TOC *toc; toc 385 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c smu_data->toc = kzalloc(sizeof(struct SMU_DRAMData_TOC), GFP_KERNEL); toc 386 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c if (!smu_data->toc) toc 388 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c toc = smu_data->toc; toc 389 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c toc->num_entries = 0; toc 390 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c toc->structure_version = 1; toc 393 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c UCODE_ID_RLC_G, &toc->entry[toc->num_entries++]), toc 396 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c UCODE_ID_CP_CE, &toc->entry[toc->num_entries++]), toc 399 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c UCODE_ID_CP_PFP, &toc->entry[toc->num_entries++]), toc 402 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c UCODE_ID_CP_ME, &toc->entry[toc->num_entries++]), toc 405 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c UCODE_ID_CP_MEC, &toc->entry[toc->num_entries++]), toc 408 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c UCODE_ID_CP_MEC_JT1, &toc->entry[toc->num_entries++]), toc 411 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c UCODE_ID_CP_MEC_JT2, &toc->entry[toc->num_entries++]), toc 414 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c UCODE_ID_SDMA0, &toc->entry[toc->num_entries++]), toc 417 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c UCODE_ID_SDMA1, &toc->entry[toc->num_entries++]), toc 421 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c UCODE_ID_MEC_STORAGE, &toc->entry[toc->num_entries++]), toc 424 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c memcpy_toio(smu_data->header_buffer.kaddr, smu_data->toc, toc 438 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c kfree(smu_data->toc); toc 439 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c smu_data->toc = NULL; toc 606 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c kfree(smu_data->toc); toc 607 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c smu_data->toc = NULL; toc 42 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.h struct SMU_DRAMData_TOC *toc; toc 335 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; toc 336 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct SMU_Task *task = &toc->tasks[smu8_smu->toc_entry_used_count++]; toc 372 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; toc 373 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct SMU_Task *task = &toc->tasks[smu8_smu->toc_entry_used_count++]; toc 411 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; toc 414 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c toc->JobList[i] = (uint8_t)IGNORE_JOB; toc 422 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; toc 424 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c toc->JobList[JOB_GFX_SAVE] = (uint8_t)smu8_smu->toc_entry_used_count; toc 440 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; toc 442 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c toc->JobList[JOB_GFX_RESTORE] = (uint8_t)smu8_smu->toc_entry_used_count; toc 1063 drivers/ide/ide-cd.c struct atapi_toc *toc = info->toc; toc 1073 drivers/ide/ide-cd.c if (toc == NULL) { toc 1075 drivers/ide/ide-cd.c toc = kmalloc(sizeof(struct atapi_toc), GFP_KERNEL); toc 1076 drivers/ide/ide-cd.c if (toc == NULL) { toc 1081 drivers/ide/ide-cd.c info->toc = toc; toc 1094 drivers/ide/ide-cd.c stat = cdrom_read_capacity(drive, &toc->capacity, §ors_per_frame); toc 1096 drivers/ide/ide-cd.c toc->capacity = 0x1fffff; toc 1098 drivers/ide/ide-cd.c set_capacity(info->disk, toc->capacity * sectors_per_frame); toc 1100 drivers/ide/ide-cd.c drive->probed_capacity = toc->capacity * sectors_per_frame; toc 1106 drivers/ide/ide-cd.c stat = cdrom_read_tocentry(drive, 0, 1, 0, (char *) &toc->hdr, toc 1112 drivers/ide/ide-cd.c toc->hdr.first_track = bcd2bin(toc->hdr.first_track); toc 1113 drivers/ide/ide-cd.c toc->hdr.last_track = bcd2bin(toc->hdr.last_track); toc 1116 drivers/ide/ide-cd.c ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; toc 1123 drivers/ide/ide-cd.c stat = cdrom_read_tocentry(drive, toc->hdr.first_track, 1, 0, toc 1124 drivers/ide/ide-cd.c (char *)&toc->hdr, toc 1129 drivers/ide/ide-cd.c if (stat && toc->hdr.first_track > 1) { toc 1144 drivers/ide/ide-cd.c (char *)&toc->hdr, toc 1152 drivers/ide/ide-cd.c toc->hdr.first_track = (u8)bin2bcd(CDROM_LEADOUT); toc 1153 drivers/ide/ide-cd.c toc->hdr.last_track = (u8)bin2bcd(CDROM_LEADOUT); toc 1155 drivers/ide/ide-cd.c toc->hdr.first_track = CDROM_LEADOUT; toc 1156 drivers/ide/ide-cd.c toc->hdr.last_track = CDROM_LEADOUT; toc 1163 drivers/ide/ide-cd.c toc->hdr.toc_length = be16_to_cpu(toc->hdr.toc_length); toc 1166 drivers/ide/ide-cd.c toc->hdr.first_track = bcd2bin(toc->hdr.first_track); toc 1167 drivers/ide/ide-cd.c toc->hdr.last_track = bcd2bin(toc->hdr.last_track); toc 1173 drivers/ide/ide-cd.c toc->ent[i].track = bcd2bin(toc->ent[i].track); toc 1174 drivers/ide/ide-cd.c msf_from_bcd(&toc->ent[i].addr.msf); toc 1176 drivers/ide/ide-cd.c toc->ent[i].addr.lba = msf_to_lba(toc->ent[i].addr.msf.minute, toc 1177 drivers/ide/ide-cd.c toc->ent[i].addr.msf.second, toc 1178 drivers/ide/ide-cd.c toc->ent[i].addr.msf.frame); toc 1181 drivers/ide/ide-cd.c if (toc->hdr.first_track != CDROM_LEADOUT) { toc 1188 drivers/ide/ide-cd.c toc->last_session_lba = be32_to_cpu(ms_tmp.ent.addr.lba); toc 1192 drivers/ide/ide-cd.c toc->last_session_lba = msf_to_lba(0, 2, 0); /* 0m 2s 0f */ toc 1203 drivers/ide/ide-cd.c toc->last_session_lba = msf_to_lba(ms_tmp.ent.addr.msf.minute, toc 1208 drivers/ide/ide-cd.c toc->xa_flag = (ms_tmp.hdr.first_track != ms_tmp.hdr.last_track); toc 1212 drivers/ide/ide-cd.c if (!stat && (last_written > toc->capacity)) { toc 1213 drivers/ide/ide-cd.c toc->capacity = last_written; toc 1214 drivers/ide/ide-cd.c set_capacity(info->disk, toc->capacity * sectors_per_frame); toc 1215 drivers/ide/ide-cd.c drive->probed_capacity = toc->capacity * sectors_per_frame; toc 1581 drivers/ide/ide-cd.c kfree(info->toc); toc 85 drivers/ide/ide-cd.h struct atapi_toc *toc; toc 246 drivers/ide/ide-cd_ioctl.c struct atapi_toc *toc; toc 251 drivers/ide/ide-cd_ioctl.c if ((drive->atapi_flags & IDE_AFLAG_TOC_VALID) == 0 || !info->toc) { toc 257 drivers/ide/ide-cd_ioctl.c toc = info->toc; toc 258 drivers/ide/ide-cd_ioctl.c ms_info->addr.lba = toc->last_session_lba; toc 259 drivers/ide/ide-cd_ioctl.c ms_info->xa_flag = toc->xa_flag; toc 319 drivers/ide/ide-cd_ioctl.c struct atapi_toc *toc = info->toc; toc 329 drivers/ide/ide-cd_ioctl.c ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; toc 331 drivers/ide/ide-cd_ioctl.c if (toc->hdr.first_track == CDROM_LEADOUT) toc 335 drivers/ide/ide-cd_ioctl.c *ent = &toc->ent[ntracks]; toc 336 drivers/ide/ide-cd_ioctl.c else if (track < toc->hdr.first_track || track > toc->hdr.last_track) toc 339 drivers/ide/ide-cd_ioctl.c *ent = &toc->ent[track - toc->hdr.first_track]; toc 381 drivers/ide/ide-cd_ioctl.c struct atapi_toc *toc; toc 389 drivers/ide/ide-cd_ioctl.c toc = cd->toc; toc 390 drivers/ide/ide-cd_ioctl.c tochdr->cdth_trk0 = toc->hdr.first_track; toc 391 drivers/ide/ide-cd_ioctl.c tochdr->cdth_trk1 = toc->hdr.last_track; toc 573 drivers/net/ethernet/neterion/vxge/vxge-config.c struct vxge_hw_toc_reg __iomem *toc = NULL; toc 584 drivers/net/ethernet/neterion/vxge/vxge-config.c toc = bar0 + val64; toc 586 drivers/net/ethernet/neterion/vxge/vxge-config.c return toc; toc 1001 drivers/net/ethernet/neterion/vxge/vxge-config.c struct vxge_hw_toc_reg __iomem *toc; toc 1010 drivers/net/ethernet/neterion/vxge/vxge-config.c toc = __vxge_hw_device_toc_get(bar0); toc 1011 drivers/net/ethernet/neterion/vxge/vxge-config.c if (toc == NULL) { toc 1016 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&toc->toc_common_pointer); toc 1035 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&toc->toc_vpmgmt_pointer[i]); toc 1044 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&toc->toc_mrpcim_pointer); toc 1052 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&toc->toc_vpath_pointer[i]); toc 1077 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&toc->toc_vpath_pointer[i]); toc 188 drivers/rpmsg/qcom_glink_rpm.c struct rpm_toc *toc; toc 203 drivers/rpmsg/qcom_glink_rpm.c toc = buf; toc 205 drivers/rpmsg/qcom_glink_rpm.c if (le32_to_cpu(toc->magic) != RPM_TOC_MAGIC) { toc 210 drivers/rpmsg/qcom_glink_rpm.c num_entries = le32_to_cpu(toc->count); toc 217 drivers/rpmsg/qcom_glink_rpm.c id = le32_to_cpu(toc->entries[i].id); toc 218 drivers/rpmsg/qcom_glink_rpm.c offset = le32_to_cpu(toc->entries[i].offset); toc 219 drivers/rpmsg/qcom_glink_rpm.c size = le32_to_cpu(toc->entries[i].size); toc 134 drivers/soc/qcom/smem.c struct smem_global_entry toc[SMEM_ITEM_COUNT]; toc 407 drivers/soc/qcom/smem.c entry = &header->toc[item]; toc 492 drivers/soc/qcom/smem.c entry = &header->toc[item]; toc 112 tools/testing/selftests/powerpc/mm/wild_bctr.c unsigned long toc; toc 141 tools/testing/selftests/powerpc/pmu/ebb/ebb.c u64 toc;