/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb.c | 65 u8 priority; in i40e_parse_ieee_etscfg_tlv() local 95 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> in i40e_parse_ieee_etscfg_tlv() 97 etscfg->prioritytable[i * 2] = priority; in i40e_parse_ieee_etscfg_tlv() 98 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> in i40e_parse_ieee_etscfg_tlv() 100 etscfg->prioritytable[i * 2 + 1] = priority; in i40e_parse_ieee_etscfg_tlv() 135 u8 priority; in i40e_parse_ieee_etsrec_tlv() local 150 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> in i40e_parse_ieee_etsrec_tlv() 152 dcbcfg->etsrec.prioritytable[i*2] = priority; in i40e_parse_ieee_etsrec_tlv() 153 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> in i40e_parse_ieee_etsrec_tlv() 155 dcbcfg->etsrec.prioritytable[i*2 + 1] = priority; in i40e_parse_ieee_etsrec_tlv() [all …]
|
D | i40e_dcb_nl.c | 189 prio = dcbxcfg->app[i].priority; in i40e_dcbnl_set_all() 196 sapp.priority = prio; in i40e_dcbnl_set_all() 224 sapp.priority = app->priority; in i40e_dcbnl_vsi_del_app() 245 app->protocolid, app->priority); in i40e_dcbnl_del_app() 265 app->priority == cfg->app[i].priority) in i40e_dcbnl_find_app()
|
/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 312 skb->priority, TX_DIR, true)) { in rtllib_tx_query_agg_cap() 524 skb->priority, TX_DIR, true)) in rtllib_query_seqnum() 535 switch (skb->priority) { in wme_downgrade_ac() 538 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac() 542 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac() 546 skb->priority = 1; /* BE -> BK */ in wme_downgrade_ac() 659 skb->priority = rtllib_classify(skb, IsAmsdu); in rtllib_xmit_inter() 735 while (unlikely(ieee->wmm_acm & (0x01 << skb->priority))) { in rtllib_xmit_inter() 737 skb->priority); in rtllib_xmit_inter() 741 skb->priority); in rtllib_xmit_inter() [all …]
|
/drivers/soc/fsl/qe/ |
D | qe_ic.c | 407 int qe_ic_set_priority(unsigned int virq, unsigned int priority) in qe_ic_set_priority() argument 413 if (priority > 8 || priority == 0) in qe_ic_set_priority() 423 if (priority < 4) { in qe_ic_set_priority() 424 temp &= ~(0x7 << (32 - priority * 3)); in qe_ic_set_priority() 425 temp |= qe_ic_info[src].pri_code << (32 - priority * 3); in qe_ic_set_priority() 427 temp &= ~(0x7 << (24 - priority * 3)); in qe_ic_set_priority() 428 temp |= qe_ic_info[src].pri_code << (24 - priority * 3); in qe_ic_set_priority() 437 int qe_ic_set_high_priority(unsigned int virq, unsigned int priority, int high) in qe_ic_set_high_priority() argument 443 if (priority > 2 || priority == 0) in qe_ic_set_high_priority() 474 shift += (2 - priority) * 2; in qe_ic_set_high_priority()
|
/drivers/net/ethernet/sfc/ |
D | efx.h | 131 enum efx_filter_priority priority, in efx_filter_remove_id_safe() argument 134 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe() 149 enum efx_filter_priority priority, in efx_filter_get_filter_safe() argument 152 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe() 156 enum efx_filter_priority priority) in efx_filter_count_rx_used() argument 158 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used() 165 enum efx_filter_priority priority, in efx_filter_get_rx_ids() argument 168 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
|
D | filter.h | 133 u32 priority:2; member 156 enum efx_filter_priority priority, in efx_filter_init_rx() argument 161 spec->priority = priority; in efx_filter_init_rx() 171 spec->priority = EFX_FILTER_PRI_REQUIRED; in efx_filter_init_tx()
|
D | farch.c | 1885 u8 priority:4; member 2061 spec->priority = gen_spec->priority; in efx_farch_filter_from_gen_spec() 2160 gen_spec->priority = spec->priority; in efx_farch_filter_to_gen_spec() 2245 spec->priority = EFX_FILTER_PRI_AUTO; in efx_farch_filter_init_rx_auto() 2461 spec.priority <= EFX_FILTER_PRI_HINT ? in efx_farch_filter_insert() 2507 if (spec.priority == saved_spec->priority && !replace_equal) { in efx_farch_filter_insert() 2511 if (spec.priority < saved_spec->priority) { in efx_farch_filter_insert() 2515 if (saved_spec->priority == EFX_FILTER_PRI_AUTO || in efx_farch_filter_insert() 2593 enum efx_filter_priority priority) in efx_farch_filter_remove() argument 2598 spec->priority != priority) in efx_farch_filter_remove() [all …]
|
/drivers/net/ |
D | eql.c | 345 skb->priority = TC_PRIO_FILLER; in eql_slave_xmit() 433 s->priority = srq.priority; in eql_enslave() 434 s->priority_bps = srq.priority; in eql_enslave() 435 s->priority_Bps = srq.priority / 8; in eql_enslave() 500 sc.priority = slave->priority; in eql_g_slave_cfg() 534 slave->priority = sc.priority; in eql_s_slave_cfg() 535 slave->priority_bps = sc.priority; in eql_s_slave_cfg() 536 slave->priority_Bps = sc.priority / 8; in eql_s_slave_cfg()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 334 if (!GetTs(ieee, (PTS_COMMON_INFO *)(&pTxTs), hdr->addr1, skb->priority, TX_DIR, true)) in ieee80211_tx_query_agg_cap() 589 if (!GetTs(ieee, (PTS_COMMON_INFO *)(&pTS), dst, skb->priority, TX_DIR, true)) in ieee80211_query_seqnum() 716 skb->priority = ieee80211_classify(skb, &ieee->current_network); in ieee80211_xmit() 717 qos_ctl |= skb->priority; //set in the ieee80211_classify in ieee80211_xmit() 760 txb->queue_index = UP2AC(skb->priority); in ieee80211_xmit() 771 skb_frag->priority = skb->priority;//UP2AC(skb->priority); in ieee80211_xmit() 772 tcb_desc->queue_index = UP2AC(skb->priority); in ieee80211_xmit() 774 skb_frag->priority = WME_AC_BK; in ieee80211_xmit() 808 frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[UP2AC(skb->priority)+1]<<4 | i); in ieee80211_xmit() 837 if (ieee->seq_ctrl[UP2AC(skb->priority) + 1] == 0xFFF) in ieee80211_xmit() [all …]
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_dcbx.c | 161 p_data->arr[id].enable, p_data->arr[id].priority, in qed_dcbx_dp_protocol() 179 p_data->arr[type].priority = prio; in qed_dcbx_set_params() 258 int priority; in qed_dcbx_process_tlv() local 270 priority = ffs(priority_map) - 1; in qed_dcbx_process_tlv() 271 if (priority < 0) { in qed_dcbx_process_tlv() 276 tc = QED_DCBX_PRIO2TC(pri_tc_tbl, priority); in qed_dcbx_process_tlv() 288 priority, tc, type); in qed_dcbx_process_tlv() 298 priority = p_data->arr[DCBX_PROTOCOL_ROCE].priority; in qed_dcbx_process_tlv() 300 priority, tc, DCBX_PROTOCOL_ROCE_V2); in qed_dcbx_process_tlv() 310 priority = p_data->arr[DCBX_PROTOCOL_ETH].priority; in qed_dcbx_process_tlv() [all …]
|
/drivers/net/wireless/marvell/mwifiex/ |
D | uap_txrx.c | 213 index = mwifiex_1d_to_wmm_queue[skb->priority]; in mwifiex_uap_queue_bridged_pkt() 415 if (rx_pkt_type != PKT_TYPE_BAR && uap_rx_pd->priority < MAX_NUM_TID) { in mwifiex_process_uap_rx_packet() 419 node->rx_seq[uap_rx_pd->priority] = in mwifiex_process_uap_rx_packet() 425 (!mwifiex_11n_get_rx_reorder_tbl(priv, uap_rx_pd->priority, ta) && in mwifiex_process_uap_rx_packet() 434 uap_rx_pd->priority, ta, pkt_type, in mwifiex_process_uap_rx_packet() 496 txpd->priority = (u8)skb->priority; in mwifiex_process_uap_txpd() 506 if (txpd->priority < ARRAY_SIZE(priv->wmm.user_pri_pkt_tx_ctrl)) in mwifiex_process_uap_txpd() 512 cpu_to_le32(priv->wmm.user_pri_pkt_tx_ctrl[txpd->priority]); in mwifiex_process_uap_txpd()
|
D | sta_tx.c | 78 local_tx_pd->priority = (u8) skb->priority; in mwifiex_process_sta_txpd() 88 if (local_tx_pd->priority < in mwifiex_process_sta_txpd() 96 priority]); in mwifiex_process_sta_txpd() 175 local_tx_pd->priority = WMM_HIGHEST_PRIORITY; in mwifiex_send_null_packet()
|
/drivers/pnp/ |
D | base.h | 110 int priority) in pnp_new_dependent_set() argument 114 if (priority > PNP_RES_PRIORITY_FUNCTIONAL) { in pnp_new_dependent_set() 116 "clipped to %d", priority, in pnp_new_dependent_set() 118 priority = PNP_RES_PRIORITY_INVALID; in pnp_new_dependent_set() 124 ((priority & PNP_OPTION_PRIORITY_MASK) << in pnp_new_dependent_set()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_xmit.c | 360 u8 qos_acm(u8 acm_mask, u8 priority) in qos_acm() argument 362 u8 change_priority = priority; in qos_acm() 364 switch (priority) { in qos_acm() 384 DBG_88E("qos_acm(): invalid pattrib->priority: %d!!!\n", priority); in qos_acm() 411 pattrib->priority = user_prio; in set_qos() 515 pattrib->priority = 0; in update_attrib() 525 pattrib->priority = qos_acm(pmlmepriv->acm_mask, pattrib->priority); in update_attrib() 621 u8 priority[4] = {0x0, 0x0, 0x0, 0x0}; in xmitframe_addmic() local 672 priority[0] = (u8)pxmitframe->attrib.priority; in xmitframe_addmic() 674 rtw_secmicappend(&micdata, &priority[0], 4); in xmitframe_addmic() [all …]
|
/drivers/staging/rtl8188eu/os_dep/ |
D | os_intfs.c | 247 if (skb->priority >= 256 && skb->priority <= 263) in rtw_classify8021d() 248 return skb->priority - 256; in rtw_classify8021d() 267 skb->priority = rtw_classify8021d(skb); in rtw_select_queue() 270 skb->priority = qos_acm(pmlmepriv->acm_mask, skb->priority); in rtw_select_queue() 272 return rtw_1d_to_queue[skb->priority]; in rtw_select_queue() 280 u32 priority; in rtw_recv_select_queue() local 289 priority = dscp >> 5; in rtw_recv_select_queue() 292 priority = 0; in rtw_recv_select_queue() 295 return rtw_1d_to_queue[priority]; in rtw_recv_select_queue()
|
/drivers/staging/rtl8712/ |
D | rtl8712_xmit.c | 69 int priority = pattrib->priority; in r8712_txframes_sta_ac_pending() local 72 switch (priority) { in r8712_txframes_sta_ac_pending() 106 switch (pattrib->priority) { in get_ff_hwaddr() 243 qsel = (unsigned int) pattrib->priority; in r8712_do_queue_select() 245 qsel = (unsigned int) pattrib->priority; in r8712_do_queue_select() 313 pxmitframe->attrib.priority); in r8712_append_mpdu_unit() 540 ptxdesc->txdw3 = cpu_to_le32((pattrib->priority << SEQ_SHT) & in update_txdesc() 592 ptxdesc->txdw3 = cpu_to_le32((pattrib->priority << SEQ_SHT) & in update_txdesc() 604 qsel = (uint)(pattrib->priority & 0x0000001f); in update_txdesc() 687 if (pxmitframe->attrib.priority <= 15) in r8712_xmitframe_complete() [all …]
|
/drivers/gpu/drm/radeon/ |
D | radeon_cs.c | 54 struct list_head *item, unsigned priority) in radeon_cs_buckets_add() argument 61 list_add_tail(item, &b->bucket[min(priority, RADEON_CS_MAX_PRIORITY)]); in radeon_cs_buckets_add() 100 unsigned priority; in radeon_cs_parser_relocs() local 117 priority = (r->flags & RADEON_RELOC_PRIO_MASK) * 2 in radeon_cs_parser_relocs() 136 priority = RADEON_CS_MAX_PRIORITY; in radeon_cs_parser_relocs() 170 priority); in radeon_cs_parser_relocs() 189 static int radeon_cs_get_ring(struct radeon_cs_parser *p, u32 ring, s32 priority) in radeon_cs_get_ring() argument 191 p->priority = priority; in radeon_cs_get_ring() 202 if (p->priority > 0) in radeon_cs_get_ring() 211 if (p->priority > 0) in radeon_cs_get_ring() [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | alloc.c | 220 int priority; member 245 int priority, in mlx4_zone_add_one() argument 259 zone->priority = priority; in mlx4_zone_add_one() 271 if (it->priority >= priority) in mlx4_zone_add_one() 274 if (&it->prio_list == &zone_alloc->prios || it->priority > priority) in mlx4_zone_add_one() 297 if (next->priority == entry->priority) in __mlx4_zone_remove_one_entry() 357 if (unlikely(curr_node->priority == zone->priority)) in __mlx4_alloc_from_zone() 382 if (unlikely(it->priority != curr_node->priority)) in __mlx4_alloc_from_zone()
|
/drivers/dma/qcom/ |
D | hidma_mgmt.c | 88 if (mgmtdev->priority[i] > 1) { in hidma_mgmt_setup() 128 u32 priority = mgmtdev->priority[i]; in hidma_mgmt_setup() local 132 val |= (priority & 0x1) << HIDMA_PRIORITY_BIT_POS; in hidma_mgmt_setup() 231 mgmtdev->priority = devm_kcalloc(&pdev->dev, in hidma_mgmt_probe() 233 sizeof(*mgmtdev->priority), in hidma_mgmt_probe() 235 if (!mgmtdev->priority) { in hidma_mgmt_probe()
|
/drivers/hwtracing/coresight/ |
D | coresight-funnel.c | 49 unsigned long priority; member 63 writel_relaxed(drvdata->priority, drvdata->base + FUNNEL_PRICTL); in funnel_enable_hw() 115 unsigned long val = drvdata->priority; in priority_show() 132 drvdata->priority = val; in priority_store() 135 static DEVICE_ATTR_RW(priority);
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 81 app.priority = 0; in cxgb4_dcb_cleanup_apps() 91 app.priority = dcb->app_priority[i].user_prio_map; in cxgb4_dcb_cleanup_apps() 354 app.priority = ffs(fwap->user_prio_map) - 1; in cxgb4_dcb_handle_fw_update() 360 app.priority = fwap->user_prio_map; in cxgb4_dcb_handle_fw_update() 367 app.selector, app.protocol, app.priority, -err); in cxgb4_dcb_handle_fw_update() 610 static void cxgb4_getpfccfg(struct net_device *dev, int priority, u8 *pfccfg) in cxgb4_getpfccfg() argument 616 priority >= CXGB4_MAX_PRIORITY) in cxgb4_getpfccfg() 619 *pfccfg = (pi->dcb.pfcen >> (7 - priority)) & 1; in cxgb4_getpfccfg() 625 static void cxgb4_setpfccfg(struct net_device *dev, int priority, u8 pfccfg) in cxgb4_setpfccfg() argument 633 priority >= CXGB4_MAX_PRIORITY) in cxgb4_setpfccfg() [all …]
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_core.c | 212 u8 q_num = skb->priority; in rsi_core_queue_pkt() 347 skb->priority = q_num; in rsi_core_xmit() 351 skb->priority = TID_TO_WME_AC(tid); in rsi_core_xmit() 354 skb->priority = BE_Q; in rsi_core_xmit() 356 q_num = skb->priority; in rsi_core_xmit()
|
/drivers/xen/events/ |
D | events_fifo.c | 284 unsigned priority, unsigned long *ready, in consume_one_event() argument 292 head = q->head[priority]; in consume_one_event() 300 head = control_block->head[priority]; in consume_one_event() 315 clear_bit(priority, ready); in consume_one_event() 324 q->head[priority] = head; in consume_one_event()
|
/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_tx.c | 274 int priority = skb->priority; in libipw_xmit() local 277 if (ieee->is_queue_full && (*ieee->is_queue_full) (dev, priority)) in libipw_xmit() 339 skb->priority = libipw_classify(skb); in libipw_xmit() 340 header.qos_ctl |= cpu_to_le16(skb->priority & LIBIPW_QCTL_TID); in libipw_xmit() 516 netdev_tx_t ret = (*ieee->hard_start_xmit)(txb, dev, priority); in libipw_xmit()
|
/drivers/tty/ipwireless/ |
D | hardware.c | 961 int priority; in send_pending_packet() local 965 for (priority = 0; priority < priority_limit; priority++) { in send_pending_packet() 966 if (!list_empty(&hw->tx_queue[priority])) { in send_pending_packet() 968 &hw->tx_queue[priority], in send_pending_packet() 991 for (priority = 0; priority < priority_limit; priority++) in send_pending_packet() 992 if (!list_empty(&hw->tx_queue[priority])) { in send_pending_packet() 1236 static void send_packet(struct ipw_hardware *hw, int priority, in send_packet() argument 1242 list_add_tail(&packet->queue, &hw->tx_queue[priority]); in send_packet() 1333 static int set_DTR(struct ipw_hardware *hw, int priority, in set_DTR() argument 1341 return set_control_line(hw, priority, channel_idx, COMCTRL_DTR, state); in set_DTR() [all …]
|