Lines Matching refs:iob
85 struct qeth_cmd_buffer *iob; in qeth_l2_send_setdelmac() local
88 iob = qeth_ipa_alloc_cmd(card, ipacmd, QETH_PROT_IPV4, in qeth_l2_send_setdelmac()
90 if (!iob) in qeth_l2_send_setdelmac()
92 cmd = __ipa_cmd(iob); in qeth_l2_send_setdelmac()
95 return qeth_send_ipa_cmd(card, iob, qeth_l2_send_setdelmac_cb, NULL); in qeth_l2_send_setdelmac()
240 struct qeth_cmd_buffer *iob; in qeth_l2_send_setdelvlan() local
243 iob = qeth_ipa_alloc_cmd(card, ipacmd, QETH_PROT_IPV4, in qeth_l2_send_setdelvlan()
245 if (!iob) in qeth_l2_send_setdelvlan()
247 cmd = __ipa_cmd(iob); in qeth_l2_send_setdelvlan()
249 return qeth_send_ipa_cmd(card, iob, qeth_l2_send_setdelvlan_cb, NULL); in qeth_l2_send_setdelvlan()
1007 struct qeth_cmd_buffer *iob, in qeth_osn_assist_cb() argument
1010 qeth_notify_cmd(iob, 0); in qeth_osn_assist_cb()
1011 qeth_put_cmd(iob); in qeth_osn_assist_cb()
1016 struct qeth_cmd_buffer *iob; in qeth_osn_assist() local
1030 iob = qeth_alloc_cmd(&card->write, IPA_PDU_HEADER_SIZE + data_len, 1, in qeth_osn_assist()
1032 if (!iob) in qeth_osn_assist()
1035 qeth_prepare_ipa_cmd(card, iob, (u16) data_len); in qeth_osn_assist()
1036 memcpy(__ipa_cmd(iob), data, data_len); in qeth_osn_assist()
1037 iob->callback = qeth_osn_assist_cb; in qeth_osn_assist()
1038 return qeth_send_ipa_cmd(card, iob, NULL, NULL); in qeth_osn_assist()
1409 struct qeth_cmd_buffer *iob; in qeth_sbp_build_cmd() local
1411 iob = qeth_ipa_alloc_cmd(card, ipa_cmd, QETH_PROT_NONE, in qeth_sbp_build_cmd()
1415 if (!iob) in qeth_sbp_build_cmd()
1416 return iob; in qeth_sbp_build_cmd()
1418 hdr = &__ipa_cmd(iob)->data.sbp.hdr; in qeth_sbp_build_cmd()
1423 return iob; in qeth_sbp_build_cmd()
1452 struct qeth_cmd_buffer *iob; in qeth_bridgeport_query_support() local
1456 iob = qeth_sbp_build_cmd(card, IPA_SBP_QUERY_COMMANDS_SUPPORTED, in qeth_bridgeport_query_support()
1458 if (!iob) in qeth_bridgeport_query_support()
1461 if (qeth_send_ipa_cmd(card, iob, qeth_bridgeport_query_support_cb, in qeth_bridgeport_query_support()
1510 struct qeth_cmd_buffer *iob; in qeth_bridgeport_query_ports() local
1523 iob = qeth_sbp_build_cmd(card, IPA_SBP_QUERY_BRIDGE_PORTS, 0); in qeth_bridgeport_query_ports()
1524 if (!iob) in qeth_bridgeport_query_ports()
1527 return qeth_send_ipa_cmd(card, iob, qeth_bridgeport_query_ports_cb, in qeth_bridgeport_query_ports()
1549 struct qeth_cmd_buffer *iob; in qeth_bridgeport_setrole() local
1570 iob = qeth_sbp_build_cmd(card, setcmd, cmdlength); in qeth_bridgeport_setrole()
1571 if (!iob) in qeth_bridgeport_setrole()
1574 return qeth_send_ipa_cmd(card, iob, qeth_bridgeport_set_cb, NULL); in qeth_bridgeport_setrole()
1750 struct qeth_cmd_buffer *iob; in qeth_l2_vnicc_build_cmd() local
1752 iob = qeth_ipa_alloc_cmd(card, IPA_CMD_VNICC, QETH_PROT_NONE, in qeth_l2_vnicc_build_cmd()
1755 if (!iob) in qeth_l2_vnicc_build_cmd()
1758 hdr = &__ipa_cmd(iob)->data.vnicc.hdr; in qeth_l2_vnicc_build_cmd()
1761 return iob; in qeth_l2_vnicc_build_cmd()
1767 struct qeth_cmd_buffer *iob; in qeth_l2_vnicc_query_chars() local
1770 iob = qeth_l2_vnicc_build_cmd(card, IPA_VNICC_QUERY_CHARS, 0); in qeth_l2_vnicc_query_chars()
1771 if (!iob) in qeth_l2_vnicc_query_chars()
1774 return qeth_send_ipa_cmd(card, iob, qeth_l2_vnicc_request_cb, NULL); in qeth_l2_vnicc_query_chars()
1782 struct qeth_cmd_buffer *iob; in qeth_l2_vnicc_query_cmds() local
1785 iob = qeth_l2_vnicc_build_cmd(card, IPA_VNICC_QUERY_CMDS, in qeth_l2_vnicc_query_cmds()
1787 if (!iob) in qeth_l2_vnicc_query_cmds()
1790 __ipa_cmd(iob)->data.vnicc.data.query_cmds.vnic_char = vnic_char; in qeth_l2_vnicc_query_cmds()
1795 return qeth_send_ipa_cmd(card, iob, qeth_l2_vnicc_request_cb, &cbctl); in qeth_l2_vnicc_query_cmds()
1802 struct qeth_cmd_buffer *iob; in qeth_l2_vnicc_set_char() local
1805 iob = qeth_l2_vnicc_build_cmd(card, cmd, VNICC_DATA_SIZEOF(set_char)); in qeth_l2_vnicc_set_char()
1806 if (!iob) in qeth_l2_vnicc_set_char()
1809 __ipa_cmd(iob)->data.vnicc.data.set_char.vnic_char = vnic_char; in qeth_l2_vnicc_set_char()
1811 return qeth_send_ipa_cmd(card, iob, qeth_l2_vnicc_request_cb, NULL); in qeth_l2_vnicc_set_char()
1820 struct qeth_cmd_buffer *iob; in qeth_l2_vnicc_getset_timeout() local
1823 iob = qeth_l2_vnicc_build_cmd(card, cmd, in qeth_l2_vnicc_getset_timeout()
1825 if (!iob) in qeth_l2_vnicc_getset_timeout()
1828 getset_timeout = &__ipa_cmd(iob)->data.vnicc.data.getset_timeout; in qeth_l2_vnicc_getset_timeout()
1838 return qeth_send_ipa_cmd(card, iob, qeth_l2_vnicc_request_cb, &cbctl); in qeth_l2_vnicc_getset_timeout()