Lines Matching refs:ipmb_addr
1793 struct ipmi_ipmb_addr *ipmb_addr, in format_ipmb_msg() argument
1805 smi_msg->data[2] = ipmb_addr->channel; in format_ipmb_msg()
1808 smi_msg->data[i+3] = ipmb_addr->slave_addr; in format_ipmb_msg()
1809 smi_msg->data[i+4] = (msg->netfn << 2) | (ipmb_addr->lun & 0x3); in format_ipmb_msg()
1991 struct ipmi_ipmb_addr *ipmb_addr; in i_ipmi_req_ipmb() local
2030 ipmb_addr = (struct ipmi_ipmb_addr *) addr; in i_ipmi_req_ipmb()
2031 if (ipmb_addr->lun > 3) { in i_ipmi_req_ipmb()
2036 memcpy(&recv_msg->addr, ipmb_addr, sizeof(*ipmb_addr)); in i_ipmi_req_ipmb()
2044 format_ipmb_msg(smi_msg, msg, ipmb_addr, msgid, in i_ipmi_req_ipmb()
2092 format_ipmb_msg(smi_msg, msg, ipmb_addr, in i_ipmi_req_ipmb()
3815 struct ipmi_ipmb_addr ipmb_addr; in handle_ipmb_get_msg_rsp() local
3833 ipmb_addr.addr_type = IPMI_IPMB_ADDR_TYPE; in handle_ipmb_get_msg_rsp()
3834 ipmb_addr.slave_addr = msg->rsp[6]; in handle_ipmb_get_msg_rsp()
3835 ipmb_addr.channel = msg->rsp[3] & 0x0f; in handle_ipmb_get_msg_rsp()
3836 ipmb_addr.lun = msg->rsp[7] & 3; in handle_ipmb_get_msg_rsp()
3847 (struct ipmi_addr *) &ipmb_addr, in handle_ipmb_get_msg_rsp()
3884 struct ipmi_ipmb_addr *ipmb_addr; in handle_ipmb_get_msg_cmd() local
3955 ipmb_addr = (struct ipmi_ipmb_addr *) &recv_msg->addr; in handle_ipmb_get_msg_cmd()
3956 ipmb_addr->addr_type = IPMI_IPMB_ADDR_TYPE; in handle_ipmb_get_msg_cmd()
3957 ipmb_addr->slave_addr = msg->rsp[6]; in handle_ipmb_get_msg_cmd()
3958 ipmb_addr->lun = msg->rsp[7] & 3; in handle_ipmb_get_msg_cmd()
3959 ipmb_addr->channel = msg->rsp[3] & 0xf; in handle_ipmb_get_msg_cmd()