Searched refs:sw_info (Results 1 – 4 of 4) sorted by relevance
469 struct qeth_switch_info sw_info; in qeth_dev_switch_attrs_show() local 475 rc = qeth_query_switch_attributes(card, &sw_info); in qeth_dev_switch_attrs_show() 479 if (!sw_info.capabilities) in qeth_dev_switch_attrs_show() 482 if (sw_info.capabilities & QETH_SWITCH_FORW_802_1) in qeth_dev_switch_attrs_show() 484 (sw_info.settings & QETH_SWITCH_FORW_802_1 ? in qeth_dev_switch_attrs_show() 486 if (sw_info.capabilities & QETH_SWITCH_FORW_REFL_RELAY) in qeth_dev_switch_attrs_show() 488 (sw_info.settings & in qeth_dev_switch_attrs_show()
1072 struct qeth_switch_info *sw_info);
1225 int i, sw_info, net_diag; in el3_up() local 1244 /* Combine secondary sw_info word (the adapter level) and primary in el3_up() 1245 sw_info word (duplex setting plus other useless bits) */ in el3_up() 1247 sw_info = (read_eeprom(ioaddr, 0x14) & 0x400f) | in el3_up() 1257 if (sw_info & 0x000f) { in el3_up() 1264 if ((sw_info & 0x000f) && (sw_info & 0x8000)) { in el3_up() 1276 pr_cont(" if_port: %d, sw_info: %4.4x\n", dev->if_port, sw_info); in el3_up()
308 struct kvaser_cmd_sw_info sw_info; member 1831 le16_to_cpu(cmd.sw_info.max_outstanding_tx)); in kvaser_usb_hydra_get_software_info()