Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init.h194 #define BNX2X_VOQ_Q_REG_ADDR(cos, pf_q_num)\ argument
195 (QM_REG_VOQQMASK_0_LSB + 4 * ((cos) * 2 + ((pf_q_num) >> 5)))
264 traffic_cos[LLFC_TRAFFIC_TYPE_FCOE].cos); in bnx2x_dcb_config_qm()
266 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); in bnx2x_dcb_config_qm()
268 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); in bnx2x_dcb_config_qm()
272 traffic_cos[LLFC_TRAFFIC_TYPE_NW].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()
427 u32 vnic, cos; in bnx2x_init_fw_wrr() local
432 for (cos = 0; cos < MAX_COS_NUMBER; cos++) in bnx2x_init_fw_wrr()
[all …]
Dbnx2x_dcb.c552 ets_params.cos[i].state = bnx2x_cos_state_strict; in bnx2x_dcbx_update_ets_config()
553 ets_params.cos[i].params.sp_params.pri = in bnx2x_dcbx_update_ets_config()
560 ets_params.cos[i].state = bnx2x_cos_state_bw; in bnx2x_dcbx_update_ets_config()
561 ets_params.cos[i].params.bw_params.bw = in bnx2x_dcbx_update_ets_config()
697 u8 prio, cos; in bnx2x_dcbx_update_tc_mapping() local
698 for (cos = 0; cos < bp->dcbx_port_params.ets.num_of_cos; cos++) { in bnx2x_dcbx_update_tc_mapping()
700 if (bp->dcbx_port_params.ets.cos_params[cos].pri_bitmask in bnx2x_dcbx_update_tc_mapping()
702 bp->prio_to_cos[prio] = cos; in bnx2x_dcbx_update_tc_mapping()
704 "tx_mapping %d --> %d\n", prio, cos); in bnx2x_dcbx_update_tc_mapping()
1047 u8 cos = 0; in bnx2x_dcbx_print_cos_params() local
[all …]
Dbnx2x_cmn.c173 int i, cos, old_eth_num = BNX2X_NUM_ETH_QUEUES(bp); in bnx2x_shrink_eth_fp() local
178 for (cos = 1; cos < bp->max_cos; cos++) { in bnx2x_shrink_eth_fp()
181 int new_idx = cos * (old_eth_num - delta) + i; in bnx2x_shrink_eth_fp()
183 memcpy(&bp->bnx2x_txq[new_idx], fp->txdata_ptr[cos], in bnx2x_shrink_eth_fp()
185 fp->txdata_ptr[cos] = &bp->bnx2x_txq[new_idx]; in bnx2x_shrink_eth_fp()
1124 u8 cos; in bnx2x_msix_fp_int() local
1138 for_each_cos_in_tx_queue(fp, cos) in bnx2x_msix_fp_int()
1139 prefetch(fp->txdata_ptr[cos]->tx_cons_sb); in bnx2x_msix_fp_int()
1481 u8 cos; in bnx2x_free_tx_skbs_queue() local
1484 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_free_tx_skbs_queue()
[all …]
Dbnx2x_cmn.h764 u8 cos; in bnx2x_has_tx_work() local
765 for_each_cos_in_tx_queue(fp, cos) in bnx2x_has_tx_work()
766 if (bnx2x_tx_queue_has_work(fp->txdata_ptr[cos])) in bnx2x_has_tx_work()
Dbnx2x_main.c905 u8 cos; in bnx2x_panic_dump() local
967 u8 data_size, cos; in bnx2x_panic_dump() local
987 for_each_cos_in_tx_queue(fp, cos) in bnx2x_panic_dump()
989 if (!fp->txdata_ptr[cos]) in bnx2x_panic_dump()
992 txdata = *fp->txdata_ptr[cos]; in bnx2x_panic_dump()
1141 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_panic_dump()
1142 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_panic_dump()
1144 if (!fp->txdata_ptr[cos]) in bnx2x_panic_dump()
1157 i, cos, j, sw_bd->skb, in bnx2x_panic_dump()
1167 i, cos, j, tx_bd[0], tx_bd[1], in bnx2x_panic_dump()
[all …]
Dbnx2x_sp.c4333 gen_data->cos = params->cos; in bnx2x_q_fill_init_general_data()
4342 gen_data->activate_flg, gen_data->cos, gen_data->statistics_en_flg); in bnx2x_q_fill_init_general_data()
4527 u8 cos; in bnx2x_q_init() local
4552 for (cos = 0; cos < o->max_cos; cos++) { in bnx2x_q_init()
4554 o->cids[cos], cos); in bnx2x_q_init()
4555 DP(BNX2X_MSG_SP, "context pointer %p\n", init->cxts[cos]); in bnx2x_q_init()
4556 bnx2x_set_ctx_validation(bp, init->cxts[cos], o->cids[cos]); in bnx2x_q_init()
4640 tx_only_params->gen_params.cos, in bnx2x_q_send_setup_tx_only()
4651 rdata->general.sp_client_id, rdata->general.cos); in bnx2x_q_send_setup_tx_only()
Dbnx2x_sp.h939 u8 cos; member
981 u8 cos; /* valid iff BNX2X_Q_FLG_COS */ member
Dbnx2x_link.h510 struct bnx2x_ets_cos_params cos[DCBX_MAX_NUM_COS]; member
Dbnx2x.h316 #define CID_COS_TO_TX_ONLY_CID(cid, cos, bp) \ argument
317 (cid + cos * BNX2X_NUM_NON_CNIC_QUEUES(bp))
320 #define FP_COS_TO_TXQ(fp, cos, bp) \ argument
321 ((fp)->index + cos * BNX2X_NUM_NON_CNIC_QUEUES(bp))
Dbnx2x_hsi.h3499 u8 cos; member
5040 u8 cos; member
5046 u8 cos;
5235 u8 cos; member
Dbnx2x_link.c912 if (ets_params->cos[cos_idx].state == bnx2x_cos_state_bw) { in bnx2x_ets_e3b0_get_total_bw()
914 if (!ets_params->cos[cos_idx].params.bw_params.bw) { in bnx2x_ets_e3b0_get_total_bw()
920 ets_params->cos[cos_idx].params.bw_params.bw in bnx2x_ets_e3b0_get_total_bw()
924 ets_params->cos[cos_idx].params.bw_params.bw; in bnx2x_ets_e3b0_get_total_bw()
994 static u64 bnx2x_e3b0_sp_get_pri_cli_reg(const u8 cos, const u8 cos_offset, in bnx2x_e3b0_sp_get_pri_cli_reg() argument
1000 pri_cli_nig = ((u64)(cos + cos_offset)) << (entry_size * in bnx2x_e3b0_sp_get_pri_cli_reg()
1011 static u64 bnx2x_e3b0_sp_get_pri_cli_reg_nig(const u8 cos, const u8 pri_set) in bnx2x_e3b0_sp_get_pri_cli_reg_nig() argument
1017 return bnx2x_e3b0_sp_get_pri_cli_reg(cos, nig_cos_offset, pri_set, in bnx2x_e3b0_sp_get_pri_cli_reg_nig()
1027 static u64 bnx2x_e3b0_sp_get_pri_cli_reg_pbf(const u8 cos, const u8 pri_set) in bnx2x_e3b0_sp_get_pri_cli_reg_pbf() argument
1032 return bnx2x_e3b0_sp_get_pri_cli_reg(cos, pbf_cos_offset, pri_set, in bnx2x_e3b0_sp_get_pri_cli_reg_pbf()
[all …]
/linux-4.1.27/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
Ddo_func.S19 | sin(x) in fp0 and cos(x) in fp1.
/linux-4.1.27/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-4.1.27/drivers/message/fusion/
Dmptfc.c985 unsigned cos = 0; in mptfc_init_host_attr() local
1020 cos |= FC_COS_CLASS1; in mptfc_init_host_attr()
1022 cos |= FC_COS_CLASS2; in mptfc_init_host_attr()
1024 cos |= FC_COS_CLASS3; in mptfc_init_host_attr()
1025 fc_host_supported_classes(sh) = cos; in mptfc_init_host_attr()
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_fc.h1398 u32 cos; member
1433 u32 cos; /* Class of Service */ member
Dbfa_fcbuild.h254 u32 port_id, u32 cos);
Dbfa_fcbuild.c1337 u32 cos) in fc_rcsid_build() argument
1349 rcsid->cos = cos; in fc_rcsid_build()
Dbfad_bsg.h820 enum fc_cos cos; member
Dbfa_svc.h636 bfa_boolean_t cts, enum fc_cos cos,
Dbfa_svc.c1056 u16 vf_id, u8 lp_tag, bfa_boolean_t cts, enum fc_cos cos, in bfa_fcxp_send() argument
1073 reqi->class = cos; in bfa_fcxp_send()
Dbfad_bsg.c3343 bsg_fcpt->cts, bsg_fcpt->cos, in bfad_fcxp_bsg_send()
/linux-4.1.27/drivers/scsi/csiostor/
Dt4fw_api_stor.h378 u8 cos; member
Dcsio_mb.c836 uint8_t cos, bool link_status, uint32_t fcfi, in csio_write_fcoe_link_cond_init_mb() argument
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-tpg.c87 #define cos(idx) sin[((idx) + 64) % sizeof(sin)] macro
712 tmp_cb = (cb * cos(128 + tpg->hue)) / 127 + (cr * sin[128 + tpg->hue]) / 127; in precalculate_color()
713 tmp_cr = (cr * cos(128 + tpg->hue)) / 127 - (cb * sin[128 + tpg->hue]) / 127; in precalculate_color()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dcnic_defs.h3649 u8 cos; member
3655 u8 cos; member
/linux-4.1.27/arch/m68k/ifpsp060/src/
Dfplsp.S4906 # fp0 = sin(X) or cos(X) #
4910 # fp1 = cos(X) #
4932 # Return sgn*cos(r) where cos(r) is approximated by an #
4961 # SIN(X) = sgn1 * cos(r) and COS(X) = sgn2*sin(r) where #
4962 # sin(r) and cos(r) are computed as odd and even #
4966 # SIN(X) = sgn1 * sin(r) and COS(X) = sgn1*cos(r) where #
4967 # sin(r) and cos(r) are computed as odd and even #
/linux-4.1.27/drivers/scsi/
Dscsi_transport_fc.c249 fc_bitfield_name_search(cos, fc_cos_names)