Searched refs:TOC (Results 1 - 48 of 48) sorted by relevance

/linux-4.4.14/arch/powerpc/kernel/
H A Dmodule_64.c101 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 Dpaca.c152 /* 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 Dhead_64.S227 /* 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 Dmisc_64.S710 .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 Dftrace.c156 * will remove the way to restore the TOC in r2 and the r2 TOC will __ftrace_make_nop()
H A Dentry_64.S1014 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 Dexceptions-64e.S394 ld r2,PACATOC(r13); /* get kernel TOC into r2 */ \
1554 * address, so recalculate r2 (TOC)
H A Dsignal_64.c793 * entry is the TOC value we need to use. handle_rt_signal64()
H A Dprom_init.c69 * TOC.
2710 /* Get the start of the TOC by using r2 directly. */ __reloc_toc()
H A Dprocess.c1285 * address of _start and the second entry is the TOC start_thread()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dvdso.h36 .quad .name,.TOC.@tocbase,0; \
H A Dmodule.h37 unsigned int toc_section; /* What section is the TOC? */
38 bool toc_fixed; /* Have we fixed up .TOC.? */
H A Dppc_asm.h216 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 Dpaca.h77 u64 kernel_toc; /* Kernel TOC address */
H A Dexception-64s.h340 ld r2,PACATOC(r13); /* get kernel TOC into r2 */ \
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dopal-tracepoints.c20 * directly in the TOC so we can check if the opal tracepoints are
/linux-4.4.14/arch/powerpc/include/uapi/asm/
H A Delf.h231 #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 Dcz_smc.c507 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 Dsmu_ucode_xfer_cz.h100 struct TOC { struct
H A Diceland_smc.c624 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 Dfiji_smc.c769 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 Dtonga_smc.c768 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 Dide-cd.h42 /* Space to hold the disk TOC. */
86 a TOC buffer for this device yet. */
H A Dide-cd.c949 /* 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 Dide-cd_ioctl.c391 /* Make sure our saved TOC is valid. */ ide_cd_read_tochdr()
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb_handler.S87 /* 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 Dswitch_endian_test.S16 ld r15, pattern@TOC(%r2)
/linux-4.4.14/arch/powerpc/boot/
H A Drs6000.h25 #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 Dcrt0.S144 /* Set r2 to the TOC. */
/linux-4.4.14/drivers/scsi/
H A Dsr_vendor.c10 * multisession using the READ TOC command (like SONY).
284 cgc.cmd[0] = READ_TOC; /* Read TOC */ sr_cd_check()
H A Dnsp32_debug.c40 /* 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 Dconstants.c60 /* 42-48 */ "Unmap/Read sub-channel", "Read TOC/PMA/ATIP",
/linux-4.4.14/drivers/scsi/pcmcia/
H A Dnsp_debug.c42 /* 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 Dgdrom.c272 * 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 Dcdrom.c1000 /* 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 Dbpf_jit.h36 * As normal PPC C ABI (e.g. r1=sp, r2=TOC), with:
H A Dbpf_jit_comp.c668 /* Function descriptor nastiness: Address + TOC */ bpf_jit_compile()
/linux-4.4.14/arch/parisc/include/asm/
H A Dropes.h125 #define IOC_CTRL_TC (1 << 0) /* TOC Enable */
/linux-4.4.14/include/linux/
H A Dide.h395 /* 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 Dpdc.h40 #define PDC_PIM_TOC 4 /* Transfer TOC data */
/linux-4.4.14/arch/powerpc/
H A DMakefile106 # the TOC pointer to create pointers where possible. Pointers into the
/linux-4.4.14/include/uapi/linux/
H A Dcdrom.h58 #define CDROMREADTOCHDR 0x5305 /* Read TOC header
60 #define CDROMREADTOCENTRY 0x5306 /* Read TOC entry
/linux-4.4.14/drivers/soc/qcom/
H A Dsmem.c170 static const u8 SMEM_PTABLE_MAGIC[] = { 0x24, 0x54, 0x4f, 0x43 }; /* "$TOC" */
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Dlpar.c674 * directly in the TOC so we can check if the hcall tracepoints are
/linux-4.4.14/arch/powerpc/kvm/
H A Dbook3s_hv_rmhandlers.S487 * R2 = TOC
727 std r2, PACATMSCRATCH(r13) /* Save TOC */
1493 /* Reload stack pointer and TOC. */
/linux-4.4.14/arch/powerpc/mm/
H A Dhash_low_64.S30 * | TOC save area (SP + 40)
/linux-4.4.14/drivers/usb/gadget/function/
H A Df_mass_storage.c1222 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 Dvxge-traffic.h1759 * @vxge_hw_mgmt_reg_type_toc: TOC Registers

Completed in 1063 milliseconds