Searched refs:tcm (Results 1 - 25 of 46) sorted by relevance

12

/linux-master/drivers/gpu/drm/omapdrm/
H A Dtcm.h40 struct tcm;
51 struct tcm *tcm; /* parent */ member in struct:tcm_area
56 struct tcm { struct
67 s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u16 align,
70 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area);
71 s32 (*free)(struct tcm *tcm, struc
104 tcm_deinit(struct tcm *tcm) argument
131 tcm_reserve_2d(struct tcm *tcm, u16 width, u16 height, u16 align, s16 offset, u16 slot_bytes, struct tcm_area *area) argument
165 tcm_reserve_1d(struct tcm *tcm, u32 slots, struct tcm_area *area) argument
[all...]
H A Dtcm-sita.c18 #include "tcm.h"
154 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, argument
160 spin_lock(&(tcm->lock));
161 ret = r2l_b2t_1d(num_slots, &pos, tcm->bitmap, tcm->map_size);
163 area->p0.x = pos % tcm->width;
164 area->p0.y = pos / tcm->width;
165 area->p1.x = (pos + num_slots - 1) % tcm->width;
166 area->p1.y = (pos + num_slots - 1) / tcm
173 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u16 align, s16 offset, u16 slot_bytes, struct tcm_area *area) argument
195 sita_deinit(struct tcm *tcm) argument
200 sita_free(struct tcm *tcm, struct tcm_area *area) argument
222 struct tcm *tcm; local
[all...]
H A Domap_dmm_priv.h122 struct tcm *tcm; member in struct:dmm_txn
133 struct tcm *tcm; member in struct:refill_engine
179 struct tcm **tcm; member in struct:dmm
H A Domap_dmm_tiler.c35 static struct tcm *containers[TILFMT_NFORMATS];
305 static struct dmm_txn *dmm_txn_init(struct dmm *dmm, struct tcm *tcm) argument
331 engine->tcm = tcm;
363 pat->area.y0 += engine->tcm->y_offset;
364 pat->area.y1 += engine->tcm->y_offset;
368 .lut_id = engine->tcm->lut_id,
481 txn = dmm_txn_init(omap_dmm, area->tcm);
600 if (block->area.tcm)
[all...]
H A DMakefile18 tcm-sita.o
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dutils.c849 low_latency = mvm->tcm.result.low_latency[mvmvif->id];
851 if (!mvm->tcm.result.change[mvmvif->id] &&
891 if (mvm->tcm.data[mvmvif->id].opened_rx_ba_sessions)
922 if (mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected)
925 mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected = true;
936 u64 bytes = mvm->tcm.data[mac].uapsd_nonagg_detect.rx_bytes;
941 rate = ewma_rate_read(&mvm->tcm.data[mac].uapsd_nonagg_detect.rate);
943 if (!rate || mvm->tcm.data[mac].opened_rx_ba_sessions ||
944 mvm->tcm.data[mac].uapsd_nonagg_detect.detected)
991 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm
[all...]
H A Dcoex.c480 data->primary_load = mvm->tcm.result.load[mvmvif->id];
482 data->secondary_load = mvm->tcm.result.load[mvmvif->id];
498 data->primary_load = mvm->tcm.result.load[mvmvif->id];
500 data->secondary_load = mvm->tcm.result.load[mvmvif->id];
H A Drx.c226 if (time_after(jiffies, mvm->tcm.ts + MVM_TCM_PERIOD))
227 schedule_delayed_work(&mvm->tcm.work, 0);
228 mdata = &mvm->tcm.data[mac];
451 if (!mvm->tcm.paused && len >= sizeof(*hdr) &&
737 spin_lock(&mvm->tcm.lock);
739 struct iwl_mvm_tcm_mac *mdata = &mvm->tcm.data[i];
752 spin_unlock(&mvm->tcm.lock);
/linux-master/arch/csky/kernel/
H A Dvmlinux.lds.S68 *(.tcm.text)
69 *(.tcm.rodata)
71 *(.tcm.data)
90 *(.tcm.data)
/linux-master/drivers/thunderbolt/
H A Dtb.c66 static inline struct tb *tcm_to_tb(struct tb_cm *tcm) argument
68 return ((void *)tcm - sizeof(struct tb));
101 struct tb_cm *tcm = tb_priv(sw->tb); local
118 list_add(&port->list, &tcm->dp_resources);
120 list_add_tail(&port->list, &tcm->dp_resources);
128 struct tb_cm *tcm = tb_priv(sw->tb); local
137 list_for_each_entry_safe(port, tmp, &tcm->dp_resources, list) {
147 struct tb_cm *tcm = tb_priv(tb); local
150 list_for_each_entry(p, &tcm->dp_resources, list) {
157 list_add_tail(&port->list, &tcm
162 struct tb_cm *tcm = tb_priv(tb); local
174 struct tb_cm *tcm = tb_priv(sw->tb); local
450 struct tb_cm *tcm = tb_priv(tb); local
564 struct tb_cm *tcm = tb_priv(tb); local
857 struct tb_cm *tcm = tb_priv(tb); local
1227 struct tb_cm *tcm = tb_priv(port->sw->tb); local
1441 struct tb_cm *tcm = tb_priv(tb); local
1504 tb_init_bandwidth_groups(struct tb_cm *tcm) argument
1531 tb_find_free_bandwidth_group(struct tb_cm *tcm) argument
1546 tb_attach_bandwidth_group(struct tb_cm *tcm, struct tb_port *in, struct tb_port *out) argument
1582 tb_discover_bandwidth_group(struct tb_cm *tcm, struct tb_port *in, struct tb_port *out) argument
1620 struct tb_cm *tcm = tb_priv(tb); local
1701 struct tb_cm *tcm = tb_priv(tb); local
1790 struct tb_cm *tcm = tb_priv(tb); local
1834 struct tb_cm *tcm = tb_priv(tb); local
1943 struct tb_cm *tcm = tb_priv(tb); local
2057 struct tb_cm *tcm = tb_priv(tb); local
2079 struct tb_cm *tcm = tb_priv(tb); local
2124 struct tb_cm *tcm = tb_priv(tb); local
2169 struct tb_cm *tcm = tb_priv(tb); local
2218 struct tb_cm *tcm = tb_priv(tb); local
2271 struct tb_cm *tcm = tb_priv(tb); local
2578 struct tb_cm *tcm = tb_priv(tb); local
2753 struct tb_cm *tcm = tb_priv(tb); local
2775 struct tb_cm *tcm = tb_priv(tb); local
2806 struct tb_cm *tcm = tb_priv(tb); local
2886 struct tb_cm *tcm = tb_priv(tb); local
2931 struct tb_cm *tcm = tb_priv(tb); local
3013 struct tb_cm *tcm = tb_priv(tb); local
3021 struct tb_cm *tcm = tb_priv(tb); local
3042 struct tb_cm *tcm = tb_priv(tb); local
3054 struct tb_cm *tcm = container_of(work, struct tb_cm, remove_work.work); local
3067 struct tb_cm *tcm = tb_priv(tb); local
3176 struct tb_cm *tcm; local
[all...]
/linux-master/arch/csky/mm/
H A DMakefile19 obj-$(CONFIG_HAVE_TCM) += tcm.o
/linux-master/net/sched/
H A Dsch_api.c918 struct tcmsg *tcm; local
927 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags);
930 tcm = nlmsg_data(nlh);
931 tcm->tcm_family = AF_UNSPEC;
932 tcm->tcm__pad1 = 0;
933 tcm->tcm__pad2 = 0;
934 tcm->tcm_ifindex = qdisc_dev(q)->ifindex;
935 tcm->tcm_parent = clid;
936 tcm->tcm_handle = q->handle;
937 tcm
1506 struct tcmsg *tcm = nlmsg_data(n); local
1605 struct tcmsg *tcm; local
1914 struct tcmsg *tcm; local
2132 struct tcmsg *tcm = nlmsg_data(n); local
2277 tc_dump_tclass_qdisc(struct Qdisc *q, struct sk_buff *skb, struct tcmsg *tcm, struct netlink_callback *cb, int *t_p, int s_t) argument
2306 tc_dump_tclass_root(struct Qdisc *root, struct sk_buff *skb, struct tcmsg *tcm, struct netlink_callback *cb, int *t_p, int s_t, bool recur) argument
2339 struct tcmsg *tcm = nlmsg_data(cb->nlh); local
[all...]
H A Dsch_mq.c170 struct tcmsg *tcm)
172 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent));
218 struct sk_buff *skb, struct tcmsg *tcm)
222 tcm->tcm_parent = TC_H_ROOT;
223 tcm->tcm_handle |= TC_H_MIN(cl);
224 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle;
169 mq_select_queue(struct Qdisc *sch, struct tcmsg *tcm) argument
217 mq_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dcls_api.c2021 struct tcmsg *tcm; local
2025 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags);
2028 tcm = nlmsg_data(nlh);
2029 tcm->tcm_family = AF_UNSPEC;
2030 tcm->tcm__pad1 = 0;
2031 tcm->tcm__pad2 = 0;
2033 tcm->tcm_ifindex = qdisc_dev(q)->ifindex;
2034 tcm->tcm_parent = parent;
2036 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK;
2037 tcm
2710 struct tcmsg *tcm = nlmsg_data(cb->nlh); local
2778 struct tcmsg *tcm = nlmsg_data(cb->nlh); local
2885 struct tcmsg *tcm; local
3177 struct tcmsg *tcm = nlmsg_data(cb->nlh); local
[all...]
H A Dsch_mqprio.c644 struct sk_buff *skb, struct tcmsg *tcm)
651 tcm->tcm_parent = (tc < 0) ? 0 :
654 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle;
656 tcm->tcm_parent = TC_H_ROOT;
657 tcm->tcm_info = 0;
659 tcm->tcm_handle |= TC_H_MIN(cl);
751 struct tcmsg *tcm)
753 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent));
643 mqprio_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
750 mqprio_select_queue(struct Qdisc *sch, struct tcmsg *tcm) argument
H A Dsch_skbprio.c244 struct sk_buff *skb, struct tcmsg *tcm)
246 tcm->tcm_handle |= TC_H_MIN(cl);
243 skbprio_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_prio.c346 struct tcmsg *tcm)
350 tcm->tcm_handle |= TC_H_MIN(cl);
351 tcm->tcm_info = q->queues[cl-1]->handle;
345 prio_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_multiq.c324 struct sk_buff *skb, struct tcmsg *tcm)
328 tcm->tcm_handle |= TC_H_MIN(cl);
329 tcm->tcm_info = q->queues[cl - 1]->handle;
323 multiq_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_drr.c236 struct sk_buff *skb, struct tcmsg *tcm)
241 tcm->tcm_parent = TC_H_ROOT;
242 tcm->tcm_handle = cl->common.classid;
243 tcm->tcm_info = cl->qdisc->handle;
235 drr_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_cbs.c479 struct sk_buff *skb, struct tcmsg *tcm)
486 tcm->tcm_handle |= TC_H_MIN(1);
487 tcm->tcm_info = q->qdisc->handle;
478 cbs_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_tbf.c546 struct sk_buff *skb, struct tcmsg *tcm)
550 tcm->tcm_handle |= TC_H_MIN(1);
551 tcm->tcm_info = q->qdisc->handle;
545 tbf_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
H A Dsch_red.c472 struct sk_buff *skb, struct tcmsg *tcm)
476 tcm->tcm_handle |= TC_H_MIN(1);
477 tcm->tcm_info = q->qdisc->handle;
471 red_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument
/linux-master/arch/arm/include/asm/
H A Dvmlinux.lds.h157 *(.tcm.text) \
158 *(.tcm.rodata) \
167 *(.tcm.data) \
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dpcie.c342 void __iomem *tcm; member in struct:brcmf_pciedev_info
500 void __iomem *address = devinfo->tcm + mem_offset;
509 void __iomem *address = devinfo->tcm + mem_offset;
519 void __iomem *address = devinfo->tcm + mem_offset;
547 void __iomem *address = devinfo->tcm + mem_offset;
557 void __iomem *address = devinfo->tcm + mem_offset;
566 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset;
576 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset;
586 void __iomem *address = devinfo->tcm + mem_offset;
1235 memcpy_fromio(&ringinfo, devinfo->tcm
[all...]
/linux-master/drivers/media/platform/mediatek/vpu/
H A Dmtk_vpu.c36 /* the offset to get data tcm address */
100 * @tcm: the register for VPU Tightly-Coupled Memory
105 void __iomem *tcm; member in struct:vpu_regs
468 return (__force void *)(dtcm_dmem_addr + vpu->reg.tcm +
545 dest = (__force void *)vpu->reg.tcm;
769 vpu->recv_buf = vpu->reg.tcm + VPU_DTCM_OFFSET;
825 vpu->reg.tcm = devm_platform_ioremap_resource_byname(pdev, "tcm");
826 if (IS_ERR((__force void *)vpu->reg.tcm))
827 return PTR_ERR((__force void *)vpu->reg.tcm);
[all...]

Completed in 317 milliseconds

12