/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_msgq.c | 191 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_PI, 0); in bfa_msgq_cmdq_dbell() 192 dbell->mh.mtag.i2htok = 0; in bfa_msgq_cmdq_dbell() 283 bfi_h2i_set(rsp->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_CMDQ_COPY_RSP, 0); in bfa_msgq_cmdq_copy_rsp() 284 rsp->mh.mtag.i2htok = htons(cmdq->token); in bfa_msgq_cmdq_copy_rsp() 447 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_CI, 0); in bfa_msgq_rspq_dbell() 448 dbell->mh.mtag.i2htok = 0; in bfa_msgq_rspq_dbell() 512 bfi_h2i_set(msgq_cfg->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_INIT_REQ, 0); in bfa_msgq_init() 513 msgq_cfg->mh.mtag.i2htok = 0; in bfa_msgq_init() 528 switch (msg->mh.msg_id) { in bfa_msgq_isr()
|
H A D | bna_tx_rx.c | 185 req->mh.num_entries = htons( in bna_bfi_ucast_req() 201 req->mh.num_entries = htons( in bna_bfi_mcast_add_req() 217 req->mh.num_entries = htons( in bna_bfi_mcast_del_req() 232 req->mh.num_entries = htons( in bna_bfi_mcast_filter_req() 247 req->mh.num_entries = htons( in bna_bfi_rx_promisc_req() 264 req->mh.num_entries = htons( in bna_bfi_rx_vlan_filter_set() 287 req->mh.num_entries = htons( in bna_bfi_vlan_strip_enable() 302 req->mh.num_entries = htons( in bna_bfi_rit_cfg() 319 req->mh.num_entries = htons( in bna_bfi_rss_cfg() 1724 &req->mh); in bna_bfi_rx_enet_stop() [all …]
|
H A D | bfa_cee.c | 174 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_GET_CFG_REQ, in bfa_nw_cee_get_attr() 196 switch (msg->mh.msg_id) { in bfa_cee_isr()
|
H A D | bfa_ioc.c | 1922 bfi_h2i_set(enable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_ENABLE_REQ, in bfa_ioc_send_enable() 1936 bfi_h2i_set(disable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_DISABLE_REQ, in bfa_ioc_send_disable() 1950 bfi_h2i_set(attr_req.mh, BFI_MC_IOC, BFI_IOC_H2I_GETATTR_REQ, in bfa_ioc_send_getattr() 2445 switch (msg->mh.msg_id) { in bfa_ioc_isr() 2696 mc = m.mh.msg_class; in bfa_nw_ioc_mbox_isr() 3079 bfi_h2i_set(msg->mh, BFI_MC_FLASH, BFI_FLASH_H2I_WRITE_REQ, in bfa_flash_write_send() 3108 bfi_h2i_set(msg->mh, BFI_MC_FLASH, BFI_FLASH_H2I_READ_REQ, in bfa_flash_read_send() 3136 if (!flash->op_busy && msg->mh.msg_id != BFI_FLASH_I2H_EVENT) in bfa_flash_intr() 3139 switch (msg->mh.msg_id) { in bfa_flash_intr() 3276 bfi_h2i_set(msg->mh, BFI_MC_FLASH, BFI_FLASH_H2I_QUERY_REQ, in bfa_nw_flash_get_attr()
|
/openbmc/linux/fs/gfs2/ |
H A D | trans.c | 235 struct gfs2_meta_header *mh; in gfs2_trans_add_meta() local 264 mh = (struct gfs2_meta_header *)bd->bd_bh->b_data; in gfs2_trans_add_meta() 265 if (unlikely(mh->mh_magic != cpu_to_be32(GFS2_MAGIC))) { in gfs2_trans_add_meta() 282 mh->__pad0 = cpu_to_be64(0); in gfs2_trans_add_meta() 283 mh->mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in gfs2_trans_add_meta()
|
H A D | lops.c | 820 struct gfs2_meta_header *mh = in buf_lo_scan_elements() local 823 if (mh->mh_type == cpu_to_be32(GFS2_METATYPE_RG)) in buf_lo_scan_elements() 860 struct gfs2_meta_header *mh; in revoke_lo_before_commit() local 881 mh = page_address(page); in revoke_lo_before_commit() 882 clear_page(mh); in revoke_lo_before_commit() 883 mh->mh_magic = cpu_to_be32(GFS2_MAGIC); in revoke_lo_before_commit() 884 mh->mh_type = cpu_to_be32(GFS2_METATYPE_LB); in revoke_lo_before_commit() 885 mh->mh_format = cpu_to_be32(GFS2_FORMAT_LB); in revoke_lo_before_commit()
|
H A D | meta_io.c | 168 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in meta_prep_new() local 175 mh->mh_magic = cpu_to_be32(GFS2_MAGIC); in meta_prep_new()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 88 struct mlx5e_mod_hdr_handle *mh; member 167 struct mlx5e_mod_hdr_handle *mh); 707 struct mlx5e_mod_hdr_handle **mh, in mlx5_tc_ct_entry_create_mod_hdr() argument 756 *mh = NULL; in mlx5_tc_ct_entry_create_mod_hdr() 762 if (IS_ERR(*mh)) { in mlx5_tc_ct_entry_create_mod_hdr() 763 err = PTR_ERR(*mh); in mlx5_tc_ct_entry_create_mod_hdr() 781 struct mlx5e_mod_hdr_handle *mh) in mlx5_tc_ct_entry_destroy_mod_hdr() argument 783 if (mh) in mlx5_tc_ct_entry_destroy_mod_hdr() 814 &zone_rule->mh, in mlx5_tc_ct_entry_add_rule() 874 struct mlx5e_mod_hdr_handle *mh; in mlx5_tc_ct_entry_replace_rule() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/ |
H A D | 0001-Fix-Wincompatible-function-pointer-types.patch | 20 src/osdep/unix/mh.c | 8 ++++---- 26 diff --git a/src/osdep/unix/mh.c b/src/osdep/unix/mh.c 28 --- a/src/osdep/unix/mh.c 29 +++ b/src/osdep/unix/mh.c
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_ioc.c | 2325 switch (msg->mh.msg_id) { in bfa_ioc_isr() 2345 bfa_trc(ioc, msg->mh.msg_id); in bfa_ioc_isr() 2602 mc = m.mh.msg_class; in bfa_ioc_mbox_isr() 3288 switch (msg->mh.msg_id) { in bfa_ablk_isr() 3990 switch (msg->mh.msg_id) { in bfa_sfp_intr() 4362 switch (msg->mh.msg_id) { in bfa_flash_intr() 5028 switch (msg->mh.msg_id) { in bfa_diag_intr() 5712 bfa_trc(phy, msg->mh.msg_id); in bfa_phy_intr() 5720 switch (msg->mh.msg_id) { in bfa_phy_intr() 6558 bfa_trc(fru, msg->mh.msg_id); in bfa_fru_intr() [all …]
|
H A D | bfa_svc.c | 857 bfa_reqq_produce(bfa, BFA_REQQ_FCXP, send_req->mh); in bfa_fcxp_queue() 1681 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_login() 1702 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_logout() 1721 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_set_n2n_pid() 3178 bfa_reqq_produce(fcport->bfa, BFA_REQQ_PORT, m->mh); in bfa_fcport_send_enable() 3213 bfa_reqq_produce(fcport->bfa, BFA_REQQ_PORT, m->mh); in bfa_fcport_send_disable() 4913 bfa_reqq_produce(rp->bfa, BFA_REQQ_RPORT, m->mh); in bfa_rport_send_fwcreate() 4938 bfa_reqq_produce(rp->bfa, BFA_REQQ_RPORT, m->mh); in bfa_rport_send_fwdelete() 4964 bfa_reqq_produce(rp->bfa, BFA_REQQ_RPORT, m->mh); in bfa_rport_send_fwspeed() 6483 bfi_h2i_set(m->mh, BFI_MC_DIAG, BFI_DIAG_H2I_DPORT, in bfa_dport_send_req() [all …]
|
H A D | bfa_fcpim.c | 1163 bfi_h2i_set(m->mh, BFI_MC_ITN, BFI_ITN_H2I_CREATE_REQ, in bfa_itnim_send_fwcreate() 1174 bfa_reqq_produce(itnim->bfa, itnim->reqq, m->mh); in bfa_itnim_send_fwcreate() 1192 bfi_h2i_set(m->mh, BFI_MC_ITN, BFI_ITN_H2I_DELETE_REQ, in bfa_itnim_send_fwdelete() 1200 bfa_reqq_produce(itnim->bfa, itnim->reqq, m->mh); in bfa_itnim_send_fwdelete() 2577 bfi_h2i_set(m->mh, BFI_MC_IOIM_IO, 0, bfa_fn_lpu(ioim->bfa)); in bfa_ioim_send_ioreq() 2586 bfa_reqq_produce(ioim->bfa, ioim->reqq, m->mh); in bfa_ioim_send_ioreq() 2651 bfa_reqq_produce(ioim->bfa, ioim->reqq, m->mh); in bfa_ioim_send_abort() 3392 bfi_h2i_set(m->mh, BFI_MC_TSKIM, BFI_TSKIM_H2I_TM_REQ, in bfa_tskim_send() 3404 bfa_reqq_produce(tskim->bfa, itnim->reqq, m->mh); in bfa_tskim_send() 3427 bfi_h2i_set(m->mh, BFI_MC_TSKIM, BFI_TSKIM_H2I_ABORT_REQ, in bfa_tskim_send_abort() [all …]
|
H A D | bfa_core.c | 1027 bfi_h2i_set(cfg_req.mh, BFI_MC_IOCFC, BFI_IOCFC_H2I_CFG_REQ, in bfa_iocfc_send_cfg() 1387 bfi_h2i_set(faa_attr_req.mh, BFI_MC_IOCFC, in bfa_faa_query() 1586 bfa_trc(bfa, msg->mh.msg_id); in bfa_iocfc_isr() 1588 switch (msg->mh.msg_id) { in bfa_iocfc_isr() 1642 bfi_h2i_set(m->mh, BFI_MC_IOCFC, BFI_IOCFC_H2I_SET_INTR_REQ, in bfa_iocfc_israttr_set() 1651 bfa_reqq_produce(bfa, BFA_REQQ_IOC, m->mh); in bfa_iocfc_israttr_set()
|
/openbmc/linux/fs/dlm/ |
H A D | midcomms.h | 21 void dlm_midcomms_commit_mhandle(struct dlm_mhandle *mh, const void *name,
|
H A D | lock.c | 3336 struct dlm_mhandle *mh; in _create_message() local 3344 if (!mh) in _create_message() 3357 *mh_ret = mh; in _create_message() 3447 struct dlm_mhandle *mh; in send_common() local 3511 struct dlm_mhandle *mh; in send_grant() local 3533 struct dlm_mhandle *mh; in send_bast() local 3555 struct dlm_mhandle *mh; in send_lookup() local 3584 struct dlm_mhandle *mh; in send_remove() local 3606 struct dlm_mhandle *mh; in send_common_reply() local 3650 struct dlm_mhandle *mh; in send_lookup_reply() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | indir_table.c | 25 struct mlx5_modify_hdr *mh; member 154 rule->mh = flow_act.modify_hdr; in mlx5_esw_indir_table_rule_get() 185 mlx5_modify_header_dealloc(esw->dev, rule->mh); in mlx5_esw_indir_table_rule_put()
|
/openbmc/linux/crypto/ |
H A D | vmac.c | 228 #define poly_step(ah, al, kh, kl, mh, ml) \ argument 247 ADD128(ah, al, mh, ml); \ 276 const u64 *mh, const u64 *ml) in poly_step_func() argument 292 p += *(u64 *)mh; in poly_step_func() 334 #define poly_step(ah, al, kh, kl, mh, ml) \ argument 335 poly_step_func(&(ah), &(al), &(kh), &(kl), &(mh), &(ml))
|
/openbmc/linux/drivers/crypto/bcm/ |
H A D | spum.h | 158 struct MHEADER mh; member
|
/openbmc/linux/net/can/ |
H A D | bcm.c | 715 struct bcm_msg_head *mh, int ifindex) in bcm_find_op() argument 720 if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && in bcm_find_op() 721 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) in bcm_find_op() 765 static int bcm_delete_rx_op(struct list_head *ops, struct bcm_msg_head *mh, in bcm_delete_rx_op() argument 771 if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && in bcm_delete_rx_op() 772 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { in bcm_delete_rx_op() 816 static int bcm_delete_tx_op(struct list_head *ops, struct bcm_msg_head *mh, in bcm_delete_tx_op() argument 822 if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && in bcm_delete_tx_op() 823 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { in bcm_delete_tx_op()
|
/openbmc/linux/include/net/ |
H A D | mrp.h | 38 struct mrp_msg_hdr *mh; member
|
/openbmc/qemu/dump/ |
H A D | dump.c | 822 MakedumpfileHeader *mh; in write_start_flat_header() local 829 QEMU_BUILD_BUG_ON(sizeof *mh > MAX_SIZE_MDF_HEADER); in write_start_flat_header() 830 mh = g_malloc0(MAX_SIZE_MDF_HEADER); in write_start_flat_header() 832 memcpy(mh->signature, MAKEDUMPFILE_SIGNATURE, in write_start_flat_header() 833 MIN(sizeof mh->signature, sizeof MAKEDUMPFILE_SIGNATURE)); in write_start_flat_header() 835 mh->type = cpu_to_be64(TYPE_FLAT_HEADER); in write_start_flat_header() 836 mh->version = cpu_to_be64(VERSION_FLAT_HEADER); in write_start_flat_header() 839 written_size = qemu_write_full(s->fd, mh, MAX_SIZE_MDF_HEADER); in write_start_flat_header() 844 g_free(mh); in write_start_flat_header()
|
/openbmc/openbmc/poky/meta/conf/machine/include/microblaze/ |
H A D | feature-microblaze-math.inc | 30 MBPKGARCH_MATH .= "${@bb.utils.contains('TUNE_FEATURES', 'multiply-high', '-mh', bb.utils.contains(…
|
/openbmc/linux/drivers/cdrom/ |
H A D | cdrom.c | 2753 struct modesel_head mh; in cdrom_switch_blocksize() local 2755 memset(&mh, 0, sizeof(mh)); in cdrom_switch_blocksize() 2756 mh.block_desc_length = 0x08; in cdrom_switch_blocksize() 2757 mh.block_length_med = (size >> 8) & 0xff; in cdrom_switch_blocksize() 2758 mh.block_length_lo = size & 0xff; in cdrom_switch_blocksize() 2764 cgc.buflen = sizeof(mh); in cdrom_switch_blocksize() 2765 cgc.buffer = (char *) &mh; in cdrom_switch_blocksize() 2767 mh.block_desc_length = 0x08; in cdrom_switch_blocksize() 2768 mh.block_length_med = (size >> 8) & 0xff; in cdrom_switch_blocksize() 2769 mh.block_length_lo = size & 0xff; in cdrom_switch_blocksize()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 662 struct mlx5e_mod_hdr_handle *mh; in mlx5e_tc_attach_mod_hdr() local 667 if (IS_ERR(mh)) in mlx5e_tc_attach_mod_hdr() 668 return PTR_ERR(mh); in mlx5e_tc_attach_mod_hdr() 672 attr->mh = mh; in mlx5e_tc_attach_mod_hdr() 682 if (!attr->mh) in mlx5e_tc_detach_mod_hdr() 686 attr->mh); in mlx5e_tc_detach_mod_hdr() 687 attr->mh = NULL; in mlx5e_tc_detach_mod_hdr() 1501 struct mlx5e_mod_hdr_handle *mh = NULL; in mlx5e_tc_offload_to_slow_path() local 1532 if (IS_ERR(mh)) { in mlx5e_tc_offload_to_slow_path() 1533 err = PTR_ERR(mh); in mlx5e_tc_offload_to_slow_path() [all …]
|
/openbmc/linux/drivers/media/platform/nxp/dw100/ |
H A D | dw100.c | 382 u32 sw, sh, mw, mh, idx; in dw100_ctrl_dewarping_map_init() local 390 mh = ctrl->dims[1]; in dw100_ctrl_dewarping_map_init() 395 qdy = qsh / (mh - 1); in dw100_ctrl_dewarping_map_init() 398 ctx->map_height = mh; in dw100_ctrl_dewarping_map_init() 399 ctx->map_size = mh * mw * sizeof(u32); in dw100_ctrl_dewarping_map_init()
|