Home
last modified time | relevance | path

Searched refs:mh (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v4.19/drivers/scsi/bfa/
Dbfi_ms.h108 struct bfi_mhdr_s mh; member
117 struct bfi_mhdr_s mh; /* Common msg header */ member
128 struct bfi_mhdr_s mh; /* common msg header */ member
140 struct bfi_mhdr_s mh; /* common msg header */ member
152 struct bfi_mhdr_s mh; /* common msg header */ member
162 struct bfi_mhdr_s mh; member
173 struct bfi_mhdr_s mh; member
183 struct bfi_mhdr_s mh; /* common msg header */ member
187 struct bfi_mhdr_s mh; /* common msg header */ member
197 struct bfi_mhdr_s mh; /* common msg header */ member
[all …]
Dbfi.h178 struct bfi_mhdr_s mh; member
265 struct bfi_mhdr_s mh; member
305 struct bfi_mhdr_s mh; /* Common msg header */ member
397 struct bfi_mhdr_s mh; /* common msg header */ member
455 struct bfi_mhdr_s mh; member
467 struct bfi_mhdr_s mh; /* Common msg header */ member
481 struct bfi_mhdr_s mh; member
492 struct bfi_mhdr_s mh; member
599 struct bfi_mhdr_s mh; member
606 struct bfi_mhdr_s mh; member
[all …]
Dbfa_port.c153 bfa_trc(port, m->mh.msg_id); in bfa_port_isr()
155 switch (m->mh.msg_id) { in bfa_port_isr()
266 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_ENABLE_REQ, in bfa_port_enable()
322 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_DISABLE_REQ, in bfa_port_disable()
362 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_GET_STATS_REQ, in bfa_port_get_stats()
399 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_CLEAR_STATS_REQ, in bfa_port_clear_stats()
673 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_GET_CFG_REQ, in bfa_cee_get_attr()
713 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_GET_STATS_REQ, in bfa_cee_get_stats()
750 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_RESET_STATS, in bfa_cee_reset_stats()
775 bfa_trc(cee, msg->mh.msg_id); in bfa_cee_isr()
[all …]
Dbfa_ioc.c1813 bfi_h2i_set(enable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_ENABLE_REQ, in bfa_ioc_send_enable()
1826 bfi_h2i_set(disable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_DISABLE_REQ, in bfa_ioc_send_disable()
1839 bfi_h2i_set(attr_req.mh, BFI_MC_IOC, BFI_IOC_H2I_GETATTR_REQ, in bfa_ioc_send_getattr()
2342 switch (msg->mh.msg_id) { in bfa_ioc_isr()
2362 bfa_trc(ioc, msg->mh.msg_id); in bfa_ioc_isr()
2619 mc = m.mh.msg_class; in bfa_ioc_mbox_isr()
3004 bfi_h2i_set(req->mh, BFI_MC_IOC, BFI_IOC_H2I_DBG_SYNC, in bfa_ioc_send_fwsync()
3302 WARN_ON(msg->mh.msg_class != BFI_MC_ABLK); in bfa_ablk_isr()
3303 bfa_trc(ablk->ioc, msg->mh.msg_id); in bfa_ablk_isr()
3305 switch (msg->mh.msg_id) { in bfa_ablk_isr()
[all …]
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbfi_cna.h41 struct bfi_mhdr mh; /*!< msg header */ member
48 struct bfi_mhdr mh; /*!< common msg header */ member
56 struct bfi_mhdr mh; /*!< common msg header */ member
61 struct bfi_mhdr mh; member
69 struct bfi_mhdr mh; member
97 struct bfi_mhdr mh; member
105 struct bfi_mhdr mh; member
113 struct bfi_mhdr mh; member
122 struct bfi_mhdr mh; member
132 struct bfi_mhdr mh; member
[all …]
Dbfi.h95 struct bfi_mhdr mh; member
183 struct bfi_mhdr mh; member
216 struct bfi_mhdr mh; /*!< Common msg header */ member
300 struct bfi_mhdr mh; /*!< common msg header */ member
342 struct bfi_mhdr mh; member
350 struct bfi_mhdr mh; /*!< Common msg header */ member
360 struct bfi_mhdr mh; member
369 struct bfi_mhdr mh; member
427 struct bfi_mhdr mh; member
434 struct bfi_mhdr mh; member
[all …]
Dbfi_enet.h355 struct bfi_msgq_mhdr mh; member
368 struct bfi_msgq_mhdr mh; member
375 struct bfi_msgq_mhdr mh; member
387 struct bfi_msgq_mhdr mh; member
394 struct bfi_msgq_mhdr mh; member
425 struct bfi_msgq_mhdr mh; member
440 struct bfi_msgq_mhdr mh; member
496 struct bfi_msgq_mhdr mh; member
513 struct bfi_msgq_mhdr mh; member
534 struct bfi_msgq_mhdr mh; member
[all …]
Dbna_enet.c112 container_of(msghdr, struct bfi_enet_rsp, mh); in bna_bfi_ethport_admin_rsp()
139 container_of(msghdr, struct bfi_enet_rsp, mh); in bna_bfi_ethport_lpbk_rsp()
168 container_of(msghdr, struct bfi_enet_attr_rsp, mh); in bna_bfi_attr_get_rsp()
418 bfi_msgq_mhdr_set(admin_up_req->mh, BFI_MC_ENET, in bna_bfi_ethport_admin_up()
420 admin_up_req->mh.num_entries = htons( in bna_bfi_ethport_admin_up()
425 sizeof(struct bfi_enet_enable_req), &admin_up_req->mh); in bna_bfi_ethport_admin_up()
435 bfi_msgq_mhdr_set(admin_down_req->mh, BFI_MC_ENET, in bna_bfi_ethport_admin_down()
437 admin_down_req->mh.num_entries = htons( in bna_bfi_ethport_admin_down()
442 sizeof(struct bfi_enet_enable_req), &admin_down_req->mh); in bna_bfi_ethport_admin_down()
452 bfi_msgq_mhdr_set(lpbk_up_req->mh, BFI_MC_ENET, in bna_bfi_ethport_lpbk_up()
[all …]
Dbfa_msgq.c199 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_PI, 0); in bfa_msgq_cmdq_dbell()
200 dbell->mh.mtag.i2htok = 0; in bfa_msgq_cmdq_dbell()
293 bfi_h2i_set(rsp->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_CMDQ_COPY_RSP, 0); in bfa_msgq_cmdq_copy_rsp()
294 rsp->mh.mtag.i2htok = htons(cmdq->token); in bfa_msgq_cmdq_copy_rsp()
457 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_CI, 0); in bfa_msgq_rspq_dbell()
458 dbell->mh.mtag.i2htok = 0; in bfa_msgq_rspq_dbell()
522 bfi_h2i_set(msgq_cfg->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_INIT_REQ, 0); in bfa_msgq_init()
523 msgq_cfg->mh.mtag.i2htok = 0; in bfa_msgq_init()
538 switch (msg->mh.msg_id) { in bfa_msgq_isr()
Dbna_tx_rx.c192 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, req_type, 0, rxf->rx->rid); in bna_bfi_ucast_req()
193 req->mh.num_entries = htons( in bna_bfi_ucast_req()
197 sizeof(struct bfi_enet_ucast_req), &req->mh); in bna_bfi_ucast_req()
207 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, BFI_ENET_H2I_MAC_MCAST_ADD_REQ, in bna_bfi_mcast_add_req()
209 req->mh.num_entries = htons( in bna_bfi_mcast_add_req()
213 sizeof(struct bfi_enet_mcast_add_req), &req->mh); in bna_bfi_mcast_add_req()
223 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, BFI_ENET_H2I_MAC_MCAST_DEL_REQ, in bna_bfi_mcast_del_req()
225 req->mh.num_entries = htons( in bna_bfi_mcast_del_req()
229 sizeof(struct bfi_enet_mcast_del_req), &req->mh); in bna_bfi_mcast_del_req()
238 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, in bna_bfi_mcast_filter_req()
[all …]
/Linux-v4.19/drivers/mtd/
Dinftlmount.c50 struct INFTLMediaHeader *mh = &inftl->MediaHdr; in find_boot_record() local
117 memcpy(mh, buf, sizeof(struct INFTLMediaHeader)); in find_boot_record()
128 if (memcmp(mh, buf, sizeof(struct INFTLMediaHeader))) { in find_boot_record()
134 mh->NoOfBootImageBlocks = le32_to_cpu(mh->NoOfBootImageBlocks); in find_boot_record()
135 mh->NoOfBinaryPartitions = le32_to_cpu(mh->NoOfBinaryPartitions); in find_boot_record()
136 mh->NoOfBDTLPartitions = le32_to_cpu(mh->NoOfBDTLPartitions); in find_boot_record()
137 mh->BlockMultiplierBits = le32_to_cpu(mh->BlockMultiplierBits); in find_boot_record()
138 mh->FormatFlags = le32_to_cpu(mh->FormatFlags); in find_boot_record()
139 mh->PercentUsed = le32_to_cpu(mh->PercentUsed); in find_boot_record()
150 mh->bootRecordID, mh->NoOfBootImageBlocks, in find_boot_record()
[all …]
Dnftlmount.c44 struct NFTLMediaHeader *mh = &nftl->MediaHdr; in find_boot_record() local
134 if (memcmp(mh, buf, sizeof(struct NFTLMediaHeader))) { in find_boot_record()
156 memcpy(mh, buf, sizeof(struct NFTLMediaHeader)); in find_boot_record()
163 if (mh->UnitSizeFactor == 0) { in find_boot_record()
165 } else if (mh->UnitSizeFactor < 0xfc) { in find_boot_record()
167 mh->UnitSizeFactor); in find_boot_record()
169 } else if (mh->UnitSizeFactor != 0xff) { in find_boot_record()
171 mh->UnitSizeFactor); in find_boot_record()
172 nftl->EraseSize = nftl->mbd.mtd->erasesize << (0xff - mh->UnitSizeFactor); in find_boot_record()
176 nftl->nb_boot_blocks = le16_to_cpu(mh->FirstPhysicalEUN); in find_boot_record()
[all …]
/Linux-v4.19/fs/dlm/
Drcom.c36 struct dlm_mhandle *mh; in create_rcom() local
40 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, GFP_NOFS, &mb); in create_rcom()
41 if (!mh) { in create_rcom()
62 *mh_ret = mh; in create_rcom()
67 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, in send_rcom() argument
71 dlm_lowcomms_commit_buffer(mh); in send_rcom()
147 struct dlm_mhandle *mh; in dlm_rcom_status() local
160 sizeof(struct rcom_status), &rc, &mh); in dlm_rcom_status()
169 send_rcom(ls, mh, rc); in dlm_rcom_status()
197 struct dlm_mhandle *mh; in receive_rcom_status() local
[all …]
Dlowcomms.h22 void dlm_lowcomms_commit_buffer(void *mh);
/Linux-v4.19/arch/arm/vfp/
Dvfp.h47 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in add128() argument
54 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in add128()
60 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in sub128() argument
67 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in sub128()
75 u32 nh, nl, mh, ml; in mul64to128() local
85 mh = m >> 32; in mul64to128()
86 rmb = (u64)nl * mh; in mul64to128()
89 rh = (u64)nh * mh; in mul64to128()
115 u64 mh, ml, remh, reml, termh, terml, z; in vfp_estimate_div128to64() local
119 mh = m >> 32; in vfp_estimate_div128to64()
[all …]
/Linux-v4.19/net/ipv6/netfilter/
Dip6t_mh.c38 const struct ip6_mh *mh; in mh_mt6() local
45 mh = skb_header_pointer(skb, par->thoff, sizeof(_mh), &_mh); in mh_mt6()
46 if (mh == NULL) { in mh_mt6()
54 if (mh->ip6mh_proto != IPPROTO_NONE) { in mh_mt6()
56 mh->ip6mh_proto); in mh_mt6()
61 return type_match(mhinfo->types[0], mhinfo->types[1], mh->ip6mh_type, in mh_mt6()
/Linux-v4.19/fs/gfs2/
Dutil.h86 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_meta_check() local
87 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_meta_check()
107 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_check_i() local
108 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_metatype_check_i()
109 u16 t = be32_to_cpu(mh->mh_type); in gfs2_metatype_check_i()
125 struct gfs2_meta_header *mh; in gfs2_metatype_set() local
126 mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_set()
127 mh->mh_type = cpu_to_be32(type); in gfs2_metatype_set()
128 mh->mh_format = cpu_to_be32(format); in gfs2_metatype_set()
Dtrans.c197 struct gfs2_meta_header *mh; in gfs2_trans_add_meta() local
226 mh = (struct gfs2_meta_header *)bd->bd_bh->b_data; in gfs2_trans_add_meta()
227 if (unlikely(mh->mh_magic != cpu_to_be32(GFS2_MAGIC))) { in gfs2_trans_add_meta()
237 mh->__pad0 = cpu_to_be64(0); in gfs2_trans_add_meta()
238 mh->mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in gfs2_trans_add_meta()
/Linux-v4.19/net/802/
Dmrp.c337 if (mrp_cb(app->pdu)->mh) in mrp_pdu_queue()
360 struct mrp_msg_hdr *mh; in mrp_pdu_append_msg_hdr() local
362 if (mrp_cb(app->pdu)->mh) { in mrp_pdu_append_msg_hdr()
365 mrp_cb(app->pdu)->mh = NULL; in mrp_pdu_append_msg_hdr()
369 if (skb_tailroom(app->pdu) < sizeof(*mh)) in mrp_pdu_append_msg_hdr()
371 mh = __skb_put(app->pdu, sizeof(*mh)); in mrp_pdu_append_msg_hdr()
372 mh->attrtype = attrtype; in mrp_pdu_append_msg_hdr()
373 mh->attrlen = attrlen; in mrp_pdu_append_msg_hdr()
374 mrp_cb(app->pdu)->mh = mh; in mrp_pdu_append_msg_hdr()
411 if (!mrp_cb(app->pdu)->mh || in mrp_pdu_append_vecattr_event()
[all …]
/Linux-v4.19/drivers/mtd/nand/raw/
Ddiskonchip.c1051 struct NFTLMediaHeader *mh; in nftl_partscan() local
1063 mh = (struct NFTLMediaHeader *)buf; in nftl_partscan()
1065 le16_to_cpus(&mh->NumEraseUnits); in nftl_partscan()
1066 le16_to_cpus(&mh->FirstPhysicalEUN); in nftl_partscan()
1067 le32_to_cpus(&mh->FormattedSize); in nftl_partscan()
1074 mh->DataOrgID, mh->NumEraseUnits, in nftl_partscan()
1075 mh->FirstPhysicalEUN, mh->FormattedSize, in nftl_partscan()
1076 mh->UnitSizeFactor); in nftl_partscan()
1081 if (mh->UnitSizeFactor == 0x00) { in nftl_partscan()
1087 mh->UnitSizeFactor = 0xff; in nftl_partscan()
[all …]
/Linux-v4.19/net/ipv6/
Dmip6.c89 const struct ip6_mh *mh; in mip6_mh_filter() local
91 mh = skb_header_pointer(skb, skb_transport_offset(skb), in mip6_mh_filter()
93 if (!mh) in mip6_mh_filter()
96 if (((mh->ip6mh_hdrlen + 1) << 3) > skb->len) in mip6_mh_filter()
99 if (mh->ip6mh_hdrlen < mip6_mh_len(mh->ip6mh_type)) { in mip6_mh_filter()
101 mh->ip6mh_hdrlen, in mip6_mh_filter()
102 mip6_mh_len(mh->ip6mh_type)); in mip6_mh_filter()
108 if (mh->ip6mh_proto != IPPROTO_NONE) { in mip6_mh_filter()
110 mh->ip6mh_proto); in mip6_mh_filter()
/Linux-v4.19/drivers/crypto/bcm/
Dspu.c59 if (spuh->mh.flags & MH_SCTX_PRES) in spum_dump_msg_hdr()
61 if (spuh->mh.flags & MH_BDESC_PRES) in spum_dump_msg_hdr()
63 if (spuh->mh.flags & MH_MFM_PRES) in spum_dump_msg_hdr()
65 if (spuh->mh.flags & MH_BD_PRES) in spum_dump_msg_hdr()
67 if (spuh->mh.flags & MH_HASH_PRES) in spum_dump_msg_hdr()
69 if (spuh->mh.flags & MH_SUPDT_PRES) in spum_dump_msg_hdr()
71 packet_log(" Opcode 0x%02x\n", spuh->mh.op_code); in spum_dump_msg_hdr()
73 ptr += sizeof(spuh->mh) + sizeof(spuh->emh); /* skip emh. unused */ in spum_dump_msg_hdr()
76 if (spuh->mh.flags & MH_SCTX_PRES) { in spum_dump_msg_hdr()
293 if (spuh->mh.flags & MH_BDESC_PRES) { in spum_dump_msg_hdr()
[all …]
/Linux-v4.19/arch/sh/kernel/cpu/sh2a/
Dfpu.c156 static inline long long rshift64(unsigned long long mh, in rshift64() argument
160 return mh >> (n - 64); in rshift64()
161 return (mh << (64 - n)) | (ml >> n); in rshift64()
167 unsigned long long mh, ml, nh, nl; in denormal_muld() local
178 mult64(ix, iy, &mh, &ml); in denormal_muld()
179 nh = mh; in denormal_muld()
191 ix = (rshift64(mh, ml, w - 52) & 0x000fffffffffffffLL) in denormal_muld()
194 ix = rshift64(mh, ml, w - 51 - exp) & 0x000fffffffffffffLL; in denormal_muld()
/Linux-v4.19/arch/h8300/
DMakefile13 cflags-$(CONFIG_CPU_H8300H) := -mh
14 aflags-$(CONFIG_CPU_H8300H) := -mh -Wa,--mach=h8300h
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c177 struct mlx5e_mod_hdr_entry *mh; in mlx5e_attach_mod_hdr() local
192 hash_for_each_possible(esw->offloads.mod_hdr_tbl, mh, in mlx5e_attach_mod_hdr()
194 if (!cmp_mod_hdr_info(&mh->key, &key)) { in mlx5e_attach_mod_hdr()
201 hash_for_each_possible(priv->fs.tc.mod_hdr_tbl, mh, in mlx5e_attach_mod_hdr()
203 if (!cmp_mod_hdr_info(&mh->key, &key)) { in mlx5e_attach_mod_hdr()
213 mh = kzalloc(sizeof(*mh) + actions_size, GFP_KERNEL); in mlx5e_attach_mod_hdr()
214 if (!mh) in mlx5e_attach_mod_hdr()
217 mh->key.actions = (void *)mh + sizeof(*mh); in mlx5e_attach_mod_hdr()
218 memcpy(mh->key.actions, key.actions, actions_size); in mlx5e_attach_mod_hdr()
219 mh->key.num_actions = num_actions; in mlx5e_attach_mod_hdr()
[all …]

12