Home
last modified time | relevance | path

Searched refs:cos (Results 1 – 25 of 69) sorted by relevance

123

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init.h196 #define BNX2X_VOQ_Q_REG_ADDR(cos, pf_q_num)\ argument
197 (QM_REG_VOQQMASK_0_LSB + 4 * ((cos) * 2 + ((pf_q_num) >> 5)))
266 traffic_cos[LLFC_TRAFFIC_TYPE_FCOE].cos); in bnx2x_dcb_config_qm()
268 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); in bnx2x_dcb_config_qm()
270 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); in bnx2x_dcb_config_qm()
274 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in bnx2x_dcb_config_qm()
276 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in bnx2x_dcb_config_qm()
278 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in bnx2x_dcb_config_qm()
429 u32 vnic, cos; in bnx2x_init_fw_wrr() local
434 for (cos = 0; cos < MAX_COS_NUMBER; cos++) in bnx2x_init_fw_wrr()
[all …]
Dbnx2x_dcb.c583 ets_params.cos[i].state = bnx2x_cos_state_strict; in bnx2x_dcbx_update_ets_config()
584 ets_params.cos[i].params.sp_params.pri = in bnx2x_dcbx_update_ets_config()
591 ets_params.cos[i].state = bnx2x_cos_state_bw; in bnx2x_dcbx_update_ets_config()
592 ets_params.cos[i].params.bw_params.bw = in bnx2x_dcbx_update_ets_config()
728 u8 prio, cos; in bnx2x_dcbx_update_tc_mapping() local
729 for (cos = 0; cos < bp->dcbx_port_params.ets.num_of_cos; cos++) { in bnx2x_dcbx_update_tc_mapping()
731 if (bp->dcbx_port_params.ets.cos_params[cos].pri_bitmask in bnx2x_dcbx_update_tc_mapping()
733 bp->prio_to_cos[prio] = cos; in bnx2x_dcbx_update_tc_mapping()
735 "tx_mapping %d --> %d\n", prio, cos); in bnx2x_dcbx_update_tc_mapping()
1078 u8 cos = 0; in bnx2x_dcbx_print_cos_params() local
[all …]
Dbnx2x_cmn.c172 int i, cos, old_eth_num = BNX2X_NUM_ETH_QUEUES(bp); in bnx2x_shrink_eth_fp() local
177 for (cos = 1; cos < bp->max_cos; cos++) { in bnx2x_shrink_eth_fp()
180 int new_idx = cos * (old_eth_num - delta) + i; in bnx2x_shrink_eth_fp()
182 memcpy(&bp->bnx2x_txq[new_idx], fp->txdata_ptr[cos], in bnx2x_shrink_eth_fp()
184 fp->txdata_ptr[cos] = &bp->bnx2x_txq[new_idx]; in bnx2x_shrink_eth_fp()
1130 u8 cos; in bnx2x_msix_fp_int() local
1144 for_each_cos_in_tx_queue(fp, cos) in bnx2x_msix_fp_int()
1145 prefetch(fp->txdata_ptr[cos]->tx_cons_sb); in bnx2x_msix_fp_int()
1492 u8 cos; in bnx2x_free_tx_skbs_queue() local
1495 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_free_tx_skbs_queue()
[all …]
Dbnx2x_main.c908 u8 cos; in bnx2x_panic_dump() local
970 u8 data_size, cos; in bnx2x_panic_dump() local
990 for_each_cos_in_tx_queue(fp, cos) in bnx2x_panic_dump()
992 if (!fp->txdata_ptr[cos]) in bnx2x_panic_dump()
995 txdata = *fp->txdata_ptr[cos]; in bnx2x_panic_dump()
1144 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_panic_dump()
1145 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_panic_dump()
1147 if (!fp->txdata_ptr[cos]) in bnx2x_panic_dump()
1160 i, cos, j, sw_bd->skb, in bnx2x_panic_dump()
1170 i, cos, j, tx_bd[0], tx_bd[1], in bnx2x_panic_dump()
[all …]
Dbnx2x_cmn.h769 u8 cos; in bnx2x_has_tx_work() local
770 for_each_cos_in_tx_queue(fp, cos) in bnx2x_has_tx_work()
771 if (bnx2x_tx_queue_has_work(fp->txdata_ptr[cos])) in bnx2x_has_tx_work()
Dbnx2x_sp.c4813 gen_data->cos = params->cos; in bnx2x_q_fill_init_general_data()
4822 gen_data->activate_flg, gen_data->cos, gen_data->statistics_en_flg); in bnx2x_q_fill_init_general_data()
5007 u8 cos; in bnx2x_q_init() local
5032 for (cos = 0; cos < o->max_cos; cos++) { in bnx2x_q_init()
5034 o->cids[cos], cos); in bnx2x_q_init()
5035 DP(BNX2X_MSG_SP, "context pointer %p\n", init->cxts[cos]); in bnx2x_q_init()
5036 bnx2x_set_ctx_validation(bp, init->cxts[cos], o->cids[cos]); in bnx2x_q_init()
5119 tx_only_params->gen_params.cos, in bnx2x_q_send_setup_tx_only()
5130 rdata->general.sp_client_id, rdata->general.cos); in bnx2x_q_send_setup_tx_only()
/Linux-v5.4/include/net/
Derspan.h91 cos:3; member
97 __u8 cos:3,
148 u8 dscp, cos; in tos_to_cos() local
151 cos = dscp >> 3; in tos_to_cos()
152 return cos; in tos_to_cos()
191 ershdr->cos = tos_to_cos(tos); in erspan_build_header()
285 ershdr->cos = tos_to_cos(tos); in erspan_build_header_v2()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_main.c533 int cos, count, offset; in qede_setup_tc() local
541 for_each_cos_in_txq(edev, cos) { in qede_setup_tc()
543 offset = cos * QEDE_TSS_COUNT(edev); in qede_setup_tc()
544 netdev_set_tc_queue(ndev, cos, count, offset); in qede_setup_tc()
1521 int cos; in qede_free_mem_fp() local
1523 for_each_cos_in_txq(edev, cos) in qede_free_mem_fp()
1524 qede_free_mem_txq(edev, &fp->txq[cos]); in qede_free_mem_fp()
1552 int cos; in qede_alloc_mem_fp() local
1554 for_each_cos_in_txq(edev, cos) { in qede_alloc_mem_fp()
1555 rc = qede_alloc_mem_txq(edev, &fp->txq[cos]); in qede_alloc_mem_fp()
[all …]
Dqede_fp.c1360 int cos; in qede_poll_is_more_work() local
1362 for_each_cos_in_txq(fp->edev, cos) { in qede_poll_is_more_work()
1363 if (qede_txq_has_work(&fp->txq[cos])) in qede_poll_is_more_work()
1382 int cos; in qede_poll() local
1384 for_each_cos_in_txq(fp->edev, cos) { in qede_poll()
1385 if (qede_txq_has_work(&fp->txq[cos])) in qede_poll()
1386 qede_tx_int(edev, &fp->txq[cos]); in qede_poll()
Dqede.h420 (txq)->cos) + (txq)->index)
438 u16 cos; member
Dqede_ethtool.c231 sprintf(*buf, "%d_%d: %s", txq->index, txq->cos, in qede_get_strings_stats_txq()
272 int cos; in qede_get_strings_stats() local
274 for_each_cos_in_txq(edev, cos) in qede_get_strings_stats()
276 &fp->txq[cos], &buf); in qede_get_strings_stats()
353 int cos; in qede_get_ethtool_stats() local
355 for_each_cos_in_txq(edev, cos) in qede_get_ethtool_stats()
356 qede_get_ethtool_stats_txq(&fp->txq[cos], &buf); in qede_get_ethtool_stats()
/Linux-v5.4/arch/m68k/fpsp040/
Dssin.S12 | Output: The function value sin(X) or cos(X) returned in Fp0 if SIN or
14 | in Fp0, and cos(X) is returned in Fp1.
40 | 5. (k is odd) Set j := (k-1)/2, sgn := (-1)**j. Return sgn*cos(r)
41 | where cos(r) is approximated by an even polynomial in r,
67 | SIN(X) = sgn1 * cos(r) and COS(X) = sgn2*sin(r) where
68 | sin(r) and cos(r) are computed as odd and even polynomials
72 | SIN(X) = sgn1 * sin(r) and COS(X) = sgn1*cos(r) where
73 | sin(r) and cos(r) are computed as odd and even polynomials
Dsto_res.S34 bfextu CMDREG1B(%a6){#13:#3},%d0 |extract cos destination
/Linux-v5.4/Documentation/translations/it_IT/process/
Ddeprecated.rst15 un'interfaccia deprecata e convertirli in quella nuova, e così sarebbe
21 aumentando così il carico di lavoro. Al fine di istruire gli sviluppatori su
72 :c:func:`array3_size`, e :c:func:`struct_size`, così come la famiglia di
Dstable-kernel-rules.rst25 interattività. Dato che questi problemi non sono così ovvi e la loro
91 l'identificativo del commit nei sorgenti principali, così come la versione
109 al messaggio della patch, così:
Dcoding-style.rst26 La tabulazione (tab) è di 8 caratteri e così anche le indentazioni. Ci sono
115 di chiusura per prima su una nuova riga, così:
300 C è un linguaggio spartano, e così dovrebbero esserlo i vostri nomi. Al
311 dei nomi descrittivi, così come le funzioni globali. Se avete una funzione
347 potreste dire cos'è effettivamente ``a``.
432 d'essere brillante, ma magari vorresti riuscire a capire cos'avevi fatto due
538 funzione è così complessa che dovete commentarla a pezzi, allora dovreste
652 Tuttavia, non è così terribile, perché perfino i creatori di GNU indent
839 dev_warn(), dev_info(), e così via. Per messaggi che non sono associati ad
947 così dovrebbero anche tutte le funzioni pubbliche. Le funzioni private
[all …]
Dvolatile-considered-harmful.rst15 *volatile* come una variabile atomica di facile utilizzo, ma non è così.
46 - sono stati esplicitamente scritti per agire così - il che significa che gli
D5.Posting.rst58 Se è così, dovreste eseguire dei *benchmark* che mostrino il loro
80 così come lo si trova nei sorgenti git di Linus. Quando vi basate sul ramo
126 difficile così come quella di chi s'impegna nel nobile lavoro di
313 nel prossimo rilascio stabile. Se è così, la lista di discussione
/Linux-v5.4/arch/x86/math-emu/
DREADME185 cos() 284.4 4855.2 308.0 388.7
211 cos() 381.5 2767.4
240 would be 64 bits. The reduced Turbo C accuracy of cos() and tan() for
243 accurate to 64 bits can result in a relative accuracy in cos() of
244 about 64 + log2(cos(x)) = 31 bits.
252 cos(x) 0 .. pi/2-(1e-10) 64.4 (x <= pi/4) 62.4
284 cos(x) 0 .. 9.22e+18 62.0
/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c614 static u32 sq_prepare_db(struct hinic_sq *sq, u16 prod_idx, unsigned int cos) in sq_prepare_db() argument
623 HINIC_SQ_DB_INFO_SET(cos, COS) | in sq_prepare_db()
635 unsigned int cos) in hinic_sq_write_db() argument
644 writel(sq_prepare_db(sq, prod_idx, cos), SQ_DB_ADDR(sq, prod_idx)); in hinic_sq_write_db()
Dhinic_hw_qp.h173 unsigned int cos);
/Linux-v5.4/drivers/message/fusion/
Dmptfc.c977 unsigned cos = 0; in mptfc_init_host_attr() local
1012 cos |= FC_COS_CLASS1; in mptfc_init_host_attr()
1014 cos |= FC_COS_CLASS2; in mptfc_init_host_attr()
1016 cos |= FC_COS_CLASS3; in mptfc_init_host_attr()
1017 fc_host_supported_classes(sh) = cos; in mptfc_init_host_attr()
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv50/
Datom.h108 u16 cos:12; member
Dheadc57d.c64 asyh->procamp.sat.cos << 4); in headc57d_procamp()
Dheadc37d.c63 asyh->procamp.sat.cos << 4); in headc37d_procamp()

123