| /linux/drivers/gpu/drm/omapdrm/ |
| 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 91 struct tcm *sita_init(u16 width, u16 height); 104 static inline void tcm_deinit(struct tcm *tcm) in tcm_deinit() argument 106 if (tcm) in tcm_deinit() [all …]
|
| H A D | tcm-sita.c | 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 180 spin_lock(&(tcm->lock)); in sita_reserve_2d() [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() [all...] |
| H A D | omap_dmm_priv.h | 122 struct tcm *tcm; member 133 struct tcm *tcm; member 179 struct tcm **tcm; member
|
| H A D | Makefile | 18 tcm-sita.o
|
| /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() 114 struct tb_cm *tcm = tb_priv(sw->tb); in tb_add_dp_resources() local 131 list_add(&port->list, &tcm->dp_resources); in tb_add_dp_resources() 133 list_add_tail(&port->list, &tcm->dp_resources); in tb_add_dp_resources() 141 struct tb_cm *tcm = tb_priv(sw->tb); in tb_remove_dp_resources() local 150 list_for_each_entry_safe(port, tmp, &tcm->dp_resources, list) { in tb_remove_dp_resources() 160 struct tb_cm *tcm = tb_priv(tb); in tb_discover_dp_resource() local 163 list_for_each_entry(p, &tcm->dp_resources, list) { in tb_discover_dp_resource() 170 list_add_tail(&port->list, &tcm in tb_discover_dp_resource() 175 struct tb_cm *tcm = tb_priv(tb); tb_discover_dp_resources() local 187 struct tb_cm *tcm = tb_priv(sw->tb); tb_enable_clx() local 496 struct tb_cm *tcm = tb_priv(tb); tb_find_tunnel() local 615 struct tb_cm *tcm = tb_priv(tb); tb_consumed_dp_bandwidth() local 912 struct tb_cm *tcm = tb_priv(tb); tb_tunnel_usb3() local 1293 struct tb_cm *tcm = tb_priv(port->sw->tb); tb_scan_port() local 1519 struct tb_cm *tcm = tb_priv(tb); tb_recalc_estimated_bandwidth() local 1582 tb_init_bandwidth_groups(struct tb_cm * tcm) tb_init_bandwidth_groups() argument 1609 tb_find_free_bandwidth_group(struct tb_cm * tcm) tb_find_free_bandwidth_group() argument 1624 tb_attach_bandwidth_group(struct tb_cm * tcm,struct tb_port * in,struct tb_port * out) tb_attach_bandwidth_group() argument 1660 tb_discover_bandwidth_group(struct tb_cm * tcm,struct tb_port * in,struct tb_port * out) tb_discover_bandwidth_group() argument 1698 struct tb_cm *tcm = tb_priv(tb); tb_discover_tunnels() local 1779 struct tb_cm *tcm = tb_priv(tb); tb_free_invalid_tunnels() local 1868 struct tb_cm *tcm = tb_priv(tb); tb_find_dp_out() local 1987 struct tb_cm *tcm = tb_priv(tb); tb_tunnel_one_dp() local 2075 struct tb_cm *tcm = tb_priv(tb); tb_tunnel_dp() local 2221 struct tb_cm *tcm = tb_priv(tb); tb_dp_resource_available() local 2243 struct tb_cm *tcm = tb_priv(tb); tb_disconnect_and_release_dp() local 2288 struct tb_cm *tcm = tb_priv(tb); tb_tunnel_pci() local 2333 struct tb_cm *tcm = tb_priv(tb); tb_approve_xdomain_paths() local 2382 struct tb_cm *tcm = tb_priv(tb); __tb_disconnect_xdomain_paths() local 2435 struct tb_cm *tcm = tb_priv(tb); tb_handle_hotplug() local 2752 struct tb_cm *tcm = tb_priv(tb); tb_handle_dp_bandwidth_request() local 2953 struct tb_cm *tcm = tb_priv(tb); tb_stop() local 2998 struct tb_cm *tcm = tb_priv(tb); tb_deinit() local 3029 struct tb_cm *tcm = tb_priv(tb); tb_start() local 3111 struct tb_cm *tcm = tb_priv(tb); tb_suspend_noirq() local 3175 struct tb_cm *tcm = tb_priv(tb); tb_resume_noirq() local 3237 struct tb_cm *tcm = tb_priv(tb); tb_freeze_noirq() local 3245 struct tb_cm *tcm = tb_priv(tb); tb_thaw_noirq() local 3266 struct tb_cm *tcm = tb_priv(tb); tb_runtime_suspend() local 3284 struct tb_cm *tcm = container_of(work, struct tb_cm, remove_work.work); tb_remove_work() local 3297 struct tb_cm *tcm = tb_priv(tb); tb_runtime_resume() local 3408 struct tb_cm *tcm; tb_probe() local [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | utils.c | 814 low_latency = mvm->tcm.result.low_latency[mvmvif->id]; in iwl_mvm_tcm_iter() 816 if (!mvm->tcm.result.change[mvmvif->id] && in iwl_mvm_tcm_iter() 854 if (mvm->tcm.data[mvmvif->id].opened_rx_ba_sessions) in iwl_mvm_tcm_uapsd_nonagg_detected_wk() 885 if (mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected) in iwl_mvm_uapsd_agg_disconnect() 888 mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected = true; in iwl_mvm_uapsd_agg_disconnect() 899 u64 bytes = mvm->tcm.data[mac].uapsd_nonagg_detect.rx_bytes; in iwl_mvm_check_uapsd_agg_expected_tpt() 904 rate = ewma_rate_read(&mvm->tcm.data[mac].uapsd_nonagg_detect.rate); in iwl_mvm_check_uapsd_agg_expected_tpt() 906 if (!rate || mvm->tcm.data[mac].opened_rx_ba_sessions || in iwl_mvm_check_uapsd_agg_expected_tpt() 907 mvm->tcm.data[mac].uapsd_nonagg_detect.detected) in iwl_mvm_check_uapsd_agg_expected_tpt() 954 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm in iwl_mvm_calc_tcm_stats() [all...] |
| H A D | rx.c | 226 if (time_after(jiffies, mvm->tcm.ts + MVM_TCM_PERIOD)) in iwl_mvm_rx_handle_tcm() 227 schedule_delayed_work(&mvm->tcm.work, 0); in iwl_mvm_rx_handle_tcm() 228 mdata = &mvm->tcm.data[mac]; in iwl_mvm_rx_handle_tcm() 451 if (!mvm->tcm.paused && len >= sizeof(*hdr) && in iwl_mvm_rx_rx_mpdu() 742 spin_lock(&mvm->tcm.lock); in iwl_mvm_update_tcm_from_stats() 744 struct iwl_mvm_tcm_mac *mdata = &mvm->tcm.data[i]; in iwl_mvm_update_tcm_from_stats() 757 spin_unlock(&mvm->tcm.lock); in iwl_mvm_update_tcm_from_stats()
|
| /linux/net/sched/ |
| H A D | sch_api.c | 975 struct tcmsg *tcm; in tc_fill_qdisc() 984 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc() 987 tcm = nlmsg_data(nlh); in tc_fill_qdisc() 988 tcm->tcm_family = AF_UNSPEC; in tc_fill_qdisc() 989 tcm->tcm__pad1 = 0; in tc_fill_qdisc() 990 tcm->tcm__pad2 = 0; in tc_fill_qdisc() 991 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_qdisc() 992 tcm->tcm_parent = clid; in tc_fill_qdisc() 993 tcm->tcm_handle = q->handle; in tc_fill_qdisc() 994 tcm in tc_fill_qdisc() 921 struct tcmsg *tcm; tc_fill_qdisc() local 1000 tc_qdisc_dump_ignore(struct Qdisc * q,bool dump_invisible,const struct tcmsg * tcm) tc_qdisc_dump_ignore() argument 1501 __tc_get_qdisc(struct sk_buff * skb,struct nlmsghdr * n,struct netlink_ext_ack * extack,struct net_device * dev,struct nlattr * tca[TCA_MAX+1],struct tcmsg * tcm) __tc_get_qdisc() argument 1571 struct tcmsg *tcm = nlmsg_data(n); tc_get_qdisc() local 1615 __tc_modify_qdisc(struct sk_buff * skb,struct nlmsghdr * n,struct netlink_ext_ack * extack,struct net_device * dev,struct nlattr * tca[TCA_MAX+1],struct tcmsg * tcm) __tc_modify_qdisc() argument 1831 struct tcmsg *tcm; tc_modify_qdisc() local 1860 const struct tcmsg *tcm; tc_dump_qdisc_root() local 1920 const struct tcmsg *tcm; tc_dump_qdisc() local 1983 struct tcmsg *tcm; tc_fill_tclass() local 2204 __tc_ctl_tclass(struct sk_buff * skb,struct nlmsghdr * n,struct netlink_ext_ack * extack,struct net_device * dev,struct nlattr * tca[TCA_MAX+1],struct tcmsg * tcm) __tc_ctl_tclass() argument 2334 struct tcmsg *tcm = nlmsg_data(n); tc_ctl_tclass() local 2372 tc_dump_tclass_qdisc(struct Qdisc * q,struct sk_buff * skb,struct tcmsg * tcm,struct netlink_callback * cb,int * t_p,int s_t) tc_dump_tclass_qdisc() argument 2401 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) tc_dump_tclass_root() argument 2432 __tc_dump_tclass(struct sk_buff * skb,struct netlink_callback * cb,struct tcmsg * tcm,struct net_device * dev) __tc_dump_tclass() argument 2458 struct tcmsg *tcm = nlmsg_data(cb->nlh); tc_dump_tclass() local [all...] |
| H A D | cls_api.c | 2072 struct tcmsg *tcm; in tcf_fill_node() local 2077 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tcf_fill_node() 2080 tcm = nlmsg_data(nlh); in tcf_fill_node() 2081 tcm->tcm_family = AF_UNSPEC; in tcf_fill_node() 2082 tcm->tcm__pad1 = 0; in tcf_fill_node() 2083 tcm->tcm__pad2 = 0; in tcf_fill_node() 2085 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tcf_fill_node() 2086 tcm->tcm_parent = parent; in tcf_fill_node() 2088 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK; in tcf_fill_node() 2089 tcm in tcf_fill_node() 2819 struct tcmsg *tcm = nlmsg_data(cb->nlh); tcf_chain_dump() local 2887 struct tcmsg *tcm = nlmsg_data(cb->nlh); tc_dump_tfilter() local 2994 struct tcmsg *tcm; tc_chain_fill_node() local 3287 struct tcmsg *tcm = nlmsg_data(cb->nlh); tc_dump_chain() local [all...] |
| H A D | sch_mq.c | 203 struct tcmsg *tcm) in mq_graft() 205 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mq_graft() 254 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class_stats() 258 tcm->tcm_parent = TC_H_ROOT; in mq_dump_class_stats() 259 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class_stats() 260 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mq_dump_class_stats() 190 mq_select_queue(struct Qdisc * sch,struct tcmsg * tcm) mq_select_queue() argument 241 mq_dump_class(struct Qdisc * sch,unsigned long cl,struct sk_buff * skb,struct tcmsg * tcm) mq_dump_class() argument
|
| H A D | sch_mqprio.c | 654 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() argument 661 tcm->tcm_parent = (tc < 0) ? 0 : in mqprio_dump_class() 664 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mqprio_dump_class() 666 tcm->tcm_parent = TC_H_ROOT; in mqprio_dump_class() 667 tcm->tcm_info = 0; in mqprio_dump_class() 669 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class() 753 struct tcmsg *tcm) in mqprio_select_queue() argument 755 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
|
| H A D | sch_drr.c | 241 struct sk_buff *skb, struct tcmsg *tcm) in drr_dump_class() argument 246 tcm->tcm_parent = TC_H_ROOT; in drr_dump_class() 247 tcm->tcm_handle = cl->common.classid; in drr_dump_class() 248 tcm->tcm_info = cl->qdisc->handle; in drr_dump_class()
|
| H A D | sch_multiq.c | 324 struct sk_buff *skb, struct tcmsg *tcm) in multiq_dump_class() argument 328 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class() 329 tcm->tcm_info = q->queues[cl - 1]->handle; in multiq_dump_class()
|
| H A D | sch_prio.c | 346 struct tcmsg *tcm) in prio_dump_class() argument 350 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class() 351 tcm->tcm_info = q->queues[cl-1]->handle; in prio_dump_class()
|
| H A D | sch_skbprio.c | 243 struct sk_buff *skb, struct tcmsg *tcm) in skbprio_dump_class() argument 245 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
|
| H A D | sch_cbs.c | 493 struct sk_buff *skb, struct tcmsg *tcm) in cbs_dump_class() argument 500 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class() 501 tcm->tcm_info = q->qdisc->handle; in cbs_dump_class()
|
| H A D | sch_tbf.c | 558 struct sk_buff *skb, struct tcmsg *tcm) in tbf_dump_class() 562 tcm->tcm_handle |= TC_H_MIN(1); in tbf_graft() 563 tcm->tcm_info = q->qdisc->handle; in tbf_graft() 552 tbf_dump_class(struct Qdisc * sch,unsigned long cl,struct sk_buff * skb,struct tcmsg * tcm) tbf_dump_class() argument
|
| H A D | sch_ets.c | 303 struct sk_buff *skb, struct tcmsg *tcm) in ets_class_dump() argument 309 tcm->tcm_parent = TC_H_ROOT; in ets_class_dump() 310 tcm->tcm_handle = ets_class_id(sch, cl); in ets_class_dump() 311 tcm->tcm_info = cl->qdisc->handle; in ets_class_dump()
|
| /linux/arch/csky/kernel/ |
| H A D | vmlinux.lds.S | 68 *(.tcm.text) 69 *(.tcm.rodata) 71 *(.tcm.data) 90 *(.tcm.data)
|
| /linux/arch/arm/include/asm/ |
| H A D | vmlinux.lds.h | 163 *(.tcm.text) \ 164 *(.tcm.rodata) \ 173 *(.tcm.data) \
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | pcie.c | 341 void __iomem *tcm; member 500 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm8() 509 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm16() 519 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm16() 547 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm32() 557 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm32() 566 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_read_ram32() 576 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_write_ram32() 586 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_copy_dev_tomem() 1237 memcpy_fromio(&ringinfo, devinfo->tcm in brcmf_pcie_init_ringbuffers() [all...] |
| /linux/Documentation/arch/arm/ |
| H A D | tcm.rst | 64 in <asm/tcm.h>. Using this interface it is possible to: 80 #include <asm/tcm.h> 100 .section ".tcm.text" or .section ".tcm.data" 106 #include <asm/tcm.h>
|
| /linux/Documentation/ABI/testing/ |
| H A D | configfs-usb-gadget-tcm | 1 What: /config/usb-gadget/gadget/functions/tcm.name
|
| /linux/arch/csky/mm/ |
| H A D | Makefile | 19 obj-$(CONFIG_HAVE_TCM) += tcm.o
|