/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
D | agg-tx.c | 62 const u8 *da, u16 tid, in ieee80211_send_addba_request() argument 100 capab |= (u16)(tid << 2); /* bit 5:2 TID number */ in ieee80211_send_addba_request() 112 void mac80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) in mac80211_send_bar() argument 132 bar_control |= (u16)(tid << IEEE80211_BAR_CTRL_TID_INFO_SHIFT); in mac80211_send_bar() 138 ieee80211_tx_skb_tid(sdata, skb, tid); in mac80211_send_bar() 141 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument 146 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx() 161 ieee80211_stop_queue_agg(struct ieee80211_sub_if_data *sdata, int tid) in __acquires() 163 int queue = sdata->vif.hw_queue[ieee80211_ac_from_tid(tid)]; in __acquires() 176 ieee80211_wake_queue_agg(struct ieee80211_sub_if_data *sdata, int tid) in __releases() [all …]
|
D | agg-rx.c | 58 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in ___ieee80211_stop_rx_ba_session() argument 66 .tid = tid, in ___ieee80211_stop_rx_ba_session() 74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in ___ieee80211_stop_rx_ba_session() 77 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid)) in ___ieee80211_stop_rx_ba_session() 80 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); in ___ieee80211_stop_rx_ba_session() 81 __clear_bit(tid, sta->ampdu_mlme.agg_session_valid); in ___ieee80211_stop_rx_ba_session() 85 sta->sta.addr, tid, in ___ieee80211_stop_rx_ba_session() 92 sta->sta.addr, tid); in ___ieee80211_stop_rx_ba_session() 97 tid, WLAN_BACK_RECIPIENT, reason); in ___ieee80211_stop_rx_ba_session() 117 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in __ieee80211_stop_rx_ba_session() argument [all …]
|
D | ht.c | 339 int tid; in ieee80211_ba_session_work() local 345 for (tid = 0; tid < IEEE80211_NUM_TIDS; tid++) { in ieee80211_ba_session_work() 346 if (test_and_clear_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired)) in ieee80211_ba_session_work() 348 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work() 351 if (test_and_clear_bit(tid, in ieee80211_ba_session_work() 354 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work() 358 test_and_clear_bit(tid, in ieee80211_ba_session_work() 360 ___ieee80211_start_rx_ba_session(sta, 0, 0, 0, 1, tid, in ieee80211_ba_session_work() 364 if (test_and_clear_bit(tid + IEEE80211_NUM_TIDS, in ieee80211_ba_session_work() 367 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work() [all …]
|
D | key.c | 1100 int tid, struct ieee80211_key_seq *seq) in mac80211_get_key_rx_seq() argument 1109 if (WARN_ON(tid < 0 || tid >= IEEE80211_NUM_TIDS)) in mac80211_get_key_rx_seq() 1111 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in mac80211_get_key_rx_seq() 1112 seq->tkip.iv16 = key->u.tkip.rx[tid].iv16; in mac80211_get_key_rx_seq() 1116 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in mac80211_get_key_rx_seq() 1118 if (tid < 0) in mac80211_get_key_rx_seq() 1121 pn = key->u.ccmp.rx_pn[tid]; in mac80211_get_key_rx_seq() 1126 if (WARN_ON(tid != 0)) in mac80211_get_key_rx_seq() 1133 if (WARN_ON(tid != 0)) in mac80211_get_key_rx_seq() 1140 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in mac80211_get_key_rx_seq() [all …]
|
D | michael.c | 30 u8 *da, *sa, tid; in michael_mic_hdr() local 35 tid = ieee80211_get_tid(hdr); in michael_mic_hdr() 37 tid = 0; in michael_mic_hdr() 50 michael_block(mctx, tid); in michael_mic_hdr()
|
D | trace.h | 93 __field(u16, tid) \ 100 __entry->tid = params->tid; \ 107 #define AMPDU_ACTION_PR_ARG STA_PR_ARG, __entry->tid, __entry->ssn, \ 1933 TP_PROTO(struct ieee80211_sta *sta, u16 tid), 1935 TP_ARGS(sta, tid), 1939 __field(u16, tid) 1944 __entry->tid = tid; 1949 STA_PR_ARG, __entry->tid 1954 TP_PROTO(struct ieee80211_sub_if_data *sdata, const u8 *ra, u16 tid), 1956 TP_ARGS(sdata, ra, tid), [all …]
|
D | wme.c | 59 static inline u8 ieee80211_fix_reserved_tid(u8 tid) in ieee80211_fix_reserved_tid() argument 61 switch (tid) { in ieee80211_fix_reserved_tid() 243 u8 tid = skb->priority & IEEE80211_QOS_CTL_TAG1D_MASK; in ieee80211_set_qos_hdr() local 262 sdata->noack_map & BIT(tid)) { in ieee80211_set_qos_hdr() 267 *p = flags | tid; in ieee80211_set_qos_hdr()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
D | mali_spinlock_reentrant.c | 47 void mali_spinlock_reentrant_wait(struct mali_spinlock_reentrant *spinlock, u32 tid) in mali_spinlock_reentrant_wait() argument 51 MALI_DEBUG_ASSERT(tid != 0); in mali_spinlock_reentrant_wait() 55 if (tid != spinlock->owner) { in mali_spinlock_reentrant_wait() 58 spinlock->owner = tid; in mali_spinlock_reentrant_wait() 66 void mali_spinlock_reentrant_signal(struct mali_spinlock_reentrant *spinlock, u32 tid) in mali_spinlock_reentrant_signal() argument 70 MALI_DEBUG_ASSERT(tid != 0 && tid == spinlock->owner); in mali_spinlock_reentrant_signal()
|
D | mali_spinlock_reentrant.h | 48 void mali_spinlock_reentrant_wait(struct mali_spinlock_reentrant *spinlock, u32 tid); 56 void mali_spinlock_reentrant_signal(struct mali_spinlock_reentrant *spinlock, u32 tid); 65 …INLINE mali_bool mali_spinlock_reentrant_is_held(struct mali_spinlock_reentrant *spinlock, u32 tid) in mali_spinlock_reentrant_is_held() argument 68 return (tid == spinlock->owner && 0 < spinlock->counter); in mali_spinlock_reentrant_is_held()
|
D | mali_timeline.c | 117 u32 tid = mali_osk_get_tid(); in mali_timeline_timer_callback() local 125 mali_spinlock_reentrant_wait(system->spinlock, tid); in mali_timeline_timer_callback() 128 mali_spinlock_reentrant_signal(system->spinlock, tid); in mali_timeline_timer_callback() 138 mali_spinlock_reentrant_signal(system->spinlock, tid); in mali_timeline_timer_callback() 148 mali_spinlock_reentrant_signal(system->spinlock, tid); in mali_timeline_timer_callback() 156 u32 tid = mali_osk_get_tid(); in mali_timeline_system_stop_timer() local 160 mali_spinlock_reentrant_wait(system->spinlock, tid); in mali_timeline_system_stop_timer() 162 mali_spinlock_reentrant_signal(system->spinlock, tid); in mali_timeline_system_stop_timer() 557 u32 tid = mali_osk_get_tid(); in mali_timeline_tracker_release() local 581 mali_spinlock_reentrant_wait(system->spinlock, tid); in mali_timeline_tracker_release() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
D | mali_spinlock_reentrant.c | 46 void mali_spinlock_reentrant_wait(struct mali_spinlock_reentrant *spinlock, u32 tid) in mali_spinlock_reentrant_wait() argument 50 MALI_DEBUG_ASSERT(0 != tid); in mali_spinlock_reentrant_wait() 54 if (tid != spinlock->owner) { in mali_spinlock_reentrant_wait() 57 spinlock->owner = tid; in mali_spinlock_reentrant_wait() 65 void mali_spinlock_reentrant_signal(struct mali_spinlock_reentrant *spinlock, u32 tid) in mali_spinlock_reentrant_signal() argument 69 MALI_DEBUG_ASSERT(0 != tid && tid == spinlock->owner); in mali_spinlock_reentrant_signal()
|
D | mali_timeline.c | 113 u32 tid = _mali_osk_get_tid(); in mali_timeline_timer_callback() local 121 mali_spinlock_reentrant_wait(system->spinlock, tid); in mali_timeline_timer_callback() 124 mali_spinlock_reentrant_signal(system->spinlock, tid); in mali_timeline_timer_callback() 134 mali_spinlock_reentrant_signal(system->spinlock, tid); in mali_timeline_timer_callback() 144 mali_spinlock_reentrant_signal(system->spinlock, tid); in mali_timeline_timer_callback() 152 u32 tid = _mali_osk_get_tid(); in mali_timeline_system_stop_timer() local 156 mali_spinlock_reentrant_wait(system->spinlock, tid); in mali_timeline_system_stop_timer() 158 mali_spinlock_reentrant_signal(system->spinlock, tid); in mali_timeline_system_stop_timer() 551 u32 tid = _mali_osk_get_tid(); in mali_timeline_tracker_release() local 575 mali_spinlock_reentrant_wait(system->spinlock, tid); in mali_timeline_tracker_release() [all …]
|
D | mali_spinlock_reentrant.h | 47 void mali_spinlock_reentrant_wait(struct mali_spinlock_reentrant *spinlock, u32 tid); 55 void mali_spinlock_reentrant_signal(struct mali_spinlock_reentrant *spinlock, u32 tid); 64 …INLINE mali_bool mali_spinlock_reentrant_is_held(struct mali_spinlock_reentrant *spinlock, u32 tid) in mali_spinlock_reentrant_is_held() argument 67 return (tid == spinlock->owner && 0 < spinlock->counter); in mali_spinlock_reentrant_is_held()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
D | hmac_tx_data.c | 113 hi_void hmac_tid_num_set(hi_u32 buf_prio, hi_u8 *tid) in hmac_tid_num_set() argument 117 *tid = WLAN_TIDNO_BEST_EFFORT; in hmac_tid_num_set() 120 *tid = WLAN_TIDNO_BACKGROUND; in hmac_tid_num_set() 123 *tid = WLAN_TIDNO_VIDEO; in hmac_tid_num_set() 126 *tid = WLAN_TIDNO_VOICE; in hmac_tid_num_set() 139 hi_u8 tid; in hmac_tx_classify_ipv4_data() local 159 tid = ip->tos >> WLAN_IP_PRI_SHIFT; in hmac_tx_classify_ipv4_data() 162 if (tid != 0) { in hmac_tx_classify_ipv4_data() 165 hmac_tx_traffic_classify(tx_ctl, ip, &tid); in hmac_tx_classify_ipv4_data() 171 tid = WLAN_DATA_VIP_TID; in hmac_tx_classify_ipv4_data() [all …]
|
D | hmac_blockack.c | 139 hi_u8 tid; in hmac_ba_update_rx_bitmap() local 146 tid = mac_get_tid_value((hi_u8 *)frame_hdr, is_4addr); in hmac_ba_update_rx_bitmap() 148 ba_rx_hdl = hmac_user->ast_tid_info[tid].ba_rx_info; in hmac_ba_update_rx_bitmap() 523 hi_u8 tid = mac_get_tid_value((hi_u8 *)frame_hdr, is_4addr); in hmac_ba_filter_serv() local 530 hmac_ba_rx_stru *ba_rx_hdl = hmac_user->ast_tid_info[tid].ba_rx_info; in hmac_ba_filter_serv() 683 hi_u32 rx_timeout = (hi_u32)aus_rx_timeout[wlan_wme_tid_to_ac(alarm_data->tid)]; in hmac_ba_send_reorder_timeout() 747 if ((alarm_data == HI_NULL) || (alarm_data->tid >= WLAN_TID_MAX_NUM)) { in hmac_ba_timeout_fn() 761 hi_u16 us_timeout = aus_rx_timeout[wlan_wme_tid_to_ac(alarm_data->tid)]; in hmac_ba_timeout_fn() 779 hi_void hmac_ba_reset_rx_handle(hmac_ba_rx_stru **rx_ba, hi_u8 tid) in hmac_ba_reset_rx_handle() argument 792 if (tid >= WLAN_TID_MAX_NUM) { in hmac_ba_reset_rx_handle() [all …]
|
D | hmac_mgmt_bss_comm.c | 163 …c_mgmt_encap_addba_req(hmac_vap_stru *hmac_vap, hi_u8 *puc_data, dmac_ba_tx_stru *tx_ba, hi_u8 tid) in hmac_mgmt_encap_addba_req() argument 230 us_ba_param |= (tid << 2); /* bit2 */ in hmac_mgmt_encap_addba_req() 269 …cap_addba_rsp(hmac_vap_stru *vap, hi_u8 *data, hmac_ba_rx_stru *addba_rsp, hi_u8 tid, hi_u8 status) in hmac_mgmt_encap_addba_rsp() argument 347 us_ba_param |= (tid << 2); /* BIT2 */ in hmac_mgmt_encap_addba_rsp() 379 hi_u8 tid = (hi_u8)action_args->arg1; in hmac_mgmt_encap_delba() local 463 puc_data[us_index++] |= (hi_u8)(tid << 4); /* 左移4位 */ in hmac_mgmt_encap_delba() 588 tx_ba_stru->alarm_data.tid = tidno; in hmac_mgmt_set_ba_tx_info() 715 hi_u8 tid, hi_u8 status) in hmac_mgmt_tx_addba_rsp() argument 738 tx_ctl->tid = tid; in hmac_mgmt_tx_addba_rsp() 741 …ame_len = hmac_mgmt_encap_addba_rsp(hmac_vap, oal_netbuf_data(addba_rsp), ba_rx_info, tid, status); in hmac_mgmt_tx_addba_rsp() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
D | mali_osk_misc.c | 72 u32 tid = current->pid; in _mali_osk_get_tid() local 76 if (0 == tid) { in _mali_osk_get_tid() 77 tid = -(1 + raw_smp_processor_id()); in _mali_osk_get_tid() 80 return tid; in _mali_osk_get_tid()
|
D | mali_linux_trace.h | 100 TP_PROTO(pid_t pid, pid_t tid, void *surface_id, unsigned int *counters), 102 TP_ARGS(pid, tid, surface_id, counters), 106 __field(pid_t, tid) 113 __entry->tid = tid;
|
D | mali_osk_locks.c | 24 static mali_bool add_lock_to_log_and_check(struct _mali_osk_lock_debug_s *lock, uint32_t tid); 25 static void remove_lock_from_log(struct _mali_osk_lock_debug_s *lock, uint32_t tid); 119 static mali_bool add_lock_to_log_and_check(struct _mali_osk_lock_debug_s *lock, uint32_t tid) in add_lock_to_log_and_check() argument 142 if (tid == l->owner && l->order >= highest_order_for_tid) { in add_lock_to_log_and_check() 180 static void remove_lock_from_log(struct _mali_osk_lock_debug_s *lock, uint32_t tid) in remove_lock_from_log() argument
|
D | mali_sync.c | 222 u32 tid = _mali_osk_get_tid(); in timeline_print_obj() local 225 mali_spinlock_reentrant_wait(mali_tl->spinlock, tid); in timeline_print_obj() 227 mali_spinlock_reentrant_wait(system->spinlock, tid); in timeline_print_obj() 229 mali_spinlock_reentrant_signal(system->spinlock, tid); in timeline_print_obj() 231 mali_spinlock_reentrant_signal(mali_tl->spinlock, tid); in timeline_print_obj() 278 u32 tid = _mali_osk_get_tid(); in timeline_value_str() local 281 mali_spinlock_reentrant_wait(mali_tl->spinlock, tid); in timeline_value_str() 283 mali_spinlock_reentrant_wait(system->spinlock, tid); in timeline_value_str() 285 mali_spinlock_reentrant_signal(system->spinlock, tid); in timeline_value_str() 287 mali_spinlock_reentrant_signal(mali_tl->spinlock, tid); in timeline_value_str()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
D | mali_osk_misc.c | 72 u32 tid = current->pid; in mali_osk_get_tid() local 76 if (tid == 0) { in mali_osk_get_tid() 77 tid = -(1 + raw_smp_processor_id()); in mali_osk_get_tid() 80 return tid; in mali_osk_get_tid()
|
D | mali_linux_trace.h | 83 TP_PROTO(pid_t pid, pid_t tid, void *surface_id, unsigned int *counters), 85 TP_ARGS(pid, tid, surface_id, counters), 87 TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, tid) __field(void *, surface_id) 90 TP_fast_assign(__entry->pid = pid; __entry->tid = tid; __entry->surface_id = surface_id;
|
D | mali_osk_locks.c | 24 static mali_bool add_lock_to_log_and_check(struct _mali_osk_lock_debug_s *lock, uint32_t tid); 25 static void remove_lock_from_log(struct _mali_osk_lock_debug_s *lock, uint32_t tid); 118 static mali_bool add_lock_to_log_and_check(struct _mali_osk_lock_debug_s *lock, uint32_t tid) in add_lock_to_log_and_check() argument 141 if (tid == l->owner && l->order >= highest_order_for_tid) { in add_lock_to_log_and_check() 178 static void remove_lock_from_log(struct _mali_osk_lock_debug_s *lock, uint32_t tid) in remove_lock_from_log() argument
|
D | mali_sync.c | 227 u32 tid = mali_osk_get_tid(); in timeline_print_obj() local 230 mali_spinlock_reentrant_wait(mali_tl->spinlock, tid); in timeline_print_obj() 232 mali_spinlock_reentrant_wait(system->spinlock, tid); in timeline_print_obj() 234 mali_spinlock_reentrant_signal(system->spinlock, tid); in timeline_print_obj() 236 mali_spinlock_reentrant_signal(mali_tl->spinlock, tid); in timeline_print_obj() 282 u32 tid = mali_osk_get_tid(); in timeline_value_str() local 285 mali_spinlock_reentrant_wait(mali_tl->spinlock, tid); in timeline_value_str() 287 mali_spinlock_reentrant_wait(system->spinlock, tid); in timeline_value_str() 289 mali_spinlock_reentrant_signal(system->spinlock, tid); in timeline_value_str() 291 mali_spinlock_reentrant_signal(mali_tl->spinlock, tid); in timeline_value_str()
|
/device/soc/bestechnic/bes2600/liteos_m/components/drivers/touch/ |
D | touch.c | 109 dev->tid = osThreadNew((osThreadFunc_t)touch_task, dev, &attr); in TouchOpen() 110 if (dev->tid == NULL) { in TouchOpen() 135 if (dev->tid) { in TouchClose() 136 osThreadTerminate(dev->tid); in TouchClose() 137 dev->tid = NULL; in TouchClose()
|