Home
last modified time | relevance | path

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

/drivers/scsi/bfa/
Dbfi_ms.h107 struct bfi_mhdr_s mh; member
116 struct bfi_mhdr_s mh; /* Common msg header */ member
127 struct bfi_mhdr_s mh; /* common msg header */ member
139 struct bfi_mhdr_s mh; /* common msg header */ member
151 struct bfi_mhdr_s mh; /* common msg header */ member
161 struct bfi_mhdr_s mh; member
172 struct bfi_mhdr_s mh; member
182 struct bfi_mhdr_s mh; /* common msg header */ member
186 struct bfi_mhdr_s mh; /* common msg header */ member
196 struct bfi_mhdr_s mh; /* common msg header */ member
[all …]
Dbfi.h177 struct bfi_mhdr_s mh; member
264 struct bfi_mhdr_s mh; member
304 struct bfi_mhdr_s mh; /* Common msg header */ member
396 struct bfi_mhdr_s mh; /* common msg header */ member
454 struct bfi_mhdr_s mh; member
466 struct bfi_mhdr_s mh; /* Common msg header */ member
480 struct bfi_mhdr_s mh; member
491 struct bfi_mhdr_s mh; member
598 struct bfi_mhdr_s mh; member
605 struct bfi_mhdr_s mh; member
[all …]
Dbfa_port.c158 bfa_trc(port, m->mh.msg_id); in bfa_port_isr()
160 switch (m->mh.msg_id) { in bfa_port_isr()
271 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_ENABLE_REQ, in bfa_port_enable()
327 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_DISABLE_REQ, in bfa_port_disable()
367 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_GET_STATS_REQ, in bfa_port_get_stats()
404 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_CLEAR_STATS_REQ, in bfa_port_clear_stats()
681 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_GET_CFG_REQ, in bfa_cee_get_attr()
721 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_GET_STATS_REQ, in bfa_cee_get_stats()
758 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_RESET_STATS, in bfa_cee_reset_stats()
783 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()
1836 bfi_h2i_set(attr_req.mh, BFI_MC_IOC, BFI_IOC_H2I_GETATTR_REQ, in bfa_ioc_send_getattr()
2339 switch (msg->mh.msg_id) { in bfa_ioc_isr()
2359 bfa_trc(ioc, msg->mh.msg_id); in bfa_ioc_isr()
2616 mc = m.mh.msg_class; in bfa_ioc_mbox_isr()
3001 bfi_h2i_set(req->mh, BFI_MC_IOC, BFI_IOC_H2I_DBG_SYNC, in bfa_ioc_send_fwsync()
3299 WARN_ON(msg->mh.msg_class != BFI_MC_ABLK); in bfa_ablk_isr()
3300 bfa_trc(ablk->ioc, msg->mh.msg_id); in bfa_ablk_isr()
3302 switch (msg->mh.msg_id) { in bfa_ablk_isr()
[all …]
Dbfa_svc.c850 bfi_h2i_set(send_req->mh, BFI_MC_FCXP, BFI_FCXP_H2I_SEND_REQ, in bfa_fcxp_queue()
913 bfa_reqq_produce(bfa, BFA_REQQ_FCXP, send_req->mh); in bfa_fcxp_queue()
1741 bfi_h2i_set(m->mh, BFI_MC_LPS, BFI_LPS_H2I_LOGIN_REQ, in bfa_lps_send_login()
1752 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_login()
1768 bfi_h2i_set(m->mh, BFI_MC_LPS, BFI_LPS_H2I_LOGOUT_REQ, in bfa_lps_send_logout()
1773 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_logout()
1787 bfi_h2i_set(m->mh, BFI_MC_LPS, BFI_LPS_H2I_N2N_PID_REQ, in bfa_lps_send_set_n2n_pid()
1792 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_set_n2n_pid()
3254 bfi_h2i_set(m->mh, BFI_MC_FCPORT, BFI_FCPORT_H2I_ENABLE_REQ, in bfa_fcport_send_enable()
3269 bfa_reqq_produce(fcport->bfa, BFA_REQQ_PORT, m->mh); in bfa_fcport_send_enable()
[all …]
Dbfa_fcpim.c1171 bfi_h2i_set(m->mh, BFI_MC_ITN, BFI_ITN_H2I_CREATE_REQ, in bfa_itnim_send_fwcreate()
1182 bfa_reqq_produce(itnim->bfa, itnim->reqq, m->mh); in bfa_itnim_send_fwcreate()
1200 bfi_h2i_set(m->mh, BFI_MC_ITN, BFI_ITN_H2I_DELETE_REQ, in bfa_itnim_send_fwdelete()
1208 bfa_reqq_produce(itnim->bfa, itnim->reqq, m->mh); in bfa_itnim_send_fwdelete()
2576 bfi_h2i_set(m->mh, BFI_MC_IOIM_READ, 0, bfa_fn_lpu(ioim->bfa)); in bfa_ioim_send_ioreq()
2581 bfi_h2i_set(m->mh, BFI_MC_IOIM_WRITE, 0, bfa_fn_lpu(ioim->bfa)); in bfa_ioim_send_ioreq()
2589 bfi_h2i_set(m->mh, BFI_MC_IOIM_IO, 0, bfa_fn_lpu(ioim->bfa)); in bfa_ioim_send_ioreq()
2593 bfi_h2i_set(m->mh, BFI_MC_IOIM_IO, 0, bfa_fn_lpu(ioim->bfa)); in bfa_ioim_send_ioreq()
2598 bfa_reqq_produce(ioim->bfa, ioim->reqq, m->mh); in bfa_ioim_send_ioreq()
2656 bfi_h2i_set(m->mh, BFI_MC_IOIM, msgop, bfa_fn_lpu(ioim->bfa)); in bfa_ioim_send_abort()
[all …]
Dbfa_core.c1031 bfi_h2i_set(cfg_req.mh, BFI_MC_IOCFC, BFI_IOCFC_H2I_CFG_REQ, in bfa_iocfc_send_cfg()
1383 bfi_h2i_set(faa_attr_req.mh, BFI_MC_IOCFC, in bfa_faa_query()
1582 bfa_trc(bfa, msg->mh.msg_id); in bfa_iocfc_isr()
1584 switch (msg->mh.msg_id) { in bfa_iocfc_isr()
1638 bfi_h2i_set(m->mh, BFI_MC_IOCFC, BFI_IOCFC_H2I_SET_INTR_REQ, in bfa_iocfc_israttr_set()
1647 bfa_reqq_produce(bfa, BFA_REQQ_IOC, m->mh); in bfa_iocfc_israttr_set()
/drivers/net/ethernet/brocade/bna/
Dbfi_cna.h42 struct bfi_mhdr mh; /*!< msg header */ member
49 struct bfi_mhdr mh; /*!< common msg header */ member
57 struct bfi_mhdr mh; /*!< common msg header */ member
62 struct bfi_mhdr mh; member
70 struct bfi_mhdr mh; member
98 struct bfi_mhdr mh; member
106 struct bfi_mhdr mh; member
114 struct bfi_mhdr mh; member
123 struct bfi_mhdr mh; member
133 struct bfi_mhdr mh; member
[all …]
Dbfi.h96 struct bfi_mhdr mh; member
184 struct bfi_mhdr mh; member
217 struct bfi_mhdr mh; /*!< Common msg header */ member
301 struct bfi_mhdr mh; /*!< common msg header */ member
351 struct bfi_mhdr mh; member
359 struct bfi_mhdr mh; /*!< Common msg header */ member
369 struct bfi_mhdr mh; member
378 struct bfi_mhdr mh; member
436 struct bfi_mhdr mh; member
443 struct bfi_mhdr mh; member
[all …]
Dbfi_enet.h356 struct bfi_msgq_mhdr mh; member
369 struct bfi_msgq_mhdr mh; member
376 struct bfi_msgq_mhdr mh; member
388 struct bfi_msgq_mhdr mh; member
395 struct bfi_msgq_mhdr mh; member
426 struct bfi_msgq_mhdr mh; member
441 struct bfi_msgq_mhdr mh; member
497 struct bfi_msgq_mhdr mh; member
514 struct bfi_msgq_mhdr mh; member
535 struct bfi_msgq_mhdr mh; member
[all …]
Dbna_enet.c111 container_of(msghdr, struct bfi_enet_rsp, mh); in bna_bfi_ethport_admin_rsp()
138 container_of(msghdr, struct bfi_enet_rsp, mh); in bna_bfi_ethport_lpbk_rsp()
167 container_of(msghdr, struct bfi_enet_attr_rsp, mh); in bna_bfi_attr_get_rsp()
417 bfi_msgq_mhdr_set(admin_up_req->mh, BFI_MC_ENET, in bna_bfi_ethport_admin_up()
419 admin_up_req->mh.num_entries = htons( in bna_bfi_ethport_admin_up()
424 sizeof(struct bfi_enet_enable_req), &admin_up_req->mh); in bna_bfi_ethport_admin_up()
434 bfi_msgq_mhdr_set(admin_down_req->mh, BFI_MC_ENET, in bna_bfi_ethport_admin_down()
436 admin_down_req->mh.num_entries = htons( in bna_bfi_ethport_admin_down()
441 sizeof(struct bfi_enet_enable_req), &admin_down_req->mh); in bna_bfi_ethport_admin_down()
451 bfi_msgq_mhdr_set(lpbk_up_req->mh, BFI_MC_ENET, in bna_bfi_ethport_lpbk_up()
[all …]
Dbfa_msgq.c197 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_PI, 0); in bfa_msgq_cmdq_dbell()
198 dbell->mh.mtag.i2htok = 0; in bfa_msgq_cmdq_dbell()
291 bfi_h2i_set(rsp->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_CMDQ_COPY_RSP, 0); in bfa_msgq_cmdq_copy_rsp()
292 rsp->mh.mtag.i2htok = htons(cmdq->token); in bfa_msgq_cmdq_copy_rsp()
455 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_CI, 0); in bfa_msgq_rspq_dbell()
456 dbell->mh.mtag.i2htok = 0; in bfa_msgq_rspq_dbell()
520 bfi_h2i_set(msgq_cfg->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_INIT_REQ, 0); in bfa_msgq_init()
521 msgq_cfg->mh.mtag.i2htok = 0; in bfa_msgq_init()
536 switch (msg->mh.msg_id) { in bfa_msgq_isr()
Dbna_tx_rx.c282 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, req_type, 0, rxf->rx->rid); in bna_bfi_ucast_req()
283 req->mh.num_entries = htons( in bna_bfi_ucast_req()
287 sizeof(struct bfi_enet_ucast_req), &req->mh); in bna_bfi_ucast_req()
297 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, BFI_ENET_H2I_MAC_MCAST_ADD_REQ, in bna_bfi_mcast_add_req()
299 req->mh.num_entries = htons( in bna_bfi_mcast_add_req()
303 sizeof(struct bfi_enet_mcast_add_req), &req->mh); in bna_bfi_mcast_add_req()
313 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, BFI_ENET_H2I_MAC_MCAST_DEL_REQ, in bna_bfi_mcast_del_req()
315 req->mh.num_entries = htons( in bna_bfi_mcast_del_req()
319 sizeof(struct bfi_enet_mcast_del_req), &req->mh); in bna_bfi_mcast_del_req()
328 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, in bna_bfi_mcast_filter_req()
[all …]
Dbfa_cee.c182 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_GET_CFG_REQ, in bfa_nw_cee_get_attr()
202 switch (msg->mh.msg_id) { in bfa_cee_isr()
Dbfa_ioc.c1952 bfi_h2i_set(enable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_ENABLE_REQ, in bfa_ioc_send_enable()
1965 bfi_h2i_set(disable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_DISABLE_REQ, in bfa_ioc_send_disable()
1975 bfi_h2i_set(attr_req.mh, BFI_MC_IOC, BFI_IOC_H2I_GETATTR_REQ, in bfa_ioc_send_getattr()
2468 switch (msg->mh.msg_id) { in bfa_ioc_isr()
2713 mc = m.mh.msg_class; in bfa_nw_ioc_mbox_isr()
3099 bfi_h2i_set(msg->mh, BFI_MC_FLASH, BFI_FLASH_H2I_WRITE_REQ, in bfa_flash_write_send()
3128 bfi_h2i_set(msg->mh, BFI_MC_FLASH, BFI_FLASH_H2I_READ_REQ, in bfa_flash_read_send()
3156 if (!flash->op_busy && msg->mh.msg_id != BFI_FLASH_I2H_EVENT) in bfa_flash_intr()
3159 switch (msg->mh.msg_id) { in bfa_flash_intr()
3297 bfi_h2i_set(msg->mh, BFI_MC_FLASH, BFI_FLASH_H2I_QUERY_REQ, in bfa_nw_flash_get_attr()
/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
133 if (memcmp(mh, buf, sizeof(struct NFTLMediaHeader))) { in find_boot_record()
155 memcpy(mh, buf, sizeof(struct NFTLMediaHeader)); in find_boot_record()
162 if (mh->UnitSizeFactor == 0) { in find_boot_record()
164 } else if (mh->UnitSizeFactor < 0xfc) { in find_boot_record()
166 mh->UnitSizeFactor); in find_boot_record()
168 } else if (mh->UnitSizeFactor != 0xff) { in find_boot_record()
170 mh->UnitSizeFactor); in find_boot_record()
171 nftl->EraseSize = nftl->mbd.mtd->erasesize << (0xff - mh->UnitSizeFactor); in find_boot_record()
175 nftl->nb_boot_blocks = le16_to_cpu(mh->FirstPhysicalEUN); in find_boot_record()
[all …]
/drivers/mtd/nand/
Ddiskonchip.c1054 struct NFTLMediaHeader *mh; in nftl_partscan() local
1066 mh = (struct NFTLMediaHeader *)buf; in nftl_partscan()
1068 le16_to_cpus(&mh->NumEraseUnits); in nftl_partscan()
1069 le16_to_cpus(&mh->FirstPhysicalEUN); in nftl_partscan()
1070 le32_to_cpus(&mh->FormattedSize); in nftl_partscan()
1077 mh->DataOrgID, mh->NumEraseUnits, in nftl_partscan()
1078 mh->FirstPhysicalEUN, mh->FormattedSize, in nftl_partscan()
1079 mh->UnitSizeFactor); in nftl_partscan()
1084 if (mh->UnitSizeFactor == 0x00) { in nftl_partscan()
1090 mh->UnitSizeFactor = 0xff; in nftl_partscan()
[all …]
/drivers/infiniband/hw/cxgb4/
Dmem.c498 struct c4iw_mr mh, *mhp; in c4iw_reregister_phys_mem() local
521 memcpy(&mh, mhp, sizeof *mhp); in c4iw_reregister_phys_mem()
526 mh.attr.perms = c4iw_ib_to_tpt_access(acc); in c4iw_reregister_phys_mem()
527 mh.attr.mw_bind_enable = (acc & IB_ACCESS_MW_BIND) == in c4iw_reregister_phys_mem()
539 ret = reregister_mem(rhp, php, &mh, shift, npages); in c4iw_reregister_phys_mem()
/drivers/cdrom/
Dcdrom.c2758 struct modesel_head mh; in cdrom_switch_blocksize() local
2760 memset(&mh, 0, sizeof(mh)); in cdrom_switch_blocksize()
2761 mh.block_desc_length = 0x08; in cdrom_switch_blocksize()
2762 mh.block_length_med = (size >> 8) & 0xff; in cdrom_switch_blocksize()
2763 mh.block_length_lo = size & 0xff; in cdrom_switch_blocksize()
2769 cgc.buflen = sizeof(mh); in cdrom_switch_blocksize()
2770 cgc.buffer = (char *) &mh; in cdrom_switch_blocksize()
2772 mh.block_desc_length = 0x08; in cdrom_switch_blocksize()
2773 mh.block_length_med = (size >> 8) & 0xff; in cdrom_switch_blocksize()
2774 mh.block_length_lo = size & 0xff; in cdrom_switch_blocksize()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c557 struct iwch_mr mh, *mhp; in iwch_reregister_phys_mem() local
580 memcpy(&mh, mhp, sizeof *mhp); in iwch_reregister_phys_mem()
585 mh.attr.perms = iwch_ib_to_tpt_access(acc); in iwch_reregister_phys_mem()
595 ret = iwch_reregister_mem(rhp, php, &mh, shift, npages); in iwch_reregister_phys_mem()