Lines Matching refs:qports
1337 struct qeth_sbp_port_data *qports = &cmd->data.sbp.data.port_data; in qeth_bridge_state_change() local
1341 if (qports->num_entries == 0) { in qeth_bridge_state_change()
1345 if (qports->entry_length != sizeof(struct qeth_sbp_port_entry)) { in qeth_bridge_state_change()
1346 QETH_CARD_TEXT_(card, 2, "BPsz%04x", qports->entry_length); in qeth_bridge_state_change()
1358 data->role = qports->entry[0].role; in qeth_bridge_state_change()
1359 data->state = qports->entry[0].state; in qeth_bridge_state_change()
1547 } qports; member
1722 struct qeth_sbp_port_data *qports; in qeth_bridgeport_query_ports_cb() local
1730 qports = &cmd->data.sbp.data.port_data; in qeth_bridgeport_query_ports_cb()
1731 if (qports->entry_length != sizeof(struct qeth_sbp_port_entry)) { in qeth_bridgeport_query_ports_cb()
1732 QETH_CARD_TEXT_(card, 2, "SBPs%04x", qports->entry_length); in qeth_bridgeport_query_ports_cb()
1736 if (qports->num_entries > 0) { in qeth_bridgeport_query_ports_cb()
1737 if (cbctl->data.qports.role) in qeth_bridgeport_query_ports_cb()
1738 *cbctl->data.qports.role = qports->entry[0].role; in qeth_bridgeport_query_ports_cb()
1739 if (cbctl->data.qports.state) in qeth_bridgeport_query_ports_cb()
1740 *cbctl->data.qports.state = qports->entry[0].state; in qeth_bridgeport_query_ports_cb()
1761 .qports = { in qeth_bridgeport_query_ports()