Lines Matching refs:ipmb_addr
1319 struct ipmi_ipmb_addr *ipmb_addr,
1331 smi_msg->data[2] = ipmb_addr->channel;
1334 smi_msg->data[i+3] = ipmb_addr->slave_addr;
1335 smi_msg->data[i+4] = (msg->netfn << 2) | (ipmb_addr->lun & 0x3);
1525 struct ipmi_ipmb_addr *ipmb_addr;
1574 ipmb_addr = (struct ipmi_ipmb_addr *) addr;
1575 if (ipmb_addr->lun > 3) {
1581 memcpy(&recv_msg->addr, ipmb_addr, sizeof(*ipmb_addr));
1589 format_ipmb_msg(smi_msg, msg, ipmb_addr, msgid,
1631 format_ipmb_msg(smi_msg, msg, ipmb_addr,
2954 struct ipmi_ipmb_addr ipmb_addr;
2972 ipmb_addr.addr_type = IPMI_IPMB_ADDR_TYPE;
2973 ipmb_addr.slave_addr = msg->rsp[6];
2974 ipmb_addr.channel = msg->rsp[3] & 0x0f;
2975 ipmb_addr.lun = msg->rsp[7] & 3;
2986 (struct ipmi_addr *) &(ipmb_addr),
3023 struct ipmi_ipmb_addr *ipmb_addr;
3105 ipmb_addr = (struct ipmi_ipmb_addr *) &recv_msg->addr;
3106 ipmb_addr->addr_type = IPMI_IPMB_ADDR_TYPE;
3107 ipmb_addr->slave_addr = msg->rsp[6];
3108 ipmb_addr->lun = msg->rsp[7] & 3;
3109 ipmb_addr->channel = msg->rsp[3] & 0xf;