/linux-4.4.14/arch/powerpc/kernel/ |
H A D | module_64.c | 101 jump, actually, to reset r2 (TOC+0x8000). */ 117 * For ELFv1 we need to use this to set up the new r2 value (aka TOC 124 * to the TOC ptr, r2) into the stub. 309 /* Still needed for ELFv2, for .TOC. */ dedotify_versions() 319 /* The TOC symbol has no CRC computed. To avoid CRC dedotify_versions() 323 if (!strcmp(vers->name, "TOC.")) dedotify_versions() 329 /* Undefined symbols which refer to .funcname, hack to funcname (or .TOC.) */ dedotify() 355 && strcmp(strtab + syms[i].st_name, "TOC.") == 0) find_dot_toc() 407 /* r2 is the TOC pointer: it actually points 0x8000 into the TOC (this 448 stub to set up the TOC ptr (r2) for the function. */ stub_for_addr() 502 /* First time we're called, we can fix up .TOC. */ apply_relocate_add() 506 * .TOC. so don't fail it just for that. */ apply_relocate_add() 544 /* Subtract TOC pointer */ apply_relocate_add() 557 /* Subtract TOC pointer */ apply_relocate_add() 565 /* Subtract TOC pointer */ apply_relocate_add() 578 /* Subtract TOC pointer */ apply_relocate_add() 591 /* Subtract TOC pointer */ apply_relocate_add() 641 * the TOC is within 2GB range of current location. apply_relocate_add() 658 * addis r2, r12, (.TOC.-func)@ha apply_relocate_add() 659 * addi r2, r12, (.TOC.-func)@l apply_relocate_add()
|
H A D | paca.c | 152 /* The TOC register (GPR2) points 32kB into the TOC, so that 64kB initialise_paca() 153 * of the TOC can be addressed using a single machine instruction. initialise_paca()
|
H A D | head_64.S | 227 /* get a valid TOC pointer, wherever we're mapped at */ 255 /* get a valid TOC pointer, wherever we're mapped at */ 369 /* Get TOC pointer (current runtime address) */ 615 /* get TOC pointer (real address) */ 709 * zero the stack back-chain pointer and get the TOC virtual address 749 * This puts the TOC pointer into r2, offset by 0x8000 (as expected 754 * TOC in -mcmodel=medium mode. After we relocate to 0 but before 755 * the MMU is on we need our TOC to be a virtual address otherwise 776 /* set up the TOC */ 853 /* Load the TOC (virtual address) */
|
H A D | misc_64.S | 710 .section "___kcrctab+TOC.","a" 717 * Export a fake .TOC. since both modpost and depmod will complain otherwise. 722 .asciz "TOC." 724 .section "___ksymtab+TOC.","a"
|
H A D | ftrace.c | 156 * will remove the way to restore the TOC in r2 and the r2 TOC will __ftrace_make_nop()
|
H A D | entry_64.S | 1014 SAVE_GPR(2, r1) /* Save the TOC */ 1113 REST_GPR(2, r1) /* Restore the TOC */ 1292 /* save TOC */ 1300 * Switch to our TOC to run inside the core kernel.
|
H A D | exceptions-64e.S | 394 ld r2,PACATOC(r13); /* get kernel TOC into r2 */ \ 1554 * address, so recalculate r2 (TOC)
|
H A D | signal_64.c | 793 * entry is the TOC value we need to use. handle_rt_signal64()
|
H A D | prom_init.c | 69 * TOC. 2710 /* Get the start of the TOC by using r2 directly. */ __reloc_toc()
|
H A D | process.c | 1285 * address of _start and the second entry is the TOC start_thread()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | vdso.h | 36 .quad .name,.TOC.@tocbase,0; \
|
H A D | module.h | 37 unsigned int toc_section; /* What section is the TOC? */ 38 bool toc_fixed; /* Have we fixed up .TOC.? */
|
H A D | ppc_asm.h | 216 0: addis r2,r12,(.TOC.-0b)@ha; \ 217 addi r2,r2,(.TOC.-0b)@l; \ 242 .quad .TOC.@tocbase; \ 258 .quad .TOC.@tocbase; \ 293 * to reference other data (i.e. on ppc64 when the TOC pointer is not
|
H A D | paca.h | 77 u64 kernel_toc; /* Kernel TOC address */
|
H A D | exception-64s.h | 340 ld r2,PACATOC(r13); /* get kernel TOC into r2 */ \
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | opal-tracepoints.c | 20 * directly in the TOC so we can check if the opal tracepoints are
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
H A D | elf.h | 231 #define R_PPC64_TOC16 47 /* half16* S + A - .TOC. */ 232 #define R_PPC64_TOC16_LO 48 /* half16 #lo(S + A - .TOC.). */ 233 #define R_PPC64_TOC16_HI 49 /* half16 #hi(S + A - .TOC.). */ 234 #define R_PPC64_TOC16_HA 50 /* half16 #ha(S + A - .TOC.). */ 235 #define R_PPC64_TOC 51 /* doubleword64 .TOC. */ 248 #define R_PPC64_TOC16_DS 63 /* half16ds* (S + A - .TOC.) >> 2. */ 249 #define R_PPC64_TOC16_LO_DS 64 /* half16ds #lo(S + A - .TOC.) >> 2. */
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | cz_smc.c | 507 struct TOC *toc = (struct TOC *)priv->toc_buffer.kaddr; cz_smu_populate_single_ucode_load_task() 536 struct TOC *toc = (struct TOC *)priv->toc_buffer.kaddr; cz_smu_populate_single_scratch_task() 580 struct TOC *toc = (struct TOC *)priv->toc_buffer.kaddr; cz_smu_construct_toc_for_vddgfx_enter() 596 struct TOC *toc = (struct TOC *)priv->toc_buffer.kaddr; cz_smu_construct_toc_for_vddgfx_exit() 702 struct TOC *toc = (struct TOC *)priv->toc_buffer.kaddr; cz_smu_initialize_toc_empty_job_list() 842 dev_err(adev->dev, "(%d) SMC TOC buffer allocation failed\n", ret); cz_smu_init() 859 dev_err(adev->dev, "(%d) SMC TOC buffer reserve failed\n", ret); cz_smu_init() 867 dev_err(adev->dev, "(%d) SMC TOC buffer pin failed\n", ret); cz_smu_init()
|
H A D | smu_ucode_xfer_cz.h | 100 struct TOC { struct
|
H A D | iceland_smc.c | 624 DRM_ERROR("Failed to allocate memory for TOC buffer\n"); iceland_smu_init() 632 DRM_ERROR("Failed to reserve the TOC buffer\n"); iceland_smu_init() 640 DRM_ERROR("Failed to pin the TOC buffer\n"); iceland_smu_init() 648 DRM_ERROR("Failed to map the TOC buffer\n"); iceland_smu_init()
|
H A D | fiji_smc.c | 769 DRM_ERROR("Failed to allocate memory for TOC buffer\n"); fiji_smu_init() 787 DRM_ERROR("Failed to reserve the TOC buffer\n"); fiji_smu_init() 795 DRM_ERROR("Failed to pin the TOC buffer\n"); fiji_smu_init() 803 DRM_ERROR("Failed to map the TOC buffer\n"); fiji_smu_init()
|
H A D | tonga_smc.c | 768 DRM_ERROR("Failed to allocate memory for TOC buffer\n"); tonga_smu_init() 786 DRM_ERROR("Failed to reserve the TOC buffer\n"); tonga_smu_init() 794 DRM_ERROR("Failed to pin the TOC buffer\n"); tonga_smu_init() 802 DRM_ERROR("Failed to map the TOC buffer\n"); tonga_smu_init()
|
/linux-4.4.14/drivers/ide/ |
H A D | ide-cd.h | 42 /* Space to hold the disk TOC. */ 86 a TOC buffer for this device yet. */
|
H A D | ide-cd.c | 949 /* Try to read the entire TOC for the disk into our internal buffer. */ ide_cd_read_toc() 969 printk(KERN_ERR PFX "%s: No cdrom TOC buffer!\n", ide_cd_read_toc() 992 /* save a private copy of the TOC capacity for error handling */ ide_cd_read_toc() 998 /* first read just the header, so we know how long the TOC is */ ide_cd_read_toc() 1024 * Cds with CDI tracks only don't have any TOC entries, despite ide_cd_read_toc() 1030 * tracks. In this case the readable TOC is empty (CDI tracks ide_cd_read_toc() 1467 * but they do support reading TOC & audio datas.
|
H A D | ide-cd_ioctl.c | 391 /* Make sure our saved TOC is valid. */ ide_cd_read_tochdr()
|
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | ebb_handler.S | 87 /* Restore our TOC pointer using our entry point */ \ 89 0: addis r2,r12,(.TOC.-0b)@ha; \ 90 addi r2,r2,(.TOC.-0b)@l; 95 /* Restore our TOC pointer via our opd entry */ \
|
/linux-4.4.14/tools/testing/selftests/powerpc/switch_endian/ |
H A D | switch_endian_test.S | 16 ld r15, pattern@TOC(%r2)
|
/linux-4.4.14/arch/powerpc/boot/ |
H A D | rs6000.h | 25 #define U802TOCMAGIC 0737 /* readonly text segments and TOC */ 48 unsigned char o_toc[4]; /* address of TOC */ 52 unsigned char o_sntoc[2]; /* section number of TOC */
|
H A D | crt0.S | 144 /* Set r2 to the TOC. */
|
/linux-4.4.14/drivers/scsi/ |
H A D | sr_vendor.c | 10 * multisession using the READ TOC command (like SONY). 284 cgc.cmd[0] = READ_TOC; /* Read TOC */ sr_cd_check()
|
H A D | nsp32_debug.c | 40 /* 42-48 */ "Read Sub-Ch(cd)", "Read TOC", "Read Header(cd)", "Play Audio(cd)", unknown, "Play Audio MSF(cd)", "Play Audio Track/Index(cd)",
|
H A D | constants.c | 60 /* 42-48 */ "Unmap/Read sub-channel", "Read TOC/PMA/ATIP",
|
/linux-4.4.14/drivers/scsi/pcmcia/ |
H A D | nsp_debug.c | 42 /* 42-48 */ "Read Sub-Ch(cd)", "Read TOC", "Read Header(cd)", "Play Audio(cd)", unknown, "Play Audio MSF(cd)", "Play Audio Track/Index(cd)",
|
/linux-4.4.14/drivers/cdrom/ |
H A D | gdrom.c | 272 * Read TOC command 275 * byte 3 = sizeof TOC >> 8 ie upper byte 276 * byte 4 = sizeof TOC & 0xff ie lower byte 316 /* TOC helpers */ get_entry_lba()
|
H A D | cdrom.c | 1000 /* Grab the TOC header so we can see how many tracks there are */ cdrom_count_tracks()
|
/linux-4.4.14/arch/powerpc/net/ |
H A D | bpf_jit.h | 36 * As normal PPC C ABI (e.g. r1=sp, r2=TOC), with:
|
H A D | bpf_jit_comp.c | 668 /* Function descriptor nastiness: Address + TOC */ bpf_jit_compile()
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | ropes.h | 125 #define IOC_CTRL_TC (1 << 0) /* TOC Enable */
|
/linux-4.4.14/include/linux/ |
H A D | ide.h | 395 /* TOC addresses are in BCD. */ 397 /* TOC track numbers are in BCD. */ 399 /* Saved TOC information is current. */
|
/linux-4.4.14/arch/parisc/include/uapi/asm/ |
H A D | pdc.h | 40 #define PDC_PIM_TOC 4 /* Transfer TOC data */
|
/linux-4.4.14/arch/powerpc/ |
H A D | Makefile | 106 # the TOC pointer to create pointers where possible. Pointers into the
|
/linux-4.4.14/include/uapi/linux/ |
H A D | cdrom.h | 58 #define CDROMREADTOCHDR 0x5305 /* Read TOC header 60 #define CDROMREADTOCENTRY 0x5306 /* Read TOC entry
|
/linux-4.4.14/drivers/soc/qcom/ |
H A D | smem.c | 170 static const u8 SMEM_PTABLE_MAGIC[] = { 0x24, 0x54, 0x4f, 0x43 }; /* "$TOC" */
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
H A D | lpar.c | 674 * directly in the TOC so we can check if the hcall tracepoints are
|
/linux-4.4.14/arch/powerpc/kvm/ |
H A D | book3s_hv_rmhandlers.S | 487 * R2 = TOC 727 std r2, PACATMSCRATCH(r13) /* Save TOC */ 1493 /* Reload stack pointer and TOC. */
|
/linux-4.4.14/arch/powerpc/mm/ |
H A D | hash_low_64.S | 30 * | TOC save area (SP + 40)
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | f_mass_storage.c | 1222 buf[1] = (20-2); /* TOC data length */ do_read_toc() 1968 "READ TOC"); do_scsi_command()
|
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
H A D | vxge-traffic.h | 1759 * @vxge_hw_mgmt_reg_type_toc: TOC Registers
|