/drivers/net/ethernet/cavium/liquidio/ |
D | lio_vf_main.c | 268 struct oct_link_info *linfo = &lio->linfo; in print_link_info() local 270 if (linfo->link.s.link_up) { in print_link_info() 272 linfo->link.s.speed, in print_link_info() 273 (linfo->link.s.duplex) ? "Full" : "Half"); in print_link_info() 294 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change() 342 int current_max_mtu = lio->linfo.link.s.mtu; in update_link_status() 345 if ((lio->intf_open) && (lio->linfo.link.u64 != ls->u64)) { in update_link_status() 346 lio->linfo.link.u64 = ls->u64; in update_link_status() 351 if (lio->linfo.link.s.link_up) { in update_link_status() 359 if (lio->linfo.link.s.mtu != current_max_mtu) { in update_link_status() [all …]
|
D | lio_ethtool.c | 220 struct oct_link_info *linfo; in lio_get_link_ksettings() local 222 linfo = &lio->linfo; in lio_get_link_ksettings() 227 switch (linfo->link.s.phy_type) { in lio_get_link_ksettings() 243 if (linfo->link.s.if_mode == INTERFACE_MODE_XAUI || in lio_get_link_ksettings() 244 linfo->link.s.if_mode == INTERFACE_MODE_RXAUI || in lio_get_link_ksettings() 245 linfo->link.s.if_mode == INTERFACE_MODE_XLAUI || in lio_get_link_ksettings() 246 linfo->link.s.if_mode == INTERFACE_MODE_XFI) { in lio_get_link_ksettings() 251 linfo->link.s.if_mode); in lio_get_link_ksettings() 330 if (linfo->link.s.speed == 10000) { in lio_get_link_ksettings() 352 if (linfo->link.s.speed == 25000) { in lio_get_link_ksettings() [all …]
|
D | lio_main.c | 476 iq = lio->linfo.txpciq[q % in check_txq_status() 501 struct oct_link_info *linfo = &lio->linfo; in print_link_info() local 503 if (linfo->link.s.link_up) { in print_link_info() 505 linfo->link.s.speed, in print_link_info() 506 (linfo->link.s.duplex) ? "Full" : "Half"); in print_link_info() 527 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change() 575 int changed = (lio->linfo.link.u64 != ls->u64); in update_link_status() 576 int current_max_mtu = lio->linfo.link.s.mtu; in update_link_status() 580 __func__, lio->linfo.link.u64, ls->u64); in update_link_status() 581 lio->linfo.link.u64 = ls->u64; in update_link_status() [all …]
|
D | lio_core.c | 170 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_feature() 410 lio->linfo.macaddr_is_admin_asgnd = true; in octeon_pf_changed_vf_macaddr() 415 ether_addr_copy(((u8 *)&lio->linfo.hw_addr) + 2, mac); in octeon_pf_changed_vf_macaddr() 464 q_no = lio->linfo.rxpciq[q].s.q_no; in setup_rx_oom_poll_fn() 517 lio->linfo.link.s.link_up && in lio_update_txq_status() 833 q_no = lio->linfo.rxpciq[q].s.q_no; in liquidio_setup_io_queues() 880 lio->linfo.txpciq[q], num_tx_descs, in liquidio_setup_io_queues() 1231 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_change_mtu() 1410 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in lio_fetch_vf_stats() 1485 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in lio_fetch_stats() [all …]
|
D | octeon_network.h | 132 struct oct_link_info linfo; member 577 qno = lio->linfo.txpciq[i % lio->oct_dev->num_iqs].s.q_no; in wake_txqs() 596 if (lio->linfo.link.s.link_up) { in start_txqs()
|
D | liquidio_common.h | 797 struct oct_link_info linfo; /** initial link information */ member
|
D | lio_vf_rep.c | 456 ether_addr_copy(ppid->id, (void *)&lio->linfo.hw_addr + 2); in lio_vf_get_port_parent_id()
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | cgx.c | 213 struct cgx_link_user_info *linfo) in cgx_get_link_info() argument 220 *linfo = lmac->link_info; in cgx_get_link_info() 667 static int cgx_set_fec_stats_count(struct cgx_link_user_info *linfo) in cgx_set_fec_stats_count() argument 669 if (!linfo->fec) in cgx_set_fec_stats_count() 672 switch (linfo->lmac_type_id) { in cgx_set_fec_stats_count() 686 if (linfo->fec == OTX2_FEC_BASER) in cgx_set_fec_stats_count() 1091 struct cgx_link_user_info *linfo, in link_status_user_format() argument 1096 linfo->link_up = FIELD_GET(RESP_LINKSTAT_UP, lstat); in link_status_user_format() 1097 linfo->full_duplex = FIELD_GET(RESP_LINKSTAT_FDUPLEX, lstat); in link_status_user_format() 1098 linfo->speed = cgx_speed_mbps[FIELD_GET(RESP_LINKSTAT_SPEED, lstat)]; in link_status_user_format() [all …]
|
D | rvu_cgx.c | 228 struct cgx_link_user_info *linfo; in cgx_notify_pfs() local 233 linfo = &event->link_uinfo; in cgx_notify_pfs() 244 linfo->link_up ? "UP" : "DOWN"); in cgx_notify_pfs() 252 msg->link_info = *linfo; in cgx_notify_pfs()
|
D | cgx.h | 150 struct cgx_link_user_info *linfo);
|
D | rvu_debugfs.c | 1952 struct cgx_link_user_info linfo; in cgx_print_stats() local 1972 err = cgx_get_link_info(cgxd, lmac_id, &linfo); in cgx_print_stats() 1976 linfo.link_up ? "UP" : "DOWN", linfo.speed); in cgx_print_stats()
|
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 228 if (pfvf->linfo.fec == OTX2_FEC_BASER) { in otx2_get_ethtool_stats() 877 return pfvf->linfo.link_up; in otx2_get_link() 941 if (pfvf->linfo.fec < FEC_MAX_INDEX) in otx2_get_fecparam() 942 fecparam->active_fec = fec[pfvf->linfo.fec]; in otx2_get_fecparam() 983 if (fec == pfvf->linfo.fec) in otx2_set_fecparam() 1000 pfvf->linfo.fec = rsp->fec; in otx2_set_fecparam() 1115 cmd->base.duplex = pfvf->linfo.full_duplex; in otx2_get_link_ksettings() 1116 cmd->base.speed = pfvf->linfo.speed; in otx2_get_link_ksettings() 1117 cmd->base.autoneg = pfvf->linfo.an; in otx2_get_link_ksettings()
|
D | otx2_pf.c | 842 struct cgx_link_user_info *linfo = &pf->linfo; in otx2_handle_link_event() local 846 linfo->link_up ? "UP" : "DOWN", linfo->speed, in otx2_handle_link_event() 847 linfo->full_duplex ? "Full" : "Half"); in otx2_handle_link_event() 848 if (linfo->link_up) { in otx2_handle_link_event() 864 pf->linfo = msg->link_info; in otx2_mbox_up_handler_cgx_link_event() 1785 if (pf->linfo.link_up && !(pf->pcifunc & RVU_PFVF_FUNC_MASK)) in otx2_open() 2832 memcpy(&req->link_info, &pf->linfo, sizeof(req->link_info)); in otx2_vf_link_event_task()
|
D | otx2_common.h | 357 struct cgx_link_user_info linfo; member
|
/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_symbol.c | 116 if (symbol->info.linfo != NULL) in symbol_delete() 117 free(symbol->info.linfo); in symbol_delete() 520 if (cursym->info.linfo->exported == 0) in symtable_dump() 685 curnode->symbol->info.linfo->address); in symtable_dump()
|
D | aicasm_gram.y | 1043 $2->info.linfo->address = instruction_ptr; 1044 $2->info.linfo->exported = $1; 1534 symbol->info.linfo = in initialize_symbol() 1536 if (symbol->info.linfo == NULL) { in initialize_symbol() 1540 memset(symbol->info.linfo, 0, in initialize_symbol() 1804 addr = address->symbol->info.linfo->address + address->offset; in format_3_instr()
|
D | aicasm_symbol.h | 133 struct label_info *linfo; member
|
D | aicasm.c | 342 address += cur_instr->patch_label->info.linfo->address; in back_patch()
|
/drivers/media/i2c/ccs/ |
D | ccs-core.c | 94 const struct ccs_limit *linfo; in ccs_limit_ptr() local 99 linfo = &ccs_limits[ccs_limit_offsets[limit].info]; in ccs_limit_ptr() 102 WARN_ON(offset + ccs_reg_width(linfo->reg) > in ccs_limit_ptr() 115 const struct ccs_limit *linfo; in ccs_replace_limit() local 123 linfo = &ccs_limits[ccs_limit_offsets[limit].info]; in ccs_replace_limit() 126 linfo->reg, linfo->name, offset, val, val); in ccs_replace_limit() 128 ccs_assign_limit(ptr, ccs_reg_width(linfo->reg), val); in ccs_replace_limit()
|