/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | cmsg.c | 54 msg = nfp_flower_cmsg_get_data(skb); in nfp_flower_cmsg_mac_repr_start() 55 memset(msg->reserved, 0, sizeof(msg->reserved)); in nfp_flower_cmsg_mac_repr_start() 56 msg->num_ports = num_ports; in nfp_flower_cmsg_mac_repr_start() 69 msg->ports[idx].idx = idx; in nfp_flower_cmsg_mac_repr_add() 88 msg->reserved = 0; in nfp_flower_cmsg_portmod() 89 msg->info = carrier_ok; in nfp_flower_cmsg_portmod() 94 msg->mtu = cpu_to_be16(mtu); in nfp_flower_cmsg_portmod() 114 msg->reserved = 0; in nfp_flower_cmsg_portreify() 115 msg->info = cpu_to_be16(exists); in nfp_flower_cmsg_portreify() 172 u16 mtu = be16_to_cpu(msg->mtu); in nfp_flower_cmsg_portmod_rx() [all …]
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_vbc.c | 30 msg = kmalloc(sizeof(*msg) + payload, GFP_KERNEL); in vboot_context_read() 31 if (!msg) in vboot_context_read() 40 msg->outsize = para_sz; in vboot_context_read() 41 msg->insize = resp_sz; in vboot_context_read() 46 kfree(msg); in vboot_context_read() 52 kfree(msg); in vboot_context_read() 73 msg = kmalloc(sizeof(*msg) + para_sz, GFP_KERNEL); in vboot_context_write() 74 if (!msg) in vboot_context_write() 84 msg->insize = 0; in vboot_context_write() 89 kfree(msg); in vboot_context_write() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-cp2615.c | 90 ret->msg = htons(msg); in cp2615_init_iop_msg() 133 msg, ntohs(msg->length), NULL, 0); in cp2615_i2c_send() 134 kfree(msg); in cp2615_i2c_send() 146 msg = kzalloc(sizeof(*msg), GFP_KERNEL); in cp2615_i2c_recv() 147 if (!msg) in cp2615_i2c_recv() 153 kfree(msg); in cp2615_i2c_recv() 159 kfree(msg); in cp2615_i2c_recv() 167 kfree(msg); in cp2615_i2c_recv() 183 msg, ntohs(msg->length), NULL, 0); in cp2615_check_iop() 192 if (msg->msg != htons(iop_AccessoryInfo)) { in cp2615_check_iop() [all …]
|
/openbmc/linux/net/atm/ |
H A D | signaling.c | 44 msg->type = as_error; in modify_qos() 49 msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos, in modify_qos() 51 if (!msg->reply) in modify_qos() 52 msg->type = as_okay; in modify_qos() 76 switch (msg->type) { in sigd_send() 155 msg->type = type; in sigd_enq2() 158 msg->reply = reply; in sigd_enq2() 160 msg->qos = *qos; in sigd_enq2() 162 msg->sap = vcc->sap; in sigd_enq2() 164 msg->svc = *svc; in sigd_enq2() [all …]
|
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/ |
H A D | suricata.py | 33 msg = ('suricata command does not work as expected. ' 35 self.assertEqual(status, 1, msg = msg) 42 msg = 'File could not be copied. Output: %s' % output 43 self.assertEqual(status, 0, msg=msg) 47 self.assertEqual(status, 0, msg = msg) 53 msg = ('suricata-update had an unexpected failure. ' 55 self.assertEqual(status, 0, msg = msg) 60 msg = ('suricata-update list-sources had an unexpected failure. ' 62 self.assertEqual(status, 0, msg = msg) 69 self.assertEqual(status, 0, msg = msg) [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | gcc.py | 36 msg = 'gcc compile failed, output: %s' % output 37 self.assertEqual(status, 0, msg=msg) 41 self.assertEqual(status, 0, msg=msg) 47 msg = 'g++ compile failed, output: %s' % output 48 self.assertEqual(status, 0, msg=msg) 52 self.assertEqual(status, 0, msg=msg) 58 msg = 'g++ compile failed, output: %s' % output 59 self.assertEqual(status, 0, msg=msg) 63 self.assertEqual(status, 0, msg=msg) 70 msg = 'running make failed, output %s' % output [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | ipc4.c | 22 char *msg; member 216 text, msg->primary, msg->extension, str, str2, in sof_ipc4_log_header() 224 text, msg->primary, msg->extension, str, in sof_ipc4_log_header() 244 msg->primary, msg->extension, msg->data_size); in sof_ipc4_log_header() 259 struct snd_sof_ipc_msg *msg = sdev->msg; in sof_ipc4_get_reply() local 287 struct snd_sof_ipc_msg *msg = &ipc->msg; in ipc4_wait_tx_done() local 293 ret = wait_event_timeout(msg->waitq, msg->ipc_complete, in ipc4_wait_tx_done() 389 msg = msg_data; in sof_ipc4_tx_msg() 393 if (msg) in sof_ipc4_tx_msg() 394 sof_ipc4_dump_payload(sdev, msg->data_ptr, msg->data_size); in sof_ipc4_tx_msg() [all …]
|
/openbmc/linux/drivers/soc/apple/ |
H A D | rtkit.c | 83 u64 msg; member 346 msg); in apple_rtkit_crashlog_rx() 396 msg); in apple_rtkit_ioreport_rx() 486 msg); in apple_rtkit_syslog_rx() 583 work->msg = msg->msg0; in apple_rtkit_rx() 619 msg = kzalloc(sizeof(*msg), flags); in apple_rtkit_send_message() 620 if (!msg) in apple_rtkit_send_message() 684 u64 msg; in apple_rtkit_start_ep() local 816 u64 msg; in apple_rtkit_set_ap_power_state() local 837 u64 msg; in apple_rtkit_set_iop_power_state() local [all …]
|
/openbmc/linux/drivers/w1/ |
H A D | w1_netlink.c | 91 block->msg = NULL; in w1_reply_make_space() 147 memcpy(block->msg, block->cur_msg, sizeof(*block->msg)); in w1_netlink_queue_cmd() 202 memcpy(&packet.msg, msg, sizeof(packet.msg)); in w1_netlink_send_error() 230 memcpy(&packet.msg, msg, sizeof(*msg)); in w1_netlink_send() 419 msg->status = 0; in w1_process_command_root() 420 msg->len = 0; in w1_process_command_root() 428 msg->len = 0; in w1_process_command_root() 572 if (msg->type == W1_MASTER_CMD || msg->type == W1_SLAVE_CMD) { in w1_cn_callback() 578 msg = (struct w1_netlink_msg *)(((u8 *)msg) + in w1_cn_callback() 669 msg->type, msg->len); in w1_cn_callback() [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | msi_ia64.c | 19 struct msi_msg msg; in ia64_set_msi_irq_affinity() local 29 addr = msg.address_lo; in ia64_set_msi_irq_affinity() 34 data = msg.data; in ia64_set_msi_irq_affinity() 37 msg.data = data; in ia64_set_msi_irq_affinity() 48 struct msi_msg msg; in arch_setup_msi_irq() local 61 msg.address_hi = 0; in arch_setup_msi_irq() 62 msg.address_lo = in arch_setup_msi_irq() 68 msg.data = in arch_setup_msi_irq() 121 struct msi_msg msg; in dmar_msi_set_affinity() local 162 msg->address_lo = in msi_compose_msg() [all …]
|
/openbmc/linux/net/tipc/ |
H A D | net.c | 172 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_net() 188 genlmsg_end(msg->skb, hdr); in __tipc_nl_add_net() 205 struct tipc_nl_msg msg; in tipc_nl_net_dump() local 210 msg.skb = skb; in tipc_nl_net_dump() 212 msg.seq = cb->nlh->nlmsg_seq; in tipc_nl_net_dump() 297 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_addr_legacy_get() 311 genlmsg_end(msg->skb, hdr); in __tipc_nl_addr_legacy_get() 326 struct tipc_nl_msg msg; in tipc_nl_net_addr_legacy_get() local 334 msg.skb = rep; in tipc_nl_net_addr_legacy_get() 336 msg.seq = info->snd_seq; in tipc_nl_net_addr_legacy_get() [all …]
|
/openbmc/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-i2c.c | 87 size = msg->len; in cx231xx_i2c_send_bytes() 95 saddr = msg->buf[0] << 8 | msg->buf[1]; in cx231xx_i2c_send_bytes() 120 msg->addr, msg->len, saddr); in cx231xx_i2c_send_bytes() 124 msg->buf, in cx231xx_i2c_send_bytes() 195 saddr = msg->buf[0] << 8 | msg->buf[1]; in cx231xx_i2c_recv_bytes() 222 msg->addr, msg->len, in cx231xx_i2c_recv_bytes() 223 msg->buf[0] << 8 | msg->buf[1]); in cx231xx_i2c_recv_bytes() 227 msg->buf, in cx231xx_i2c_recv_bytes() 228 msg->len); in cx231xx_i2c_recv_bytes() 241 req_data.saddr_dat = msg->buf[0] << 8 | msg->buf[1]; in cx231xx_i2c_recv_bytes() [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_vpu.c | 21 (unsigned long)msg->ap_inst; in mtk_mdp_vpu_handle_init_ack() 35 (unsigned long)msg->ap_inst; in mtk_mdp_vpu_ipi_handler() 38 vpu->failure = msg->status; in mtk_mdp_vpu_ipi_handler() 99 struct mdp_ipi_comm msg; in mtk_mdp_vpu_send_ap_ipi() local 101 msg.msg_id = msg_id; in mtk_mdp_vpu_send_ap_ipi() 102 msg.ipi_id = IPI_MDP; in mtk_mdp_vpu_send_ap_ipi() 105 err = mtk_mdp_vpu_send_msg((void *)&msg, sizeof(msg), vpu, IPI_MDP); in mtk_mdp_vpu_send_ap_ipi() 115 struct mdp_ipi_init msg; in mtk_mdp_vpu_init() local 120 msg.msg_id = AP_MDP_INIT; in mtk_mdp_vpu_init() 121 msg.ipi_id = IPI_MDP; in mtk_mdp_vpu_init() [all …]
|
/openbmc/linux/net/batman-adv/ |
H A D | netlink.c | 386 if (!msg) in batadv_netlink_notify_mesh() 392 nlmsg_free(msg); in batadv_netlink_notify_mesh() 417 if (!msg) in batadv_netlink_get_mesh() 657 if (!msg) in batadv_netlink_tpmeter_notify() 696 nlmsg_free(msg); in batadv_netlink_tpmeter_notify() 729 if (!msg) { in batadv_netlink_tp_meter_start() 748 if (msg) in batadv_netlink_tp_meter_start() 868 if (!msg) in batadv_netlink_notify_hardif() 901 if (!msg) in batadv_netlink_get_hardif() 1083 if (!msg) in batadv_netlink_notify_vlan() [all …]
|
/openbmc/ipmitool/src/plugins/lan/ |
H A D | lan.c | 782 msg[len++] = req->msg.data_len + 7; in ipmi_lan_build_cmd() 822 msg[len++] = req->msg.netfn << 2 | (req->msg.lun & 3); in ipmi_lan_build_cmd() 824 msg[len++] = ipmi_csum(msg+cs, tmp); in ipmi_lan_build_cmd() 835 msg[len++] = req->msg.cmd; in ipmi_lan_build_cmd() 853 memcpy(msg+len, req->msg.data, req->msg.data_len); in ipmi_lan_build_cmd() 859 msg[len++] = ipmi_csum(msg+cs, tmp); in ipmi_lan_build_cmd() 1046 msg[len++] = rsp->msg.netfn << 2; in ipmi_lan_build_rsp() 1048 msg[len++] = ipmi_csum(msg+cs, tmp); in ipmi_lan_build_rsp() 1051 msg[len++] = (rsp->msg.seq << 2) | (rsp->msg.lun & 3); in ipmi_lan_build_rsp() 1052 msg[len++] = rsp->msg.cmd; in ipmi_lan_build_rsp() [all …]
|
/openbmc/linux/sound/virtio/ |
H A D | virtio_pcm_msg.c | 149 msg = kzalloc(struct_size(msg, sgs, sg_num + 2), GFP_KERNEL); in virtsnd_pcm_msg_alloc() 150 if (!msg) in virtsnd_pcm_msg_alloc() 153 msg->substream = vss; in virtsnd_pcm_msg_alloc() 154 sg_init_one(&msg->sgs[PCM_MSG_SG_XFER], &msg->xfer, in virtsnd_pcm_msg_alloc() 155 sizeof(msg->xfer)); in virtsnd_pcm_msg_alloc() 156 sg_init_one(&msg->sgs[PCM_MSG_SG_STATUS], &msg->status, in virtsnd_pcm_msg_alloc() 157 sizeof(msg->status)); in virtsnd_pcm_msg_alloc() 162 vss->msgs[i] = msg; in virtsnd_pcm_msg_alloc() 224 memset(&msg->status, 0, sizeof(msg->status)); in virtsnd_pcm_msg_send() 405 if (msg) { in virtsnd_pcm_ctl_msg_alloc() [all …]
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-core-smbus.c | 67 return i2c_smbus_pec(pec, msg->buf, msg->len); in i2c_smbus_msg_pec() 73 msg->buf[msg->len] = i2c_smbus_msg_pec(0, msg); in i2c_smbus_add_pec() 74 msg->len++; in i2c_smbus_add_pec() 84 u8 rpec = msg->buf[--msg->len]; in i2c_smbus_check_pec() 357 msg[0].len = 0; in i2c_smbus_xfer_emulated() 372 msg[1].len = 1; in i2c_smbus_xfer_emulated() 390 msg[0].len = 3; in i2c_smbus_xfer_emulated() 391 msg[1].len = 2; in i2c_smbus_xfer_emulated() 411 memcpy(msg[0].buf + 1, data->block, msg[0].len - 1); in i2c_smbus_xfer_emulated() 426 memcpy(msg[0].buf + 1, data->block, msg[0].len - 1); in i2c_smbus_xfer_emulated() [all …]
|
/openbmc/linux/drivers/thermal/tegra/ |
H A D | tegra-bpmp-thermal.c | 45 memset(&msg, 0, sizeof(msg)); in __tegra_bpmp_thermal_get_temp() 47 msg.tx.data = &req; in __tegra_bpmp_thermal_get_temp() 49 msg.rx.data = &reply; in __tegra_bpmp_thermal_get_temp() 57 if (msg.rx.ret) in __tegra_bpmp_thermal_get_temp() 86 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_thermal_set_trips() 88 msg.tx.data = &req; in tegra_bpmp_thermal_set_trips() 94 if (msg.rx.ret) in tegra_bpmp_thermal_set_trips() 152 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_thermal_get_num_zones() 154 msg.tx.data = &req; in tegra_bpmp_thermal_get_num_zones() 162 if (msg.rx.ret) in tegra_bpmp_thermal_get_num_zones() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | dw2102.c | 249 memcpy(msg[1].buf, buf6 + 2, msg[1].len); in dw2102_serit_i2c_transfer() 265 memcpy(buf6 + 2, msg[0].buf, msg[0].len); in dw2102_serit_i2c_transfer() 327 memcpy(msg[1].buf, ibuf + 2, msg[1].len); in dw2102_earda_i2c_transfer() 346 memcpy(obuf + 2, msg[0].buf, msg[0].len); in dw2102_earda_i2c_transfer() 364 memcpy(obuf + 2, msg[0].buf, msg[0].len); in dw2102_earda_i2c_transfer() 442 memcpy(msg[j].buf, ibuf + 2, msg[j].len); in dw2104_i2c_transfer() 477 memcpy(obuf + 2, msg[j].buf, msg[j].len); in dw2104_i2c_transfer() 532 memcpy(msg[1].buf, ibuf + 2, msg[1].len); in dw3101_i2c_transfer() 551 memcpy(obuf + 2, msg[0].buf, msg[0].len); in dw3101_i2c_transfer() 644 memcpy(msg[j].buf, ibuf, msg[j].len); in s6x0_i2c_transfer() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/tests/ |
H A D | test_decorators.py | 86 self.assertTrue(result, msg=msg) 99 self.assertTrue(result, msg=msg) 113 self.assertTrue(result, msg=msg) 123 self.assertTrue(tc.runTests().wasSuccessful(), msg=msg) 124 msg = "OETestTimeout didn't restore SIGALRM" 125 self.assertIs(alarm_signal, signal.getsignal(signal.SIGALRM), msg=msg) 132 self.assertFalse(tc.runTests().wasSuccessful(), msg=msg) 133 msg = "OETestTimeout didn't restore SIGALRM" 134 self.assertIs(alarm_signal, signal.getsignal(signal.SIGALRM), msg=msg) 138 msg = 'Unrelated test failed to complete' [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | xgene-hwmon.c | 88 u32 msg; member 179 msg[0] = ctx->sync_msg.msg; in xgene_hwmon_pcc_rd() 217 msg[0] = ctx->sync_msg.msg; in xgene_hwmon_rd() 230 u32 msg[3]; in xgene_hwmon_reg_map_rd() local 235 msg[2] = 0; in xgene_hwmon_reg_map_rd() 251 *data = msg[1]; in xgene_hwmon_reg_map_rd() 259 u32 msg[3]; in xgene_hwmon_get_notification_msg() local 263 msg[1] = 0; in xgene_hwmon_get_notification_msg() 264 msg[2] = 0; in xgene_hwmon_get_notification_msg() 509 ctx->sync_msg.msg = ((u32 *)msg)[0]; in xgene_hwmon_rx_cb() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_clockpowergating.c | 172 PPSMC_Msg msg; in smu7_update_clock_gatings() local 189 hwmgr, msg, value, NULL)) in smu7_update_clock_gatings() 199 hwmgr, msg, value, NULL)) in smu7_update_clock_gatings() 212 hwmgr, msg, value, NULL)) in smu7_update_clock_gatings() 223 hwmgr, msg, value, NULL)) in smu7_update_clock_gatings() 236 hwmgr, msg, value, NULL)) in smu7_update_clock_gatings() 249 hwmgr, msg, value, NULL)) in smu7_update_clock_gatings() 263 hwmgr, msg, value, NULL)) in smu7_update_clock_gatings() 283 hwmgr, msg, value, NULL)) in smu7_update_clock_gatings() 293 hwmgr, msg, value, NULL)) in smu7_update_clock_gatings() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_tlv.c | 16 if (!msg) in fm10k_tlv_msg_init() 44 attr = &msg[FM10K_TLV_DWORD_LEN(*msg)]; in fm10k_tlv_attr_put_null_string() 122 attr = &msg[FM10K_TLV_DWORD_LEN(*msg)]; in fm10k_tlv_attr_put_mac_vlan() 175 if (!msg) in fm10k_tlv_attr_put_bool() 179 msg[FM10K_TLV_DWORD_LEN(*msg)] = attr_id; in fm10k_tlv_attr_put_bool() 206 attr = &msg[FM10K_TLV_DWORD_LEN(*msg)]; in fm10k_tlv_attr_put_value() 281 attr = &msg[FM10K_TLV_DWORD_LEN(*msg)]; in fm10k_tlv_attr_put_le_struct() 345 if (!msg) in fm10k_tlv_attr_nest_start() 348 attr = &msg[FM10K_TLV_DWORD_LEN(*msg)]; in fm10k_tlv_attr_nest_start() 371 if (!msg) in fm10k_tlv_attr_nest_stop() [all …]
|
/openbmc/linux/drivers/firmware/imx/ |
H A D | misc.c | 55 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_misc_set_control() 62 msg.ctrl = ctrl; in imx_sc_misc_set_control() 63 msg.val = val; in imx_sc_misc_set_control() 64 msg.resource = resource; in imx_sc_misc_set_control() 94 msg.ctrl = ctrl; in imx_sc_misc_get_control() 95 msg.resource = resource; in imx_sc_misc_get_control() 122 struct imx_sc_msg_req_cpu_start msg; in imx_sc_pm_cpu_start() local 130 msg.address_hi = phys_addr >> 32; in imx_sc_pm_cpu_start() 131 msg.address_lo = phys_addr; in imx_sc_pm_cpu_start() 132 msg.resource = resource; in imx_sc_pm_cpu_start() [all …]
|
/openbmc/linux/drivers/misc/sgi-xp/ |
H A D | xpnet.c | 156 if (!XPNET_VALID_MSG(msg)) { in xpnet_receive() 166 dev_dbg(xpnet, "received 0x%lx, %d, %d, %d\n", msg->buf_pa, msg->size, in xpnet_receive() 167 msg->leadin_ignore, msg->tailout_ignore); in xpnet_receive() 189 msg->leadin_ignore)); in xpnet_receive() 195 skb_put(skb, (msg->size - msg->leadin_ignore - msg->tailout_ignore)); in xpnet_receive() 212 (void *)msg->buf_pa, msg->size); in xpnet_receive() 214 ret = xp_remote_memcpy(xp_pa(dst), msg->buf_pa, msg->size); in xpnet_receive() 223 (void *)msg->buf_pa, msg->size, ret); in xpnet_receive() 382 msg->magic = XPNET_MAGIC; in xpnet_send() 391 dest_partid, XPC_NET_CHANNEL, msg->buf_pa, msg->size, in xpnet_send() [all …]
|