/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 | 583 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 …]
|
D | bnx2x_cmn.c | 173 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() 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 …]
|
D | bnx2x_main.c | 914 u8 cos; in bnx2x_panic_dump() local 976 u8 data_size, cos; in bnx2x_panic_dump() local 996 for_each_cos_in_tx_queue(fp, cos) in bnx2x_panic_dump() 998 if (!fp->txdata_ptr[cos]) in bnx2x_panic_dump() 1001 txdata = *fp->txdata_ptr[cos]; in bnx2x_panic_dump() 1150 for_each_cos_in_tx_queue(fp, cos) { in bnx2x_panic_dump() 1151 struct bnx2x_fp_txdata *txdata = fp->txdata_ptr[cos]; in bnx2x_panic_dump() 1153 if (!fp->txdata_ptr[cos]) in bnx2x_panic_dump() 1166 i, cos, j, sw_bd->skb, in bnx2x_panic_dump() 1176 i, cos, j, tx_bd[0], tx_bd[1], in bnx2x_panic_dump() [all …]
|
D | bnx2x_cmn.h | 772 u8 cos; in bnx2x_has_tx_work() local 773 for_each_cos_in_tx_queue(fp, cos) in bnx2x_has_tx_work() 774 if (bnx2x_tx_queue_has_work(fp->txdata_ptr[cos])) in bnx2x_has_tx_work()
|
D | bnx2x_sp.c | 4813 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() 5120 tx_only_params->gen_params.cos, in bnx2x_q_send_setup_tx_only() 5131 rdata->general.sp_client_id, rdata->general.cos); in bnx2x_q_send_setup_tx_only()
|
D | bnx2x_sp.h | 956 u8 cos; member 998 u8 cos; /* valid iff BNX2X_Q_FLG_COS */ member
|
D | bnx2x_link.h | 513 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_link.c | 908 if (ets_params->cos[cos_idx].state == bnx2x_cos_state_bw) { in bnx2x_ets_e3b0_get_total_bw() 910 if (!ets_params->cos[cos_idx].params.bw_params.bw) { in bnx2x_ets_e3b0_get_total_bw() 916 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() 990 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 996 pri_cli_nig = ((u64)(cos + cos_offset)) << (entry_size * in bnx2x_e3b0_sp_get_pri_cli_reg() 1007 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 1013 return bnx2x_e3b0_sp_get_pri_cli_reg(cos, nig_cos_offset, pri_set, in bnx2x_e3b0_sp_get_pri_cli_reg_nig() 1023 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 1028 return bnx2x_e3b0_sp_get_pri_cli_reg(cos, pbf_cos_offset, pri_set, in bnx2x_e3b0_sp_get_pri_cli_reg_pbf() [all …]
|
D | bnx2x_hsi.h | 3619 u8 cos; member 5172 u8 cos; member 5178 u8 cos; 5367 u8 cos; member
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_qp.c | 562 static u32 sq_prepare_db(struct hinic_sq *sq, u16 prod_idx, unsigned int cos) in sq_prepare_db() argument 571 HINIC_SQ_DB_INFO_SET(cos, COS) | in sq_prepare_db() 583 unsigned int cos) in hinic_sq_write_db() argument 592 writel(sq_prepare_db(sq, prod_idx, cos), SQ_DB_ADDR(sq, prod_idx)); in hinic_sq_write_db()
|
D | hinic_hw_qp.h | 157 unsigned int cos);
|
/drivers/message/fusion/ |
D | mptfc.c | 978 unsigned cos = 0; in mptfc_init_host_attr() local 1013 cos |= FC_COS_CLASS1; in mptfc_init_host_attr() 1015 cos |= FC_COS_CLASS2; in mptfc_init_host_attr() 1017 cos |= FC_COS_CLASS3; in mptfc_init_host_attr() 1018 fc_host_supported_classes(sh) = cos; in mptfc_init_host_attr()
|
/drivers/scsi/bfa/ |
D | bfa_fc.h | 1399 u32 cos; member 1434 u32 cos; /* Class of Service */ member
|
D | bfa_fcbuild.c | 1338 u32 cos) in fc_rcsid_build() argument 1350 rcsid->cos = cos; in fc_rcsid_build()
|
D | bfa_fcbuild.h | 255 u32 port_id, u32 cos);
|
D | bfad_bsg.h | 821 enum fc_cos cos; member
|
D | bfa_svc.h | 637 bfa_boolean_t cts, enum fc_cos cos,
|
D | bfa_svc.c | 1026 u16 vf_id, u8 lp_tag, bfa_boolean_t cts, enum fc_cos cos, in bfa_fcxp_send() argument 1043 reqi->class = cos; in bfa_fcxp_send()
|
/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
|
/drivers/media/common/v4l2-tpg/ |
D | v4l2-tpg-core.c | 90 #define cos(idx) sin[((idx) + 64) % sizeof(sin)] macro 895 tmp_cb = (cb * cos(128 + tpg->hue)) / 127 + (cr * sin[128 + tpg->hue]) / 127; in precalculate_color() 896 tmp_cr = (cr * cos(128 + tpg->hue)) / 127 - (cb * sin[128 + tpg->hue]) / 127; in precalculate_color()
|
/drivers/gpu/drm/nouveau/ |
D | nv50_display.c | 188 u16 cos:12; member 1561 (asyh->procamp.sat.cos << 8)); in nv50_head_procamp() 1927 asyh->procamp.sat.cos = ((vib * 2047 + adj) / 100) & 0xfff; in nv50_head_atomic_check_procamp()
|
/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 3649 u8 cos; member 3655 u8 cos; member
|