Lines Matching refs:smi_addr
811 struct ipmi_system_interface_addr *smi_addr; in i_ipmi_request() local
814 smi_addr = (struct ipmi_system_interface_addr *) addr; in i_ipmi_request()
815 if (smi_addr->lun > 3) in i_ipmi_request()
818 memcpy(&recv_msg->addr, smi_addr, sizeof(*smi_addr)); in i_ipmi_request()
836 smi_msg->data[0] = (msg->netfn << 2) | (smi_addr->lun & 0x3); in i_ipmi_request()
1347 struct ipmi_system_interface_addr *smi_addr; in copy_event_into_recv_msg() local
1350 smi_addr = (struct ipmi_system_interface_addr *) &(recv_msg->addr); in copy_event_into_recv_msg()
1351 smi_addr->addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in copy_event_into_recv_msg()
1352 smi_addr->channel = IPMI_BMC_CHANNEL; in copy_event_into_recv_msg()
1353 smi_addr->lun = msg->rsp[0] & 3; in copy_event_into_recv_msg()
1480 struct ipmi_system_interface_addr *smi_addr; in handle_bmc_rsp() local
1484 smi_addr = ((struct ipmi_system_interface_addr *) in handle_bmc_rsp()
1486 smi_addr->addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in handle_bmc_rsp()
1487 smi_addr->channel = IPMI_BMC_CHANNEL; in handle_bmc_rsp()
1488 smi_addr->lun = msg->rsp[0] & 3; in handle_bmc_rsp()