Home
last modified time | relevance | path

Searched refs:tcm (Results 1 – 36 of 36) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/omapdrm/
Dtcm.h42 struct tcm;
53 struct tcm *tcm; /* parent */ member
58 struct tcm { struct
71 s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u8 align, argument
73 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area); argument
74 s32 (*free) (struct tcm *tcm, struct tcm_area *area); argument
75 void (*deinit) (struct tcm *tcm); argument
94 struct tcm *sita_init(u16 width, u16 height, struct tcm_pt *attr);
107 static inline void tcm_deinit(struct tcm *tcm) in tcm_deinit() argument
109 if (tcm) in tcm_deinit()
[all …]
Dtcm-sita.c34 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u8 align,
36 static s32 sita_reserve_1d(struct tcm *tcm, u32 slots, struct tcm_area *area);
37 static s32 sita_free(struct tcm *tcm, struct tcm_area *area);
38 static void sita_deinit(struct tcm *tcm);
43 static s32 scan_areas_and_find_fit(struct tcm *tcm, u16 w, u16 h, u16 align,
46 static s32 scan_l2r_t2b(struct tcm *tcm, u16 w, u16 h, u16 align,
49 static s32 scan_r2l_t2b(struct tcm *tcm, u16 w, u16 h, u16 align,
52 static s32 scan_r2l_b2t_one_dim(struct tcm *tcm, u32 num_slots,
60 static s32 update_candidate(struct tcm *tcm, u16 x0, u16 y0, u16 w, u16 h,
68 static void get_neighbor_stats(struct tcm *tcm, struct tcm_area *area,
[all …]
Domap_dmm_tiler.c41 static struct tcm *containers[TILFMT_NFORMATS];
166 static struct dmm_txn *dmm_txn_init(struct dmm *dmm, struct tcm *tcm) in dmm_txn_init() argument
192 engine->tcm = tcm; in dmm_txn_init()
224 pat->area.y0 += engine->tcm->y_offset; in dmm_txn_append()
225 pat->area.y1 += engine->tcm->y_offset; in dmm_txn_append()
229 .lut_id = engine->tcm->lut_id, in dmm_txn_append()
312 txn = dmm_txn_init(omap_dmm, area->tcm); in fill()
424 if (block->area.tcm) in tiler_release()
567 if (omap_dmm->tcm && omap_dmm->tcm[i]) in omap_dmm_remove()
568 omap_dmm->tcm[i]->deinit(omap_dmm->tcm[i]); in omap_dmm_remove()
[all …]
Domap_dmm_priv.h130 struct tcm *tcm; member
141 struct tcm *tcm; member
186 struct tcm **tcm; member
DMakefile19 tcm-sita.o
/linux-4.4.14/net/sched/
Dsch_api.c1113 struct tcmsg *tcm = nlmsg_data(n); in tc_get_qdisc() local
1125 err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL); in tc_get_qdisc()
1129 dev = __dev_get_by_index(net, tcm->tcm_ifindex); in tc_get_qdisc()
1133 clid = tcm->tcm_parent; in tc_get_qdisc()
1150 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) in tc_get_qdisc()
1153 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_get_qdisc()
1182 struct tcmsg *tcm; in tc_modify_qdisc() local
1194 err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL); in tc_modify_qdisc()
1198 tcm = nlmsg_data(n); in tc_modify_qdisc()
1199 clid = tcm->tcm_parent; in tc_modify_qdisc()
[all …]
Dcls_api.c357 struct tcmsg *tcm; in tcf_fill_node() local
361 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tcf_fill_node()
364 tcm = nlmsg_data(nlh); in tcf_fill_node()
365 tcm->tcm_family = AF_UNSPEC; in tcf_fill_node()
366 tcm->tcm__pad1 = 0; in tcf_fill_node()
367 tcm->tcm__pad2 = 0; in tcf_fill_node()
368 tcm->tcm_ifindex = qdisc_dev(tp->q)->ifindex; in tcf_fill_node()
369 tcm->tcm_parent = tp->classid; in tcf_fill_node()
370 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node()
373 tcm->tcm_handle = fh; in tcf_fill_node()
[all …]
Dsch_mq.c135 struct tcmsg *tcm) in mq_select_queue() argument
137 unsigned int ntx = TC_H_MIN(tcm->tcm_parent); in mq_select_queue()
186 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class() argument
190 tcm->tcm_parent = TC_H_ROOT; in mq_dump_class()
191 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class()
192 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in mq_dump_class()
Dsch_mqprio.c289 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() argument
294 tcm->tcm_parent = TC_H_ROOT; in mqprio_dump_class()
295 tcm->tcm_info = 0; in mqprio_dump_class()
301 tcm->tcm_parent = 0; in mqprio_dump_class()
308 tcm->tcm_parent = in mqprio_dump_class()
314 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in mqprio_dump_class()
316 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
Dsch_drr.c250 struct sk_buff *skb, struct tcmsg *tcm) in drr_dump_class() argument
255 tcm->tcm_parent = TC_H_ROOT; in drr_dump_class()
256 tcm->tcm_handle = cl->common.classid; in drr_dump_class()
257 tcm->tcm_info = cl->qdisc->handle; in drr_dump_class()
Dsch_multiq.c343 struct sk_buff *skb, struct tcmsg *tcm) in multiq_dump_class() argument
347 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class()
348 tcm->tcm_info = q->queues[cl - 1]->handle; in multiq_dump_class()
Dsch_prio.c306 struct tcmsg *tcm) in prio_dump_class() argument
310 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class()
311 tcm->tcm_info = q->queues[cl-1]->handle; in prio_dump_class()
Dsch_red.c300 struct sk_buff *skb, struct tcmsg *tcm) in red_dump_class() argument
304 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
305 tcm->tcm_info = q->qdisc->handle; in red_dump_class()
Dsch_atm.c587 struct sk_buff *skb, struct tcmsg *tcm) in atm_tc_dump_class() argument
594 sch, p, flow, skb, tcm); in atm_tc_dump_class()
597 tcm->tcm_handle = flow->classid; in atm_tc_dump_class()
598 tcm->tcm_info = flow->q->handle; in atm_tc_dump_class()
Dsch_dsmark.c417 struct sk_buff *skb, struct tcmsg *tcm) in dsmark_dump_class() argument
427 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
428 tcm->tcm_info = p->q->handle; in dsmark_dump_class()
Dsch_tbf.c490 struct sk_buff *skb, struct tcmsg *tcm) in tbf_dump_class() argument
494 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
495 tcm->tcm_info = q->qdisc->handle; in tbf_dump_class()
Dsch_qfq.c633 struct sk_buff *skb, struct tcmsg *tcm) in qfq_dump_class() argument
638 tcm->tcm_parent = TC_H_ROOT; in qfq_dump_class()
639 tcm->tcm_handle = cl->common.classid; in qfq_dump_class()
640 tcm->tcm_info = cl->qdisc->handle; in qfq_dump_class()
Dsch_netem.c1080 struct sk_buff *skb, struct tcmsg *tcm) in netem_dump_class() argument
1087 tcm->tcm_handle |= TC_H_MIN(1); in netem_dump_class()
1088 tcm->tcm_info = q->qdisc->handle; in netem_dump_class()
Dsch_fq_codel.c550 struct sk_buff *skb, struct tcmsg *tcm) in fq_codel_dump_class() argument
552 tcm->tcm_handle |= TC_H_MIN(cl); in fq_codel_dump_class()
Dsch_cbq.c1566 struct sk_buff *skb, struct tcmsg *tcm) in cbq_dump_class() argument
1572 tcm->tcm_parent = cl->tparent->common.classid; in cbq_dump_class()
1574 tcm->tcm_parent = TC_H_ROOT; in cbq_dump_class()
1575 tcm->tcm_handle = cl->common.classid; in cbq_dump_class()
1576 tcm->tcm_info = cl->q->handle; in cbq_dump_class()
Dsch_htb.c1095 struct sk_buff *skb, struct tcmsg *tcm) in htb_dump_class() argument
1104 tcm->tcm_parent = cl->parent ? cl->parent->common.classid : TC_H_ROOT; in htb_dump_class()
1105 tcm->tcm_handle = cl->common.classid; in htb_dump_class()
1107 tcm->tcm_info = cl->un.leaf.q->handle; in htb_dump_class()
Dsch_hfsc.c1340 struct tcmsg *tcm) in hfsc_dump_class() argument
1345 tcm->tcm_parent = cl->cl_parent ? cl->cl_parent->cl_common.classid : in hfsc_dump_class()
1347 tcm->tcm_handle = cl->cl_common.classid; in hfsc_dump_class()
1349 tcm->tcm_info = cl->qdisc->handle; in hfsc_dump_class()
Dsch_sfq.c832 struct sk_buff *skb, struct tcmsg *tcm) in sfq_dump_class() argument
834 tcm->tcm_handle |= TC_H_MIN(cl); in sfq_dump_class()
Dsch_sfb.c597 struct sk_buff *skb, struct tcmsg *tcm) in sfb_dump_class() argument
/linux-4.4.14/arch/arm/include/asm/
Dtcm.h20 #define __tcmdata __section(.tcm.data)
22 #define __tcmconst __section(.tcm.rodata)
24 #define __tcmfunc __attribute__((long_call)) __section(.tcm.text) noinline
26 #define __tcmlocalfunc __section(.tcm.text)
/linux-4.4.14/arch/metag/kernel/
Dprocess.c417 struct tcm_allocation *tcm; in __metag_elf_map() local
420 tcm = kmalloc(sizeof(*tcm), GFP_KERNEL); in __metag_elf_map()
421 if (!tcm) in __metag_elf_map()
426 kfree(tcm); in __metag_elf_map()
430 tcm->tag = tcm_tag; in __metag_elf_map()
431 tcm->addr = tcm_addr; in __metag_elf_map()
432 tcm->size = raw_size; in __metag_elf_map()
434 list_add(&tcm->list, &current->mm->context.tcm); in __metag_elf_map()
DMakefile39 obj-$(CONFIG_METAG_USER_TCM) += tcm.o
/linux-4.4.14/arch/arm/kernel/
Dvmlinux.lds.S297 *(.tcm.text)
298 *(.tcm.rodata)
318 *(.tcm.data)
DMakefile60 obj-$(CONFIG_HAVE_TCM) += tcm.o
/linux-4.4.14/arch/metag/include/asm/
Dmmu_context.h29 INIT_LIST_HEAD(&mm->context.tcm); in init_new_context()
43 list_for_each_entry_safe(pos, n, &mm->context.tcm, list) { in destroy_context()
Dmmu.h16 struct list_head tcm; member
/linux-4.4.14/Documentation/arm/
Dtcm.txt62 in <asm/tcm.h>. Using this interface it is possible to:
78 #include <asm/tcm.h>
95 .section ".tcm.text" or .section ".tcm.data"
100 #include <asm/tcm.h>
D00-INDEX47 tcm.txt
/linux-4.4.14/arch/blackfin/mach-bf518/boards/
DMakefile6 obj-$(CONFIG_BFIN518F_TCM) += tcm-bf518.o
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dpcie.c261 void __iomem *tcm; member
332 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm8()
341 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm16()
351 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm16()
379 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm32()
389 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm32()
398 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_read_ram32()
408 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_write_ram32()
418 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_copy_mem_todev()
459 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_copy_dev_tomem()
[all …]
/linux-4.4.14/Documentation/target/
Dtcmu-design.txt189 tcm-user/<hba_num>/<device_name>/<subtype>/<path>
191 where "tcm-user" is common for all TCMU-backed UIO devices. <hba_num>
286 if (strncmp(buf, "tcm-user", 8))