| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | tcm-sita.c | 18 #include "tcm.h" 154 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d() argument 160 spin_lock(&(tcm->lock)); in sita_reserve_1d() 161 ret = r2l_b2t_1d(num_slots, &pos, tcm->bitmap, tcm->map_size); in sita_reserve_1d() 163 area->p0.x = pos % tcm->width; in sita_reserve_1d() 164 area->p0.y = pos / tcm->width; in sita_reserve_1d() 165 area->p1.x = (pos + num_slots - 1) % tcm->width; in sita_reserve_1d() 166 area->p1.y = (pos + num_slots - 1) / tcm->width; in sita_reserve_1d() 168 spin_unlock(&(tcm->lock)); in sita_reserve_1d() 173 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u16 align, in sita_reserve_2d() argument [all …]
|
| H A D | tcm.h | 40 struct tcm; 51 struct tcm *tcm; /* parent */ member 56 struct tcm { struct 67 s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u16 align, argument 70 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area); argument 71 s32 (*free)(struct tcm *tcm, struct tcm_area *area); argument 72 void (*deinit)(struct tcm *tcm); argument 82 * Since some basic parameter checking is done outside the TCM algorithms, 83 * TCM implementation do NOT have to check the following: 91 struct tcm *sita_init(u16 width, u16 height); [all …]
|
| H A D | omap_dmm_tiler.c | 37 static struct tcm *containers[TILFMT_NFORMATS]; 307 static struct dmm_txn *dmm_txn_init(struct dmm *dmm, struct tcm *tcm) in dmm_txn_init() argument 333 engine->tcm = tcm; in dmm_txn_init() 365 pat->area.y0 += engine->tcm->y_offset; in dmm_txn_append() 366 pat->area.y1 += engine->tcm->y_offset; in dmm_txn_append() 370 .lut_id = engine->tcm->lut_id, in dmm_txn_append() 483 txn = dmm_txn_init(omap_dmm, area->tcm); in fill() 602 if (block->area.tcm) in tiler_release() 749 if (omap_dmm->tcm && omap_dmm->tcm[i]) in omap_dmm_remove() 750 omap_dmm->tcm[i]->deinit(omap_dmm->tcm[i]); in omap_dmm_remove() [all …]
|
| H A D | omap_dmm_priv.h | 122 struct tcm *tcm; member 133 struct tcm *tcm; member 178 /* array of LUT - TCM containers */ 179 struct tcm **tcm; member
|
| /linux/Documentation/arch/arm/ |
| H A D | tcm.rst | 2 ARM TCM (Tightly-Coupled Memory) handling in Linux 7 Some ARM SoCs have a so-called TCM (Tightly-Coupled Memory). 11 Due to being embedded inside the CPU, the TCM has a 12 Harvard-architecture, so there is an ITCM (instruction TCM) 13 and a DTCM (data TCM). The DTCM can not contain any 19 location and size of TCM memories. arch/arm/include/asm/cputype.h 22 at http://infocenter.arm.com, search for "TCM Status Register" 27 There is further a TCM region register (search for "TCM Region 29 size of TCM memories at runtime. This is used to read out and modify 30 TCM location and size. Notice that this is not a MMU table: you [all …]
|
| /linux/drivers/target/ |
| H A D | Kconfig | 4 tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure" 12 Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled 13 control path for target_core_mod. This includes built-in TCM RAMDISK 19 tristate "TCM/IBLOCK Subsystem Plugin for Linux/BLOCK" 22 Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered 26 tristate "TCM/FILEIO Subsystem Plugin for Linux/VFS" 28 Say Y here to enable the TCM/FILEIO subsystem plugin for buffered 32 tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI" 35 Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered 39 tristate "TCM/USER Subsystem Plugin for Linux" [all …]
|
| /linux/arch/csky/include/asm/ |
| H A D | tcm.h | 7 #error "You should not be including tcm.h unless you have a TCM!" 13 #define __tcmdata __section(".tcm.data") 15 #define __tcmconst __section(".tcm.rodata") 16 /* Tag functions inside TCM called from outside TCM with this */ 17 #define __tcmfunc __section(".tcm.text") noinline 18 /* Tag function inside TCM called from inside TCM with this */ 19 #define __tcmlocalfunc __section(".tcm.text")
|
| /linux/arch/arm/include/asm/ |
| H A D | tcm.h | 17 #define __tcmdata __section(".tcm.data") 19 #define __tcmconst __section(".tcm.rodata") 20 /* Tag functions inside TCM called from outside TCM with this */ 21 #define __tcmfunc __attribute__((long_call)) __section(".tcm.text") noinline 22 /* Tag function inside TCM called from inside TCM with this */ 23 #define __tcmlocalfunc __section(".tcm.text") 32 /* No TCM support, just blank inlines to be optimized out */
|
| H A D | vmlinux.lds.h | 163 *(.tcm.text) \ 164 *(.tcm.rodata) \ 173 *(.tcm.data) \
|
| /linux/arch/arm/kernel/ |
| H A D | tcm.c | 4 * TCM memory handling for ARM systems 21 #include <asm/tcm.h> 29 /* TCM section definitions from the linker */ 38 * TCM memory resources 73 * Allocate a chunk of TCM memory 91 * Free a chunk of TCM memory 120 * If there are more than one TCM bank of this type, in setup_tcm_bank() 121 * select the TCM bank to operate on in the TCM selection in setup_tcm_bank() 129 /* Read the special TCM region register c9, 0 */ in setup_tcm_bank() 159 /* Force move the TCM bank to where we want it, enable */ in setup_tcm_bank() [all …]
|
| /linux/drivers/remoteproc/ |
| H A D | xlnx_r5_remoteproc.c | 112 * Hardcoded TCM bank values. This will stay in driver to maintain backward 113 * compatibility with device-tree that does not have TCM information. 116 {0xffe00000UL, 0x0, 0x10000UL, PD_R5_0_ATCM, "atcm0"}, /* TCM 64KB each */ 122 /* In lockstep mode cluster uses each 64KB TCM from second core as well */ 124 {0xffe00000UL, 0x0, 0x10000UL, PD_R5_0_ATCM, "atcm0"}, /* TCM 64KB each */ 138 * @tcm_bank_count: number TCM banks accessible to this RPU 139 * @tcm_banks: array of each TCM bank data 381 bootmem == PM_RPU_BOOTMEM_HIVEC ? "OCM" : "TCM"); in zynqmp_r5_rproc_start() 579 * @mem: tcm mem entry to unmap 581 * Unmap TCM banks when powering down R5 core. [all …]
|
| /linux/drivers/thunderbolt/ |
| H A D | tb.c | 72 static inline struct tb *tcm_to_tb(struct tb_cm *tcm) in tcm_to_tb() argument 74 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 113 struct tb_cm *tcm = tb_priv(sw->tb); in tb_add_dp_resources() local 130 list_add(&port->list, &tcm->dp_resources); in tb_add_dp_resources() 132 list_add_tail(&port->list, &tcm->dp_resources); in tb_add_dp_resources() 140 struct tb_cm *tcm = tb_priv(sw->tb); in tb_remove_dp_resources() local 149 list_for_each_entry_safe(port, tmp, &tcm->dp_resources, list) { in tb_remove_dp_resources() 159 struct tb_cm *tcm = tb_priv(tb); in tb_discover_dp_resource() local 162 list_for_each_entry(p, &tcm->dp_resources, list) { in tb_discover_dp_resource() 169 list_add_tail(&port->list, &tcm->dp_resources); in tb_discover_dp_resource() [all …]
|
| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | xlnx,zynqmp-r5fss.yaml | 35 local R5F TCM address spaces to bus addresses. 54 xlnx,tcm-mode: 58 Configure RPU TCM 69 tightly coupled memories (TCM). System memory is cacheable, but the TCM 73 are accessed via the TCM A and B port interfaces, for a total of 128KB 75 TCM memory. 115 phandles to one or more reserved on-chip SRAM regions. Other than TCM, 159 xlnx,tcm-mode: false 202 xlnx,tcm-mode: 236 - xlnx,tcm-mode [all …]
|
| /linux/net/sched/ |
| H A D | sch_api.c | 904 struct tcmsg *tcm; in tc_fill_qdisc() local 913 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc() 916 tcm = nlmsg_data(nlh); in tc_fill_qdisc() 917 tcm->tcm_family = AF_UNSPEC; in tc_fill_qdisc() 918 tcm->tcm__pad1 = 0; in tc_fill_qdisc() 919 tcm->tcm__pad2 = 0; in tc_fill_qdisc() 920 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_qdisc() 921 tcm->tcm_parent = clid; in tc_fill_qdisc() 922 tcm->tcm_handle = q->handle; in tc_fill_qdisc() 923 tcm->tcm_info = refcount_read(&q->refcnt); in tc_fill_qdisc() [all …]
|
| H A D | cls_api.c | 2057 struct tcmsg *tcm; in tcf_fill_node() local 2062 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tcf_fill_node() 2065 tcm = nlmsg_data(nlh); in tcf_fill_node() 2066 tcm->tcm_family = AF_UNSPEC; in tcf_fill_node() 2067 tcm->tcm__pad1 = 0; in tcf_fill_node() 2068 tcm->tcm__pad2 = 0; in tcf_fill_node() 2070 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tcf_fill_node() 2071 tcm->tcm_parent = parent; in tcf_fill_node() 2073 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK; in tcf_fill_node() 2074 tcm->tcm_block_index = block->index; in tcf_fill_node() [all …]
|
| H A D | sch_mq.c | 190 struct tcmsg *tcm) in mq_select_queue() argument 192 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mq_select_queue() 241 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class() argument 245 tcm->tcm_parent = TC_H_ROOT; in mq_dump_class() 246 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class() 247 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mq_dump_class()
|
| /linux/arch/csky/kernel/ |
| H A D | vmlinux.lds.S | 68 *(.tcm.text) 69 *(.tcm.rodata) 71 *(.tcm.data) 90 *(.tcm.data)
|
| /linux/drivers/target/tcm_remote/ |
| H A D | Kconfig | 3 tristate "TCM Virtual Remote target" 6 Say Y here to enable the TCM Virtual Remote fabric 7 That fabric is a dummy fabric to tell TCM about configuration
|
| H A D | tcm_remote.c | 113 * Register the remote_tpg as a emulated TCM Target Endpoint in tcm_remote_make_tpg() 138 * Deregister the remote_tpg as a emulated TCM Target Endpoint in tcm_remote_drop_tpg() 223 return sprintf(page, "TCM Remote Fabric module %s\n", TCM_REMOTE_VERSION); in tcm_remote_wwn_version_show() 264 MODULE_DESCRIPTION("TCM virtual remote target");
|
| /linux/Documentation/target/ |
| H A D | tcmu-design.rst | 2 TCM Userspace Design 29 TCM is another name for LIO, an in-kernel iSCSI target (server). 30 Existing TCM targets run in the kernel. TCMU (TCM in Userspace) 35 protocols. TCM also modularizes the data storage. There are existing 220 tcm-user/<hba_num>/<device_name>/<subtype>/<path> 222 where "tcm-user" is common for all TCMU-backed UIO devices. <hba_num> 251 over netlink, using a generic netlink family name of "TCM-USER" and a 319 if (strncmp(buf, "tcm-user", 8))
|
| H A D | tcm_mod_builder.rst | 2 The TCM v4 fabric module script generator 8 script to generate a brand new functional TCM v4 fabric .ko module of your very own, 9 that once built can be immediately be loaded to start access the new TCM/ConfigFS 20 2) Generate basic infrastructure for loading/unloading LKMs and TCM/ConfigFS fabric module 95 #) Load the new module, create a lun_0 configfs group, and add new TCM Core
|
| /linux/drivers/target/tcm_fc/ |
| H A D | Kconfig | 6 Say Y here to enable the TCM FC plugin for accessing FC fabrics in TCM
|
| /linux/drivers/target/loopback/ |
| H A D | Kconfig | 3 tristate "TCM Virtual SAS target and Linux/SCSI LDD fabric loopback module" 6 Say Y here to enable the TCM Virtual SAS target and Linux/SCSI LLD
|
| H A D | tcm_loop.h | 17 /* The TCM I/O descriptor that is accessed via container_of() */ 26 * Pointer to TCM session for I_T Nexus
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_tcm.h | 5 * Utility definitions for the tcm function 37 * Callbacks to be removed when legacy tcm gadget disappears.
|