Lines Matching refs:netfn
243 unsigned char netfn; member
945 msg->msg.netfn |= 1; /* Convert to a response. */ in deliver_err_response()
1072 unsigned char netfn, in intf_find_seq() argument
1087 && (msg->msg.netfn == netfn) in intf_find_seq()
1607 unsigned char netfn, in find_cmd_rcvr() argument
1614 if ((rcvr->netfn == netfn) && (rcvr->cmd == cmd) in find_cmd_rcvr()
1622 unsigned char netfn, in is_cmd_rcvr_exclusive() argument
1629 if ((rcvr->netfn == netfn) && (rcvr->cmd == cmd) in is_cmd_rcvr_exclusive()
1637 unsigned char netfn, in ipmi_register_for_cmd() argument
1655 rcvr->netfn = netfn; in ipmi_register_for_cmd()
1661 if (!is_cmd_rcvr_exclusive(intf, netfn, cmd, chans)) { in ipmi_register_for_cmd()
1682 unsigned char netfn, in ipmi_unregister_for_cmd() argument
1699 rcvr = find_cmd_rcvr(intf, netfn, cmd, i); in ipmi_unregister_for_cmd()
1755 smi_msg->data[i+4] = (msg->netfn << 2) | (ipmb_addr->lun & 0x3); in format_ipmb_msg()
1792 smi_msg->data[5] = (msg->netfn << 2) | (lan_addr->lun & 0x3); in format_lan_msg()
1853 return (((msg->netfn == IPMI_NETFN_APP_REQUEST) in is_maintenance_mode_cmd()
1856 || (msg->netfn == IPMI_NETFN_FIRMWARE_REQUEST)); in is_maintenance_mode_cmd()
1870 if (msg->netfn & 1) in i_ipmi_req_sysintf()
1882 if ((msg->netfn == IPMI_NETFN_APP_REQUEST) in i_ipmi_req_sysintf()
1914 smi_msg->data[0] = (msg->netfn << 2) | (smi_addr->lun & 0x3); in i_ipmi_req_sysintf()
1984 if (recv_msg->msg.netfn & 0x1) { in i_ipmi_req_ipmb()
2112 if (recv_msg->msg.netfn & 0x1) { in i_ipmi_req_lan()
2377 || (msg->msg.netfn != IPMI_NETFN_APP_RESPONSE) in bmc_device_id_handler()
2381 msg->addr.addr_type, msg->msg.netfn, msg->msg.cmd); in bmc_device_id_handler()
2385 rv = ipmi_demangle_device_id(msg->msg.netfn, msg->msg.cmd, in bmc_device_id_handler()
2412 msg.netfn = IPMI_NETFN_APP_REQUEST; in send_get_device_id_cmd()
3135 msg.netfn = IPMI_NETFN_APP_REQUEST; in send_guid_cmd()
3158 || (msg->msg.netfn != IPMI_NETFN_APP_RESPONSE) in guid_handler()
3219 msg.netfn = IPMI_NETFN_APP_REQUEST; in send_channel_info_cmd()
3247 && (msg->msg.netfn == IPMI_NETFN_APP_RESPONSE) in channel_handler()
3667 recv_msg->msg.netfn = msg->rsp[4] >> 2; in handle_ipmb_get_msg_rsp()
3684 unsigned char netfn; in handle_ipmb_get_msg_cmd() local
3702 netfn = msg->rsp[4] >> 2; in handle_ipmb_get_msg_cmd()
3707 rcvr = find_cmd_rcvr(intf, netfn, cmd, chan); in handle_ipmb_get_msg_cmd()
3723 msg->data[4] = ((netfn + 1) << 2) | (msg->rsp[7] & 0x3); in handle_ipmb_get_msg_cmd()
3771 recv_msg->msg.netfn = msg->rsp[4] >> 2; in handle_ipmb_get_msg_cmd()
3847 recv_msg->msg.netfn = msg->rsp[6] >> 2; in handle_lan_get_msg_rsp()
3864 unsigned char netfn; in handle_lan_get_msg_cmd() local
3882 netfn = msg->rsp[6] >> 2; in handle_lan_get_msg_cmd()
3887 rcvr = find_cmd_rcvr(intf, netfn, cmd, chan); in handle_lan_get_msg_cmd()
3931 recv_msg->msg.netfn = msg->rsp[6] >> 2; in handle_lan_get_msg_cmd()
3963 unsigned char netfn; in handle_oem_get_msg_cmd() local
3989 netfn = msg->rsp[0] >> 2; in handle_oem_get_msg_cmd()
3994 rcvr = find_cmd_rcvr(intf, netfn, cmd, chan); in handle_oem_get_msg_cmd()
4038 recv_msg->msg.netfn = msg->rsp[0] >> 2; in handle_oem_get_msg_cmd()
4070 recv_msg->msg.netfn = msg->rsp[0] >> 2; in copy_event_into_recv_msg()
4199 recv_msg->msg.netfn = msg->rsp[0] >> 2; in handle_bmc_rsp()
4881 && (msg->msg.netfn == IPMI_NETFN_SENSOR_EVENT_RESPONSE) in event_receiver_fetcher()
4893 && (msg->msg.netfn == IPMI_NETFN_APP_RESPONSE) in device_id_fetcher()
4924 msg.netfn = 0x04; /* Sensor or Event. */ in send_panic_events()
4976 msg.netfn = IPMI_NETFN_APP_REQUEST; in send_panic_events()
4985 msg.netfn = IPMI_NETFN_SENSOR_EVENT_REQUEST; in send_panic_events()
5024 msg.netfn = IPMI_NETFN_STORAGE_REQUEST; /* Storage. */ in send_panic_events()