/openbmc/linux/drivers/gpu/drm/amd/display/include/ |
H A D | logger_interface.h | 130 #define DTN_INFO(msg, ...) \ argument 131 dm_dtn_log_append_v(dc_ctx, log_ctx, msg, ##__VA_ARGS__) 150 #define DISPLAY_STATS(msg, ...) DC_LOG_PERF_TRACE(msg, __VA_ARGS__) argument 154 #define LOG_GAMMA_WRITE(msg, ...) argument
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | buildoptions.py | 33 self.assertTrue(incremental_created, msg = "Match failed in:\n%s" % log_data_created) 37 self.assertTrue(incremental_removed, msg = "Match failed in:\n%s" % log_data_removed) 43 self.assertTrue(os.path.isfile(p), msg = "No ccache found (%s)" % p) 52 …self.assertIn("ccache", loglines, msg="No match for ccache in %s log.do_compile. For further detai… 67 …ecuted since the disk space monitor action is "STOPTASKS"!' in res.output, msg = "Tasks should hav… 68 …self.assertEqual(res.status, 1, msg = "bitbake reported exit code %s. It should have been 1. Bitba… 72 …self.assertEqual(res.status, 1, msg = "bitbake reported exit code %s. It should have been 1. Bitba… 75 …self.assertTrue('WARNING: The free space' in res.output, msg = "A warning should have been display… 94 self.assertTrue(line and line.startswith("ERROR:"), msg=res.output) 95 …self.assertEqual(res.status, 1, msg = "bitbake reported exit code %s. It should have been 1. Bitba… [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-gic-v3-mbi.c | 145 static void mbi_compose_msi_msg(struct irq_data *data, struct msi_msg *msg) in mbi_compose_msi_msg() argument 147 msg[0].address_hi = upper_32_bits(mbi_phys_base + GICD_SETSPI_NSR); in mbi_compose_msi_msg() 148 msg[0].address_lo = lower_32_bits(mbi_phys_base + GICD_SETSPI_NSR); in mbi_compose_msi_msg() 149 msg[0].data = data->parent_data->hwirq; in mbi_compose_msi_msg() 151 iommu_dma_compose_msi_msg(irq_data_get_msi_desc(data), msg); in mbi_compose_msi_msg() 202 static void mbi_compose_mbi_msg(struct irq_data *data, struct msi_msg *msg) in mbi_compose_mbi_msg() argument 204 mbi_compose_msi_msg(data, msg); in mbi_compose_mbi_msg() 206 msg[1].address_hi = upper_32_bits(mbi_phys_base + GICD_CLRSPI_NSR); in mbi_compose_mbi_msg() 207 msg[1].address_lo = lower_32_bits(mbi_phys_base + GICD_CLRSPI_NSR); in mbi_compose_mbi_msg() 208 msg[1].data = data->parent_data->hwirq; in mbi_compose_mbi_msg() [all …]
|
/openbmc/linux/net/sunrpc/ |
H A D | rpc_pipe.c | 74 msg->errno = err; in rpc_purge_list() 75 destroy_msg(msg); in rpc_purge_list() 107 char *data = (char *)msg->data + msg->copied; in rpc_pipe_generic_upcall() 108 size_t mlen = min(msg->len - msg->copied, buflen); in rpc_pipe_generic_upcall() 119 msg->errno = 0; in rpc_pipe_generic_upcall() 251 if (msg != NULL) { in rpc_pipe_release() 295 if (msg == NULL) { in rpc_pipe_read() 304 msg->copied = 0; in rpc_pipe_read() 307 if (msg == NULL) in rpc_pipe_read() 312 if (res < 0 || msg->len == msg->copied) { in rpc_pipe_read() [all …]
|
H A D | rpcb_clnt.c | 410 msg->rpc_resp = &result; in rpcb_register_call() 412 error = rpc_call_sync(clnt, msg, flags); in rpcb_register_call() 462 struct rpc_message msg = { in rpcb_register() local 484 struct rpc_message *msg) in rpcb_register_inet4() argument 487 struct rpcbind_args *map = msg->rpc_argp; in rpcb_register_inet4() 510 struct rpc_message *msg) in rpcb_register_inet6() argument 513 struct rpcbind_args *map = msg->rpc_argp; in rpcb_register_inet6() 532 struct rpc_message *msg) in rpcb_unregister_all_protofamilies() argument 597 struct rpc_message msg = { in rpcb_v4_register() local 623 struct rpc_message msg = { in rpcb_call_async() local [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | iqs5xx.c | 159 ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg)); in iqs5xx_read_burst() 248 struct i2c_msg msg; in iqs5xx_bl_cmd() local 253 msg.flags = 0; in iqs5xx_bl_cmd() 255 msg.buf = mbuf; in iqs5xx_bl_cmd() 296 msg.flags = I2C_M_RD; in iqs5xx_bl_cmd() 360 struct i2c_msg msg; in iqs5xx_bl_write() local 368 msg.flags = 0; in iqs5xx_bl_write() 370 msg.buf = mbuf; in iqs5xx_bl_write() 399 struct i2c_msg msg; in iqs5xx_bl_verify() local 407 msg.flags = I2C_M_RD; in iqs5xx_bl_verify() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mbx.c | 16 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id, in igb_read_mbx() argument 27 ret_val = mbx->ops.read(hw, msg, size, mbx_id, unlock); in igb_read_mbx() 41 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_write_mbx() argument 50 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in igb_write_mbx() 195 static s32 igb_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, in igb_read_posted_mbx() argument 207 ret_val = mbx->ops.read(hw, msg, size, mbx_id, true); in igb_read_posted_mbx() 233 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in igb_write_posted_mbx() 372 static s32 igb_write_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, in igb_write_mbx_pf() argument 389 array_wr32(E1000_VMBMEM(vf_number), i, msg[i]); in igb_write_mbx_pf() 414 static s32 igb_read_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, in igb_read_mbx_pf() argument [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | mbx.c | 262 static s32 ixgbevf_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) in ixgbevf_write_mbx_vf() argument 279 IXGBE_WRITE_REG_ARRAY(hw, IXGBE_VFMBMEM, i, msg[i]); in ixgbevf_write_mbx_vf() 324 IXGBE_WRITE_REG_ARRAY(hw, IXGBE_VFMBMEM, i, msg[i]); in ixgbevf_write_mbx_vf_legacy() 344 static s32 ixgbevf_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) in ixgbevf_read_mbx_vf() argument 359 msg[i] = IXGBE_READ_REG_ARRAY(hw, IXGBE_VFMBMEM, i); in ixgbevf_read_mbx_vf() 380 static s32 ixgbevf_read_mbx_vf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size) in ixgbevf_read_mbx_vf_legacy() argument 392 msg[i] = IXGBE_READ_REG_ARRAY(hw, IXGBE_VFMBMEM, i); in ixgbevf_read_mbx_vf_legacy() 439 s32 ixgbevf_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) in ixgbevf_poll_mbx() argument 454 ret_val = mbx->ops.read(hw, msg, size); in ixgbevf_poll_mbx() 468 s32 ixgbevf_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) in ixgbevf_write_mbx() argument [all …]
|
/openbmc/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_core.h | 510 #define es58x_check_msg_len(dev, msg, actual_len) \ argument 511 __es58x_check_msg_len(dev, __stringify(msg), \ 512 actual_len, sizeof(msg)) 542 #define es58x_check_msg_max_len(dev, msg, actual_len) \ argument 543 __es58x_check_msg_max_len(dev, __stringify(msg), \ 544 actual_len, sizeof(msg)) 594 #define es58x_msg_num_element(dev, msg, actual_len) \ argument 596 size_t __elem_len = sizeof((msg)[0]) + __must_be_array(msg); \ 597 __es58x_msg_num_element(dev, __stringify(msg), actual_len, \ 598 sizeof(msg), __elem_len); \ [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | cros_peripheral_charger.c | 63 struct cros_ec_command *msg; in cros_pchg_ec_command() local 66 msg = kzalloc(struct_size(msg, data, max(outsize, insize)), GFP_KERNEL); in cros_pchg_ec_command() 67 if (!msg) in cros_pchg_ec_command() 70 msg->version = version; in cros_pchg_ec_command() 71 msg->command = ec_dev->cmd_offset + command; in cros_pchg_ec_command() 72 msg->outsize = outsize; in cros_pchg_ec_command() 73 msg->insize = insize; in cros_pchg_ec_command() 76 memcpy(msg->data, outdata, outsize); in cros_pchg_ec_command() 78 ret = cros_ec_cmd_xfer_status(charger->ec_device, msg); in cros_pchg_ec_command() 80 memcpy(indata, msg->data, insize); in cros_pchg_ec_command() [all …]
|
/openbmc/linux/drivers/net/can/softing/ |
H A D | softing_main.c | 141 memcpy(cf, msg, sizeof(*msg)); in softing_netdev_rx() 155 struct can_frame msg; in softing_handle_1() local 162 memset(&msg, 0, sizeof(msg)); in softing_handle_1() 171 msg.len = CAN_ERR_DLC; in softing_handle_1() 188 memset(&msg, 0, sizeof(msg)); in softing_handle_1() 221 msg.can_id = CAN_ERR_FLAG; in softing_handle_1() 222 msg.len = CAN_ERR_DLC; in softing_handle_1() 230 msg.can_id |= CAN_ERR_CRTL; in softing_handle_1() 235 msg.can_id |= CAN_ERR_CRTL; in softing_handle_1() 263 msg.can_id |= CAN_RTR_FLAG; in softing_handle_1() [all …]
|
/openbmc/u-boot/tools/patman/ |
H A D | gitutil.py | 132 upstream, msg = GuessUpstream(git_dir, branch) 133 return upstream, msg 155 upstream, msg = GetUpstream(git_dir, branch) 157 return None, msg 159 return rstr, msg 191 return None, msg 497 raise OSError(msg) 499 print(col.Color(col.RED, msg)) 504 msg = "Alias '%s' not found" % lookup_name 506 raise ValueError(msg) [all …]
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | main.c | 230 char msg[256]; in detect_common_prefix() local 233 snprintf(msg, sizeof(msg), "ambiguous prefix: '%s' could be '", arg); in detect_common_prefix() 240 strncat(msg, "' or '", sizeof(msg) - strlen(msg) - 1); in detect_common_prefix() 241 strncat(msg, ref, sizeof(msg) - strlen(msg) - 1); in detect_common_prefix() 244 strncat(msg, "'", sizeof(msg) - strlen(msg) - 1); in detect_common_prefix() 247 p_err("%s", msg); in detect_common_prefix()
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_task_queue.h | 29 void *msg; member 31 int (*func)(struct iosm_imem *ipc_imem, int arg, void *msg, 94 void *msg, size_t size), 95 int arg, void *msg, size_t size, bool wait);
|
/openbmc/libpldm/include/libpldm/oem/ibm/ |
H A D | host.h | 53 struct pldm_msg *msg, size_t payload_length); 70 int decode_get_alert_status_resp(const struct pldm_msg *msg, 86 int decode_get_alert_status_req(const struct pldm_msg *msg, 103 struct pldm_msg *msg, size_t payload_length);
|
/openbmc/linux/include/linux/ |
H A D | build_bug.h | 39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument 78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) argument
|
/openbmc/u-boot/drivers/i2c/ |
H A D | i2c-cdns.c | 398 static int cdns_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, in cdns_i2c_xfer() argument 405 struct i2c_msg *message = msg; in cdns_i2c_xfer() 419 if (msg[count].flags & I2C_M_RD) { in cdns_i2c_xfer() 433 nmsgs > 0; nmsgs--, msg++) { in cdns_i2c_xfer() 434 debug("i2c_xfer: chip=0x%x, len=0x%x\n", msg->addr, msg->len); in cdns_i2c_xfer() 435 if (msg->flags & I2C_M_RD) { in cdns_i2c_xfer() 436 ret = cdns_i2c_read_data(i2c_bus, msg->addr, msg->buf, in cdns_i2c_xfer() 437 msg->len); in cdns_i2c_xfer() 439 ret = cdns_i2c_write_data(i2c_bus, msg->addr, msg->buf, in cdns_i2c_xfer() 440 msg->len); in cdns_i2c_xfer() [all …]
|
/openbmc/linux/drivers/slimbus/ |
H A D | stream.c | 128 struct slim_val_inf msg = {0, 2, NULL, wbuf, NULL}; in slim_connect_port_channel() local 130 DEFINE_SLIM_LDEST_TXN(txn, mc, 6, stream->dev->laddr, &msg); in slim_connect_port_channel() 148 struct slim_val_inf msg = {0, 1, NULL, wbuf, NULL}; in slim_disconnect_port() local 150 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_disconnect_port() 164 struct slim_val_inf msg = {0, 1, NULL, wbuf, NULL}; in slim_deactivate_remove_channel() local 166 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_deactivate_remove_channel() 275 struct slim_val_inf msg = {0, 4, NULL, wbuf, NULL}; in slim_define_channel_content() local 310 struct slim_val_inf msg = {0, 4, NULL, wbuf, NULL}; in slim_define_channel() local 334 struct slim_val_inf msg = {0, 1, NULL, wbuf, NULL}; in slim_activate_channel() local 338 txn.msg->num_bytes = 1; in slim_activate_channel() [all …]
|
/openbmc/linux/tools/bootconfig/ |
H A D | main.c | 172 pr_err("%s: %d\n", msg, err); in pr_errno() 182 const char *msg; in load_xbc_from_initrd() local 233 ret = xbc_init(*buf, size, &msg, NULL); in load_xbc_from_initrd() 236 pr_err("parse error: %s.\n", msg); in load_xbc_from_initrd() 248 pr_err("Error: %s.\n", msg); in show_xbc_error() 267 const char *msg; in init_xbc_with_error() local 273 ret = xbc_init(buf, len, &msg, &pos); in init_xbc_with_error() 275 show_xbc_error(copy, msg, pos); in init_xbc_with_error() 365 const char *msg; in apply_xbc() local 386 ret = xbc_init(buf, size, &msg, &pos); in apply_xbc() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_uvd.c | 617 unsigned int width = msg[6]; in amdgpu_uvd_cs_msg_decode() 618 unsigned int height = msg[7]; in amdgpu_uvd_cs_msg_decode() 829 msg = ptr + offset; in amdgpu_uvd_cs_msg() 831 msg_type = msg[1]; in amdgpu_uvd_cs_msg() 832 handle = msg[2]; in amdgpu_uvd_cs_msg() 1199 uint32_t *msg; in amdgpu_uvd_get_create_msg() local 1202 msg = amdgpu_bo_kptr(bo); in amdgpu_uvd_get_create_msg() 1216 msg[i] = cpu_to_le32(0x0); in amdgpu_uvd_get_create_msg() 1227 uint32_t *msg; in amdgpu_uvd_get_destroy_msg() local 1238 msg = amdgpu_bo_kptr(bo); in amdgpu_uvd_get_destroy_msg() [all …]
|
/openbmc/linux/drivers/usb/typec/tcpm/qcom/ |
H A D | qcom_pmic_typec_pdphy.c | 154 const struct pd_message *msg, in qcom_pmic_typec_pdphy_pd_transmit_payload() argument 181 hdr_len = sizeof(msg->header); in qcom_pmic_typec_pdphy_pd_transmit_payload() 188 &msg->header, hdr_len); in qcom_pmic_typec_pdphy_pd_transmit_payload() 196 &msg->payload, txbuf_len); in qcom_pmic_typec_pdphy_pd_transmit_payload() 215 if (pd_header_rev(msg->header) == PD_REV30) in qcom_pmic_typec_pdphy_pd_transmit_payload() 228 hdr_len, &msg->header, txbuf_len, &msg->payload, ret); in qcom_pmic_typec_pdphy_pd_transmit_payload() 236 const struct pd_message *msg, in qcom_pmic_typec_pdphy_pd_transmit() argument 242 if (msg) { in qcom_pmic_typec_pdphy_pd_transmit() 244 type, msg, in qcom_pmic_typec_pdphy_pd_transmit() 261 struct pd_message msg; in qcom_pmic_typec_pdphy_pd_receive() local [all …]
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | qmp_shell.py | 225 msg = f"Failed to read history '{self._histfile}': {err!s}" 226 LOG.warning(msg) 233 LOG.warning(msg) 278 msg = 'Cannot use "{:s}" as both leaf and non-leaf key' 279 raise QMPShellError(msg.format('.'.join(curpath))) 285 raise QMPShellError(msg.format('.'.join(curpath))) 311 raise QMPShellError(msg) 379 print(msg) 508 QMPShell.show_banner(self, msg) 511 def die(msg: str) -> NoReturn: [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp1_execution.c | 34 memcpy(bksv, hdcp->auth.msg.hdcp1.bksv, sizeof(hdcp->auth.msg.hdcp1.bksv)); in validate_bksv() 48 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_READY) ? in check_ksv_ready() 58 return (hdcp->auth.msg.hdcp1.bcaps & DP_BCAPS_HDCP_CAPABLE) ? in check_hdcp_capable_dp() 67 status = (hdcp->auth.msg.hdcp1.bstatus & in check_r0p_available_dp() 80 return (hdcp->auth.msg.hdcp1.bstatus & in check_link_integrity_dp() 89 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_REAUTH_REQ) ? in check_no_reauthentication_request_dp() 118 status = DRM_HDCP_MAX_DEVICE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus) ? in check_no_max_devs() 127 DRM_HDCP_NUM_DOWNSTREAM(hdcp->auth.msg.hdcp1.binfo_dp) : in get_device_count() 128 DRM_HDCP_NUM_DOWNSTREAM(hdcp->auth.msg.hdcp1.bstatus); in get_device_count() 202 if (hdcp->auth.msg.hdcp1.ainfo) { in exchange_ksvs() [all …]
|
/openbmc/linux/net/psample/ |
H A D | psample.c | 40 static int psample_group_nl_fill(struct sk_buff *msg, in psample_group_nl_fill() argument 60 ret = nla_put_u32(msg, PSAMPLE_ATTR_GROUP_SEQ, group->seq); in psample_group_nl_fill() 64 genlmsg_end(msg, hdr); in psample_group_nl_fill() 68 genlmsg_cancel(msg, hdr); in psample_group_nl_fill() 72 static int psample_nl_cmd_get_group_dumpit(struct sk_buff *msg, in psample_nl_cmd_get_group_dumpit() argument 82 if (!net_eq(group->net, sock_net(msg->sk))) in psample_nl_cmd_get_group_dumpit() 98 return msg->len; in psample_nl_cmd_get_group_dumpit() 126 struct sk_buff *msg; in psample_group_notify() local 129 msg = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_ATOMIC); in psample_group_notify() 130 if (!msg) in psample_group_notify() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-meson.c | 92 struct i2c_msg *msg; member 253 bool write = !(i2c->msg->flags & I2C_M_RD); in meson_i2c_prepare_xfer() 256 i2c->count = min(i2c->msg->len - i2c->pos, 8); in meson_i2c_prepare_xfer() 262 if (write || i2c->pos + i2c->count < i2c->msg->len) in meson_i2c_prepare_xfer() 271 if (i2c->last && i2c->pos + i2c->count >= i2c->msg->len) in meson_i2c_prepare_xfer() 292 meson_i2c_get_data(i2c, i2c->msg->buf + i2c->pos, in meson_i2c_transfer_complete() 297 if (i2c->pos >= i2c->msg->len) in meson_i2c_transfer_complete() 346 FIELD_PREP(REG_SLV_ADDR_MASK, msg->addr << 1)); in meson_i2c_do_start() 359 i2c->msg = msg; in meson_i2c_xfer_msg() 370 if (!(msg->flags & I2C_M_NOSTART)) in meson_i2c_xfer_msg() [all …]
|