Home
last modified time | relevance | path

Searched refs:netfn (Results 1 – 25 of 92) sorted by relevance

1234

/openbmc/ipmitool/lib/
H A Dipmi_firewall.c835 (p->netfn < 0 || bmc->lun[p->lun].netfn[p->netfn>>1].support))) { in _gather_info()
844 &(bmc->lun[p->lun].netfn[p->netfn>>1].command[p->command])); in _gather_info()
848 &(bmc->lun[p->lun].netfn[p->netfn>>1].command[p->command])); in _gather_info()
855 p->netfn = n*2; in _gather_info()
865 p->netfn = -1; in _gather_info()
883 p->netfn = -1; in _gather_info()
923 (p.netfn < 0 || bmc_fn_support->lun[p.lun].netfn[p.netfn>>1].support) && in ipmi_firewall_info()
933 &bmc_fn_support->lun[p.lun].netfn[p.netfn>>1].command[p.command]; in ipmi_firewall_info()
952 (bmc_fn_support->lun[p.lun].netfn[p.netfn>>1].support))) in ipmi_firewall_info()
1054 n = p.netfn>>1; in ipmi_firewall_enable_disable()
[all …]
H A Dipmi_raw.c82 req.msg.netfn = IPMI_NETFN_APP; in ipmi_master_write_read()
320 uint8_t netfn, cmd, lun; in ipmi_raw_main() local
343 if (is_valid_param(argv[0], &netfn, "netfn") != 0) in ipmi_raw_main()
350 netfn = netfn_tmp; in ipmi_raw_main()
358 req.msg.netfn = netfn; in ipmi_raw_main()
375 intf->target_channel & 0x0f, req.msg.netfn,req.msg.lun , in ipmi_raw_main()
385 intf->target_channel & 0x0f, req.msg.netfn, req.msg.lun, req.msg.cmd); in ipmi_raw_main()
391 intf->target_channel & 0x0f, req.msg.netfn, req.msg.lun, req.msg.cmd, rsp->ccode, in ipmi_raw_main()
H A Dipmi_vita.c180 req.msg.netfn = IPMI_NETFN_PICMG; in vita_discover()
234 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_vita_ipmb_address()
270 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_vita_getaddr()
326 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_vita_get_vso_capabilities()
392 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_vita_set_fru_activation()
435 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_vita_get_fru_state_policy_bits()
484 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_vita_set_fru_state_policy_bits()
531 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_vita_get_led_properties()
573 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_vita_get_led_color_capabilities()
637 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_vita_get_led_state()
[all …]
H A Dipmi_pef.c224 req.msg.netfn = IPMI_NETFN_SE; in ipmi_pef_get_policy_table()
276 req.msg.netfn = IPMI_NETFN_TRANSPORT; in ipmi_pef_print_lan_dest()
353 req.msg.netfn = IPMI_NETFN_TRANSPORT; in ipmi_pef_print_serial_dest_dial()
632 req.msg.netfn = IPMI_NETFN_SE; in ipmi_pef_list_entries()
642 req.msg.netfn = IPMI_NETFN_SE; in ipmi_pef_list_entries()
684 req.msg.netfn = IPMI_NETFN_APP; in ipmi_pef_list_policies()
751 req.msg.netfn = IPMI_NETFN_SE; in ipmi_pef_get_status()
775 req.msg.netfn = IPMI_NETFN_SE; in ipmi_pef_get_status()
817 req.msg.netfn = IPMI_NETFN_SE; in ipmi_pef_get_info()
832 req.msg.netfn = IPMI_NETFN_SE; in ipmi_pef_get_info()
[all …]
H A Dipmi_picmg.c560 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_picmg_getaddr()
1193 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_picmg_get_led_properties()
1233 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_picmg_get_led_capabilities()
1282 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_picmg_get_led_state()
1365 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_picmg_set_led_state()
1406 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_picmg_get_power_level()
1456 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_picmg_set_power_level()
1614 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_picmg_clk_get()
1712 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_picmg_clk_set()
2293 req.msg.netfn = IPMI_NETFN_PICMG; in ipmi_picmg_ipmb_address()
[all …]
H A Dipmi_mc.c72 req.msg.netfn = IPMI_NETFN_APP; in ipmi_mc_reset()
254 req.msg.netfn = IPMI_NETFN_APP; in ipmi_mc_get_enables()
304 req.msg.netfn = IPMI_NETFN_APP; in ipmi_mc_set_enables()
395 req.msg.netfn = IPMI_NETFN_APP; in ipmi_mc_get_deviceid()
498 req.msg.netfn = IPMI_NETFN_APP; in ipmi_mc_get_guid()
549 req.msg.netfn = IPMI_NETFN_APP; in ipmi_mc_get_selftest()
665 req.msg.netfn = IPMI_NETFN_APP; in ipmi_mc_get_watchdog()
714 req.msg.netfn = IPMI_NETFN_APP; in ipmi_mc_shutoff_watchdog()
769 req.msg.netfn = IPMI_NETFN_APP; in ipmi_mc_rst_watchdog()
948 req.msg.netfn = IPMI_NETFN_APP; in ipmi_mc_getsysinfo()
[all …]
/openbmc/intel-ipmi-oem/include/
H A Dcommandutils.hpp31 inline static void printRegistration(unsigned int netfn, unsigned int cmd) in printRegistration() argument
36 << netfn << "], Cmd:[0x" << cmd << "]\n"; in printRegistration()
40 inline static void ipmiPrintAndRegister(ipmi_netfn_t netfn, ipmi_cmd_t cmd, in ipmiPrintAndRegister() argument
45 printRegistration(netfn, cmd); in ipmiPrintAndRegister()
46 ipmi_register_callback(netfn, cmd, context, handler, priv); in ipmiPrintAndRegister()
49 inline static void printCommand(unsigned int netfn, unsigned int cmd) in printCommand() argument
54 << netfn << "], Cmd:[0x" << cmd << "]\n"; in printCommand()
/openbmc/skeleton/pyipmitest/
H A Dipmi_debug.py18 def header(seq, netfn, lun, cmd): argument
21 netfn,
27 def print_request(seq, netfn, lun, cmd, data): argument
28 str = header(seq, netfn, lun, cmd)
33 def print_response(seq, netfn, lun, cmd, cc, data): argument
34 str = header(seq, netfn, lun, cmd)
47 def ReceivedMessage(self, seq, netfn, lun, cmd, data): argument
49 print_request(seq, netfn, lun, cmd, data)
52 def sendMessage(self, seq, netfn, lun, cmd, ccode, data): argument
54 print_response(seq, netfn, lun, cmd, ccode, data)
/openbmc/fb-ipmi-oem/include/
H A Dcommandutils.hpp73 inline static void printRegistration(unsigned int netfn, unsigned int cmd) in printRegistration() argument
78 << netfn << "], Cmd:[0x" << cmd << "]\n"; in printRegistration()
82 inline static void ipmiPrintAndRegister(ipmi_netfn_t netfn, ipmi_cmd_t cmd, in ipmiPrintAndRegister() argument
87 printRegistration(netfn, cmd); in ipmiPrintAndRegister()
88 ipmi_register_callback(netfn, cmd, context, handler, priv); in ipmiPrintAndRegister()
91 inline static void printCommand(unsigned int netfn, unsigned int cmd) in printCommand() argument
96 << netfn << "], Cmd:[0x" << cmd << "]\n"; in printCommand()
/openbmc/intel-ipmi-oem/
H A Dgenerate-allowlist.py44 self.netfn = int(m[0], 16)
70 if self.netfn == other.netfn:
72 return self.netfn < other.netfn
75 return (self.netfn == other.netfn) and (self.cmd == other.cmd)
/openbmc/ipmitool/src/plugins/bmc/
H A Dbmc_intf.h67 #define GET_NETFN(netfn) (((netfn) >> 2) & 0x3f) argument
68 #define GET_LUN(netfn) (netfn & 0x3) argument
/openbmc/ipmitool/src/plugins/dummy/
H A Ddummy.c156 req.msg.netfn = 0x3f; in ipmi_dummyipmi_close()
218 req_dummy.msg.netfn = req->msg.netfn; in ipmi_dummyipmi_send_cmd()
228 lprintf(LOG_NOTICE, "msg.netfn: %x", req_dummy.msg.netfn); in ipmi_dummyipmi_send_cmd()
258 rsp.msg.netfn = rsp_dummy.msg.netfn; in ipmi_dummyipmi_send_cmd()
266 lprintf(LOG_NOTICE, "msg.netfn: %x", rsp.msg.netfn); in ipmi_dummyipmi_send_cmd()
H A Ddummy.h8 uint8_t netfn; member
19 uint8_t netfn; member
/openbmc/kcsbridge/src/
H A Dcmd.cpp45 const auto& [netfn, lun, cmd, cc, data] = ret; in write()
53 buffer[0] = (netfn | 1) << 2; in write()
92 uint8_t netfn = in[0] >> 2, lun = in[0] & 3, cmd = in[1]; in read() local
93 m.append(netfn, lun, cmd, in.subspan(2), options); in read()
/openbmc/linux/include/uapi/linux/
H A Dipmi.h149 unsigned char netfn; member
156 unsigned char netfn; member
340 unsigned char netfn; member
368 unsigned int netfn; member
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_poweroff.c194 send_msg.netfn = IPMI_NETFN_OEM; in pps_poweroff_atca()
224 send_msg.netfn = IPMI_NETFN_ATCA; in ipmi_atca_detect()
261 send_msg.netfn = IPMI_NETFN_ATCA; in ipmi_poweroff_atca()
336 send_msg.netfn = IPMI_NETFN_OEM_8 >> 2; in ipmi_poweroff_cpi1()
351 send_msg.netfn = IPMI_NETFN_SENSOR_EVT >> 2; in ipmi_poweroff_cpi1()
374 send_msg.netfn = IPMI_NETFN_OEM_8 >> 2; in ipmi_poweroff_cpi1()
385 send_msg.netfn = IPMI_NETFN_OEM_1 >> 2; in ipmi_poweroff_cpi1()
399 send_msg.netfn = IPMI_NETFN_OEM_1 >> 2; in ipmi_poweroff_cpi1()
485 send_msg.netfn = IPMI_NETFN_CHASSIS_REQUEST; in ipmi_poweroff_chassis()
582 send_msg.netfn = IPMI_NETFN_APP_REQUEST; in ipmi_po_new_smi()
H A Dipmi_devintf.c155 msg.netfn = req->msg.netfn; in handle_send_req()
245 rsp->msg.netfn = msg->msg.netfn; in handle_recv()
362 rv = ipmi_register_for_cmd(priv->user, val.netfn, val.cmd, in ipmi_ioctl()
376 rv = ipmi_unregister_for_cmd(priv->user, val.netfn, val.cmd, in ipmi_ioctl()
390 rv = ipmi_register_for_cmd(priv->user, val.netfn, val.cmd, in ipmi_ioctl()
404 rv = ipmi_unregister_for_cmd(priv->user, val.netfn, val.cmd, in ipmi_ioctl()
634 u8 netfn; member
667 p64->netfn = p32->netfn; in get_compat_ipmi_msg()
709 v32.msg.netfn = p64->msg.netfn; in copyout_recv32()
H A Dipmi_msghandler.c231 unsigned char netfn; member
1117 && (msg->msg.netfn == netfn) in intf_find_seq()
1662 if ((rcvr->netfn == netfn) && (rcvr->cmd == cmd) in find_cmd_rcvr()
1670 unsigned char netfn, in is_cmd_rcvr_exclusive() argument
1678 if ((rcvr->netfn == netfn) && (rcvr->cmd == cmd) in is_cmd_rcvr_exclusive()
1686 unsigned char netfn, in ipmi_register_for_cmd() argument
1704 rcvr->netfn = netfn; in ipmi_register_for_cmd()
1731 unsigned char netfn, in ipmi_unregister_for_cmd() argument
1920 if (msg->netfn & 1) in i_ipmi_req_sysintf()
3898 netfn = msg->rsp[4] >> 2; in handle_ipmb_get_msg_cmd()
[all …]
/openbmc/phosphor-host-ipmid/app/
H A Dchannel.hpp16 ipmi_ret_t ipmi_set_channel_access(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
33 ipmi_ret_t ipmi_get_channel_access(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
50 ipmi_ret_t ipmi_app_channel_info(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
/openbmc/phosphor-net-ipmid/
H A Dmessage.hpp57 uint8_t netfn; member
70 uint8_t netfn; member
176 command |= request->netfn << 8; in getCommand()
217 respHeader->netfn = reqHeader->netfn | 0x04; in createResponse()
/openbmc/ipmitool/src/plugins/open/
H A Dopen.c195 fprintf(stderr, " netfn = 0x%x\n", req->msg.netfn ); in ipmi_openipmi_send_cmd()
235 fprintf(stderr, " netfn = 0x%x\n", req->msg.netfn ); in ipmi_openipmi_send_cmd()
260 data[index++] = ( req->msg.netfn << 2 ) | req->msg.lun ; in ipmi_openipmi_send_cmd()
297 _req.msg.netfn = IPMI_NETFN_APP; in ipmi_openipmi_send_cmd()
303 _req.msg.netfn = req->msg.netfn; in ipmi_openipmi_send_cmd()
370 fprintf(stderr, " netfn = 0x%x\n", recv.msg.netfn); in ipmi_openipmi_send_cmd()
388 recv.msg.netfn = recv.msg.data[2] >> 2; in ipmi_openipmi_send_cmd()
396 fprintf(stderr, " netfn = 0x%x\n", recv.msg.netfn ); in ipmi_openipmi_send_cmd()
/openbmc/btbridge/
H A Dbtbridged.c59 uint8_t netfn; member
177 n->req.netfn = bt_data[1] >> 2; in bt_q_enqueue()
287 uint8_t netfn, lun, seq, cmd, cc; in method_send_message() local
300 r = sd_bus_message_read(msg, "yyyyy", &seq, &netfn, &lun, &cmd, &cc); in method_send_message()
324 bt_msg->rsp.netfn = netfn; in method_send_message()
371 data[1] = (bt_msg->rsp.netfn << 2) | (bt_msg->rsp.lun & 0x3); in bt_host_write()
469 head->rsp.netfn = head->req.netfn + 1; in dispatch_timer()
546 r = sd_bus_message_append(msg, "yyyy", new->req.seq, new->req.netfn, new->req.lun, new->req.cmd); in dispatch_bt()
559 new->req.seq, new->req.netfn, new->req.lun, new->req.cmd); in dispatch_bt()
600 "out to %s", bt_msg->rsp.seq, bt_msg->rsp.netfn, bt_msg->rsp.lun, in dispatch_bt()
[all …]
/openbmc/openbmc-tools/dbus-vis/
H A Dipmi_parse.js122 netfn: 0, property in munchLegacyMessageStart.entry
146 entry.netfn = x[0];
197 if (entry.netfn + 1 == x[0]) {
243 netfn: 0, property in munchNewMessageStart.entry
259 entry.netfn = x[0];
304 if (entry.netfn + 1 != x[0]) {
454 entry.netfn, entry.cmd, parseInt(entry.start_usec - time_shift),
/openbmc/dbus-sensors/src/
H A DIpmbSensor.cpp163 "sendRequest", commandAddress, netfn, lun, *initCommand, initData); in runInitCmd()
171 netfn = ipmi::sensor::netFn; in loadDefaults()
179 netfn = ipmi::me_bridge::netFn; in loadDefaults()
195 netfn = ipmi::me_bridge::netFn; in loadDefaults()
219 netfn = ipmi::me_bridge::netFn; in loadDefaults()
227 netfn = ipmi::sensor::netFn; in loadDefaults()
239 netfn = ipmi::me_bridge::netFn; in loadDefaults()
260 netfn = 0x30; in loadDefaults()
514 "sendRequest", commandAddress, netfn, lun, command, commandData); in sendIpmbRequest()
/openbmc/ipmitool/src/plugins/free/
H A Dfree.c208 uint8_t netfn = req->msg.netfn; in ipmi_free_send_cmd() local
246 netfn, in ipmi_free_send_cmd()
280 netfn, in ipmi_free_send_cmd()

1234