Home
last modified time | relevance | path

Searched refs:sw_info (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/s390/net/
Dqeth_core_sys.c532 struct qeth_switch_info sw_info; in qeth_dev_switch_attrs_show() local
541 rc = qeth_query_switch_attributes(card, &sw_info); in qeth_dev_switch_attrs_show()
545 if (!sw_info.capabilities) in qeth_dev_switch_attrs_show()
548 if (sw_info.capabilities & QETH_SWITCH_FORW_802_1) in qeth_dev_switch_attrs_show()
549 rc = sprintf(buf, (sw_info.settings & QETH_SWITCH_FORW_802_1 ? in qeth_dev_switch_attrs_show()
551 if (sw_info.capabilities & QETH_SWITCH_FORW_REFL_RELAY) in qeth_dev_switch_attrs_show()
553 (sw_info.settings & QETH_SWITCH_FORW_REFL_RELAY ? in qeth_dev_switch_attrs_show()
Dqeth_core_main.c3088 struct qeth_switch_info *sw_info; in qeth_query_switch_attributes_cb() local
3094 sw_info = (struct qeth_switch_info *)reply->param; in qeth_query_switch_attributes_cb()
3096 sw_info->capabilities = attrs->capabilities; in qeth_query_switch_attributes_cb()
3097 sw_info->settings = attrs->settings; in qeth_query_switch_attributes_cb()
3098 QETH_CARD_TEXT_(card, 2, "%04x%04x", sw_info->capabilities, in qeth_query_switch_attributes_cb()
3099 sw_info->settings); in qeth_query_switch_attributes_cb()
3104 struct qeth_switch_info *sw_info) in qeth_query_switch_attributes() argument
3118 qeth_query_switch_attributes_cb, sw_info); in qeth_query_switch_attributes()
Dqeth_core.h1006 struct qeth_switch_info *sw_info);
/Linux-v4.19/drivers/net/ethernet/3com/
D3c509.c1233 int i, sw_info, net_diag; in el3_up() local
1255 sw_info = (read_eeprom(ioaddr, 0x14) & 0x400f) | in el3_up()
1265 if (sw_info & 0x000f) { in el3_up()
1271 if ((sw_info & 0x000f) && (sw_info & 0x8000)) { in el3_up()
1282 pr_cont(" if_port: %d, sw_info: %4.4x\n", dev->if_port, sw_info); in el3_up()
/Linux-v4.19/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c271 struct kvaser_cmd_sw_info sw_info; member
1670 le16_to_cpu(cmd.sw_info.max_outstanding_tx)); in kvaser_usb_hydra_get_software_info()