Searched refs:lan_addr (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/char/ipmi/
H A Dipmi_msghandler.c1455 struct ipmi_lan_addr *lan_addr, format_lan_msg()
1463 smi_msg->data[2] = lan_addr->channel; format_lan_msg()
1464 smi_msg->data[3] = lan_addr->session_handle; format_lan_msg()
1465 smi_msg->data[4] = lan_addr->remote_SWID; format_lan_msg()
1466 smi_msg->data[5] = (msg->netfn << 2) | (lan_addr->lun & 0x3); format_lan_msg()
1468 smi_msg->data[7] = lan_addr->local_SWID; format_lan_msg()
1783 struct ipmi_lan_addr *lan_addr; i_ipmi_request() local
1815 lan_addr = (struct ipmi_lan_addr *) addr; i_ipmi_request()
1816 if (lan_addr->lun > 3) { i_ipmi_request()
1822 memcpy(&recv_msg->addr, lan_addr, sizeof(*lan_addr)); i_ipmi_request()
1830 format_lan_msg(smi_msg, msg, lan_addr, msgid, i_ipmi_request()
1871 format_lan_msg(smi_msg, msg, lan_addr, i_ipmi_request()
3210 struct ipmi_lan_addr lan_addr; handle_lan_get_msg_rsp() local
3229 lan_addr.addr_type = IPMI_LAN_ADDR_TYPE; handle_lan_get_msg_rsp()
3230 lan_addr.session_handle = msg->rsp[4]; handle_lan_get_msg_rsp()
3231 lan_addr.remote_SWID = msg->rsp[8]; handle_lan_get_msg_rsp()
3232 lan_addr.local_SWID = msg->rsp[5]; handle_lan_get_msg_rsp()
3233 lan_addr.channel = msg->rsp[3] & 0x0f; handle_lan_get_msg_rsp()
3234 lan_addr.privilege = msg->rsp[3] >> 4; handle_lan_get_msg_rsp()
3235 lan_addr.lun = msg->rsp[9] & 3; handle_lan_get_msg_rsp()
3246 (struct ipmi_addr *) &(lan_addr), handle_lan_get_msg_rsp()
3283 struct ipmi_lan_addr *lan_addr; handle_lan_get_msg_cmd() local
3333 lan_addr = (struct ipmi_lan_addr *) &recv_msg->addr; handle_lan_get_msg_cmd()
3334 lan_addr->addr_type = IPMI_LAN_ADDR_TYPE; handle_lan_get_msg_cmd()
3335 lan_addr->session_handle = msg->rsp[4]; handle_lan_get_msg_cmd()
3336 lan_addr->remote_SWID = msg->rsp[8]; handle_lan_get_msg_cmd()
3337 lan_addr->local_SWID = msg->rsp[5]; handle_lan_get_msg_cmd()
3338 lan_addr->lun = msg->rsp[9] & 3; handle_lan_get_msg_cmd()
3339 lan_addr->channel = msg->rsp[3] & 0xf; handle_lan_get_msg_cmd()
3340 lan_addr->privilege = msg->rsp[3] >> 4; handle_lan_get_msg_cmd()
1453 format_lan_msg(struct ipmi_smi_msg *smi_msg, struct kernel_ipmi_msg *msg, struct ipmi_lan_addr *lan_addr, long msgid, unsigned char ipmb_seq, unsigned char source_lun) format_lan_msg() argument
/linux-4.4.14/arch/parisc/include/asm/
H A Dpdc.h289 int pdc_lan_station_id(char *lan_addr, unsigned long net_hpa);
/linux-4.4.14/arch/parisc/kernel/
H A Dfirmware.c636 * @lan_addr: The return buffer.
641 int pdc_lan_station_id(char *lan_addr, unsigned long hpa) pdc_lan_station_id() argument
651 memset(lan_addr, 0, PDC_LAN_STATION_ID_SIZE); pdc_lan_station_id()
653 memcpy(lan_addr, pdc_result, PDC_LAN_STATION_ID_SIZE); pdc_lan_station_id()

Completed in 167 milliseconds