/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_init.h | 196 #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 …]
|
D | bnx2x_dcb.c | 554 ets_params.cos[i].state = bnx2x_cos_state_strict; in bnx2x_dcbx_update_ets_config() 555 ets_params.cos[i].params.sp_params.pri = in bnx2x_dcbx_update_ets_config() 562 ets_params.cos[i].state = bnx2x_cos_state_bw; in bnx2x_dcbx_update_ets_config() 563 ets_params.cos[i].params.bw_params.bw = in bnx2x_dcbx_update_ets_config() 699 u8 prio, cos; in bnx2x_dcbx_update_tc_mapping() local 700 for (cos = 0; cos < bp->dcbx_port_params.ets.num_of_cos; cos++) { in bnx2x_dcbx_update_tc_mapping() 702 if (bp->dcbx_port_params.ets.cos_params[cos].pri_bitmask in bnx2x_dcbx_update_tc_mapping() 704 bp->prio_to_cos[prio] = cos; in bnx2x_dcbx_update_tc_mapping() 706 "tx_mapping %d --> %d\n", prio, cos); in bnx2x_dcbx_update_tc_mapping() 1049 u8 cos = 0; in bnx2x_dcbx_print_cos_params() local [all …]
|
D | bnx2x_cmn.c | 175 int i, cos, old_eth_num = BNX2X_NUM_ETH_QUEUES(bp); in bnx2x_shrink_eth_fp() local 180 for (cos = 1; cos < bp->max_cos; cos++) { in bnx2x_shrink_eth_fp() 183 int new_idx = cos * (old_eth_num - delta) + i; in bnx2x_shrink_eth_fp() 185 memcpy(&bp->bnx2x_txq[new_idx], fp->txdata_ptr[cos], in bnx2x_shrink_eth_fp() 187 fp->txdata_ptr[cos] = &bp->bnx2x_txq[new_idx]; in bnx2x_shrink_eth_fp() 1144 u8 cos; in bnx2x_msix_fp_int() local 1158 for_each_cos_in_tx_queue(fp, cos) in bnx2x_msix_fp_int() 1159 prefetch(fp->txdata_ptr[cos]->tx_cons_sb); in bnx2x_msix_fp_int() 1501 u8 cos; in bnx2x_free_tx_skbs_queue() local 1504 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_free_tx_skbs_queue() [all …]
|
D | bnx2x_main.c | 910 u8 cos; in bnx2x_panic_dump() local 972 u8 data_size, cos; in bnx2x_panic_dump() local 992 for_each_cos_in_tx_queue(fp, cos) in bnx2x_panic_dump() 994 if (!fp->txdata_ptr[cos]) in bnx2x_panic_dump() 997 txdata = *fp->txdata_ptr[cos]; in bnx2x_panic_dump() 1146 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_panic_dump() 1147 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_panic_dump() 1149 if (!fp->txdata_ptr[cos]) in bnx2x_panic_dump() 1162 i, cos, j, sw_bd->skb, in bnx2x_panic_dump() 1172 i, cos, j, tx_bd[0], tx_bd[1], in bnx2x_panic_dump() [all …]
|
D | bnx2x_cmn.h | 774 u8 cos; in bnx2x_has_tx_work() local 775 for_each_cos_in_tx_queue(fp, cos) in bnx2x_has_tx_work() 776 if (bnx2x_tx_queue_has_work(fp->txdata_ptr[cos])) in bnx2x_has_tx_work()
|
D | bnx2x_sp.c | 4595 gen_data->cos = params->cos; in bnx2x_q_fill_init_general_data() 4604 gen_data->activate_flg, gen_data->cos, gen_data->statistics_en_flg); in bnx2x_q_fill_init_general_data() 4789 u8 cos; in bnx2x_q_init() local 4814 for (cos = 0; cos < o->max_cos; cos++) { in bnx2x_q_init() 4816 o->cids[cos], cos); in bnx2x_q_init() 4817 DP(BNX2X_MSG_SP, "context pointer %p\n", init->cxts[cos]); in bnx2x_q_init() 4818 bnx2x_set_ctx_validation(bp, init->cxts[cos], o->cids[cos]); in bnx2x_q_init() 4902 tx_only_params->gen_params.cos, in bnx2x_q_send_setup_tx_only() 4913 rdata->general.sp_client_id, rdata->general.cos); in bnx2x_q_send_setup_tx_only()
|
D | bnx2x_sp.h | 944 u8 cos; member 986 u8 cos; /* valid iff BNX2X_Q_FLG_COS */ member
|
D | bnx2x_link.h | 512 struct bnx2x_ets_cos_params cos[DCBX_MAX_NUM_COS]; member
|
D | bnx2x.h | 318 #define CID_COS_TO_TX_ONLY_CID(cid, cos, bp) \ argument 319 (cid + cos * BNX2X_NUM_NON_CNIC_QUEUES(bp)) 322 #define FP_COS_TO_TXQ(fp, cos, bp) \ argument 323 ((fp)->index + cos * BNX2X_NUM_NON_CNIC_QUEUES(bp))
|
D | bnx2x_hsi.h | 3614 u8 cos; member 5170 u8 cos; member 5176 u8 cos; 5365 u8 cos; member
|
D | bnx2x_link.c | 914 if (ets_params->cos[cos_idx].state == bnx2x_cos_state_bw) { in bnx2x_ets_e3b0_get_total_bw() 916 if (!ets_params->cos[cos_idx].params.bw_params.bw) { in bnx2x_ets_e3b0_get_total_bw() 922 ets_params->cos[cos_idx].params.bw_params.bw in bnx2x_ets_e3b0_get_total_bw() 926 ets_params->cos[cos_idx].params.bw_params.bw; in bnx2x_ets_e3b0_get_total_bw() 996 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 1002 pri_cli_nig = ((u64)(cos + cos_offset)) << (entry_size * in bnx2x_e3b0_sp_get_pri_cli_reg() 1013 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 1019 return bnx2x_e3b0_sp_get_pri_cli_reg(cos, nig_cos_offset, pri_set, in bnx2x_e3b0_sp_get_pri_cli_reg_nig() 1029 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 1034 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.4.14/arch/m68k/fpsp040/ |
D | ssin.S | 12 | 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
|
D | sto_res.S | 34 bfextu CMDREG1B(%a6){#13:#3},%d0 |extract cos destination
|
D | do_func.S | 19 | sin(x) in fp0 and cos(x) in fp1.
|
/linux-4.4.14/arch/x86/math-emu/ |
D | README | 185 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.4.14/drivers/message/fusion/ |
D | mptfc.c | 985 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.4.14/drivers/scsi/bfa/ |
D | bfa_fc.h | 1398 u32 cos; member 1433 u32 cos; /* Class of Service */ member
|
D | bfa_fcbuild.h | 254 u32 port_id, u32 cos);
|
D | bfa_fcbuild.c | 1337 u32 cos) in fc_rcsid_build() argument 1349 rcsid->cos = cos; in fc_rcsid_build()
|
D | bfad_bsg.h | 820 enum fc_cos cos; member
|
D | bfa_svc.h | 636 bfa_boolean_t cts, enum fc_cos cos,
|
D | bfa_svc.c | 1056 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()
|
D | bfad_bsg.c | 3343 bsg_fcpt->cts, bsg_fcpt->cos, in bfad_fcxp_bsg_send()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | t4fw_api_stor.h | 378 u8 cos; member
|
D | csio_mb.c | 836 uint8_t cos, bool link_status, uint32_t fcfi, in csio_write_fcoe_link_cond_init_mb() argument
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-tpg.c | 87 #define cos(idx) sin[((idx) + 64) % sizeof(sin)] macro 790 tmp_cb = (cb * cos(128 + tpg->hue)) / 127 + (cr * sin[128 + tpg->hue]) / 127; in precalculate_color() 791 tmp_cr = (cr * cos(128 + tpg->hue)) / 127 - (cb * sin[128 + tpg->hue]) / 127; in precalculate_color()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 3649 u8 cos; member 3655 u8 cos; member
|
/linux-4.4.14/arch/m68k/ifpsp060/src/ |
D | fplsp.S | 4906 # 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.4.14/drivers/scsi/ |
D | scsi_transport_fc.c | 249 fc_bitfield_name_search(cos, fc_cos_names)
|