/drivers/s390/cio/ |
D | device_pgid.c | 138 struct pgid *pgid = &cdev->private->pgid[i]; in spid_build_cp() local 140 pgid->inf.fc = fn; in spid_build_cp() 142 cp->cda = (u32) (addr_t) pgid; in spid_build_cp() 143 cp->count = sizeof(*pgid); in spid_build_cp() 279 static int pgid_is_reset(struct pgid *p) in pgid_is_reset() 290 static int pgid_cmp(struct pgid *p1, struct pgid *p2) in pgid_cmp() 293 sizeof(struct pgid) - 1); in pgid_cmp() 299 static void pgid_analyze(struct ccw_device *cdev, struct pgid **p, in pgid_analyze() 302 struct pgid *pgid = &cdev->private->pgid[0]; in pgid_analyze() local 303 struct pgid *first = NULL; in pgid_analyze() [all …]
|
D | css.h | 48 struct pgid { struct 120 struct pgid global_pgid;
|
D | io_sch.h | 158 struct pgid pgid[8]; /* path group IDs per chpid*/ member
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 259 int dcb_type = pcmd->u.dcb.pgid.type; in cxgb4_dcb_handle_fw_update() 311 dcb->pgid = be32_to_cpu(fwdcb->pgid.pgid); in cxgb4_dcb_handle_fw_update() 417 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg() argument 425 *prio_type = *pgid = *bw_per = *up_tc_map = 0; in cxgb4_getpgtccfg() 432 pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; in cxgb4_getpgtccfg() 438 *pgid = (be32_to_cpu(pcmd.u.dcb.pgid.pgid) >> (tc * 4)) & 0xf; in cxgb4_getpgtccfg() 452 *bw_per = pcmd.u.dcb.pgrate.pgrate[*pgid]; in cxgb4_getpgtccfg() 456 if (*pgid != 0xF) in cxgb4_getpgtccfg() 461 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg_tx() argument 465 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, in cxgb4_getpgtccfg_tx() [all …]
|
D | cxgb4_dcb.h | 117 u32 pgid; /* Priority Group[0..7] */ member
|
D | t4fw_api.h | 2403 __be32 pgid; member 2405 } pgid; member
|
D | cxgb4_debugfs.c | 2477 (ethqset2pinfo(adap, base_qset + i)->dcb.pgid >> in sge_qinfo_show()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_dcbnl.c | 36 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgtx() argument 42 pgid, bw_pct, up_map); in qede_dcbnl_getpgtccfgtx() 46 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgtx() argument 50 edev->ops->dcb->getpgbwgcfgtx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgtx() 54 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgrx() argument 59 edev->ops->dcb->getpgtccfgrx(edev->cdev, prio, prio_type, pgid, bw_pct, in qede_dcbnl_getpgtccfgrx() 64 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgrx() argument 68 edev->ops->dcb->getpgbwgcfgrx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgrx() 123 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qede_dcbnl_setpgtccfgtx() argument 127 return edev->ops->dcb->setpgtccfgtx(edev->cdev, prio, pri_type, pgid, in qede_dcbnl_setpgtccfgtx() [all …]
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.c | 145 u8 pgid; member 661 u8 i, tc, pgid; in qlcnic_dcb_fill_cee_tc_params() local 676 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[0], i); in qlcnic_dcb_fill_cee_tc_params() 678 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[1], i); in qlcnic_dcb_fill_cee_tc_params() 680 tc_cfg->pgid = pgid; in qlcnic_dcb_fill_cee_tc_params() 683 type->pg_cfg[tc_cfg->pgid].prio_count++; in qlcnic_dcb_fill_cee_tc_params() 794 u8 *pgid, u8 *bw_per, u8 *up_tc_map) in qlcnic_dcb_get_pg_tc_cfg_tx() argument 802 *prio = *pgid = *bw_per = *up_tc_map = 0; in qlcnic_dcb_get_pg_tc_cfg_tx() 815 *pgid = tc_cfg->pgid; in qlcnic_dcb_get_pg_tc_cfg_tx() 818 pg = *pgid; in qlcnic_dcb_get_pg_tc_cfg_tx() [all …]
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_dcbx.c | 1290 u8 *pgid, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgtx() argument 1296 *prio_type = *pgid = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgtx() 1306 *pgid = dcbx_info->operational.params.ets_pri_tc_tbl[tc]; in qed_dcbnl_getpgtccfgtx() 1310 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgtx() argument 1316 DP_VERBOSE(hwfn, QED_MSG_DCB, "pgid = %d\n", pgid); in qed_dcbnl_getpgbwgcfgtx() 1317 if (pgid < 0 || pgid >= QED_MAX_PFC_PRIORITIES) { in qed_dcbnl_getpgbwgcfgtx() 1318 DP_INFO(hwfn, "Invalid pgid %d\n", pgid); in qed_dcbnl_getpgbwgcfgtx() 1326 *bw_pct = dcbx_info->operational.params.ets_tc_bw_tbl[pgid]; in qed_dcbnl_getpgbwgcfgtx() 1504 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qed_dcbnl_setpgtccfgtx() argument 1513 tc, pri_type, pgid, bw_pct, up_map); in qed_dcbnl_setpgtccfgtx() [all …]
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dcb.c | 1980 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_tx() argument 1985 DP(BNX2X_MSG_DCB, "prio[%d] = %d\n", prio, pgid); in bnx2x_dcbnl_set_pg_tccfg_tx() 2002 bp->dcbx_config_params.admin_configuration_ets_pg[prio] = pgid; in bnx2x_dcbnl_set_pg_tccfg_tx() 2007 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_tx() argument 2010 DP(BNX2X_MSG_DCB, "pgid[%d] = %d\n", pgid, bw_pct); in bnx2x_dcbnl_set_pg_bwgcfg_tx() 2012 if (!bnx2x_dcbnl_set_valid(bp) || pgid >= DCBX_MAX_NUM_PG_BW_ENTRIES) in bnx2x_dcbnl_set_pg_bwgcfg_tx() 2015 bp->dcbx_config_params.admin_configuration_bw_precentage[pgid] = bw_pct; in bnx2x_dcbnl_set_pg_bwgcfg_tx() 2020 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_rx() argument 2028 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_rx() argument 2035 u8 *prio_type, u8 *pgid, u8 *bw_pct, in bnx2x_dcbnl_get_pg_tccfg_tx() argument [all …]
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_defs_cna.h | 163 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member
|
/drivers/s390/block/ |
D | dasd_eckd.h | 412 __u8 pgid[11]; member
|
D | dasd_eckd.c | 5289 seq_printf(m, "%02x", entry->pgid[j]); in dasd_hosts_print()
|
/drivers/scsi/bfa/ |
D | bfa_defs_svc.h | 1368 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member
|