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.h176 struct bfi_mhdr_s mh; member
263 struct bfi_mhdr_s mh; member
301 struct bfi_mhdr_s mh; /* Common msg header */ member
357 struct bfi_mhdr_s mh; /* common msg header */ member
411 struct bfi_mhdr_s mh; member
423 struct bfi_mhdr_s mh; /* Common msg header */ member
437 struct bfi_mhdr_s mh; member
448 struct bfi_mhdr_s mh; member
555 struct bfi_mhdr_s mh; member
562 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.c1622 bfi_h2i_set(enable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_ENABLE_REQ, in bfa_ioc_send_enable()
1635 bfi_h2i_set(disable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_DISABLE_REQ, in bfa_ioc_send_disable()
1645 bfi_h2i_set(attr_req.mh, BFI_MC_IOC, BFI_IOC_H2I_GETATTR_REQ, in bfa_ioc_send_getattr()
2088 switch (msg->mh.msg_id) { in bfa_ioc_isr()
2108 bfa_trc(ioc, msg->mh.msg_id); in bfa_ioc_isr()
2364 mc = m.mh.msg_class; in bfa_ioc_mbox_isr()
2749 bfi_h2i_set(req->mh, BFI_MC_IOC, BFI_IOC_H2I_DBG_SYNC, in bfa_ioc_send_fwsync()
3047 WARN_ON(msg->mh.msg_class != BFI_MC_ABLK); in bfa_ablk_isr()
3048 bfa_trc(ablk->ioc, msg->mh.msg_id); in bfa_ablk_isr()
3050 switch (msg->mh.msg_id) { in bfa_ablk_isr()
[all …]
Dbfa_svc.c845 bfi_h2i_set(send_req->mh, BFI_MC_FCXP, BFI_FCXP_H2I_SEND_REQ, in bfa_fcxp_queue()
908 bfa_reqq_produce(bfa, BFA_REQQ_FCXP, send_req->mh); in bfa_fcxp_queue()
1737 bfi_h2i_set(m->mh, BFI_MC_LPS, BFI_LPS_H2I_LOGIN_REQ, in bfa_lps_send_login()
1749 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_login()
1765 bfi_h2i_set(m->mh, BFI_MC_LPS, BFI_LPS_H2I_LOGOUT_REQ, in bfa_lps_send_logout()
1770 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_logout()
1784 bfi_h2i_set(m->mh, BFI_MC_LPS, BFI_LPS_H2I_N2N_PID_REQ, in bfa_lps_send_set_n2n_pid()
1789 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_set_n2n_pid()
3207 bfi_h2i_set(m->mh, BFI_MC_FCPORT, BFI_FCPORT_H2I_ENABLE_REQ, in bfa_fcport_send_enable()
3222 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.h95 struct bfi_mhdr mh; member
183 struct bfi_mhdr mh; member
216 struct bfi_mhdr mh; /*!< Common msg header */ member
270 struct bfi_mhdr mh; /*!< common msg header */ member
320 struct bfi_mhdr mh; member
328 struct bfi_mhdr mh; /*!< Common msg header */ member
338 struct bfi_mhdr mh; member
347 struct bfi_mhdr mh; member
405 struct bfi_mhdr mh; member
412 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
496 struct bfi_msgq_mhdr mh; member
513 struct bfi_msgq_mhdr mh; member
534 struct bfi_msgq_mhdr mh; member
[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_enet.c409 bfi_msgq_mhdr_set(admin_up_req->mh, BFI_MC_ENET, in bna_bfi_ethport_admin_up()
411 admin_up_req->mh.num_entries = htons( in bna_bfi_ethport_admin_up()
416 sizeof(struct bfi_enet_enable_req), &admin_up_req->mh); in bna_bfi_ethport_admin_up()
426 bfi_msgq_mhdr_set(admin_down_req->mh, BFI_MC_ENET, in bna_bfi_ethport_admin_down()
428 admin_down_req->mh.num_entries = htons( in bna_bfi_ethport_admin_down()
433 sizeof(struct bfi_enet_enable_req), &admin_down_req->mh); in bna_bfi_ethport_admin_down()
443 bfi_msgq_mhdr_set(lpbk_up_req->mh, BFI_MC_ENET, in bna_bfi_ethport_lpbk_up()
445 lpbk_up_req->mh.num_entries = htons( in bna_bfi_ethport_lpbk_up()
454 sizeof(struct bfi_enet_diag_lb_req), &lpbk_up_req->mh); in bna_bfi_ethport_lpbk_up()
464 bfi_msgq_mhdr_set(lpbk_down_req->mh, BFI_MC_ENET, in bna_bfi_ethport_lpbk_down()
[all …]
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.c1457 bfi_h2i_set(enable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_ENABLE_REQ, in bfa_ioc_send_enable()
1470 bfi_h2i_set(disable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_DISABLE_REQ, in bfa_ioc_send_disable()
1480 bfi_h2i_set(attr_req.mh, BFI_MC_IOC, BFI_IOC_H2I_GETATTR_REQ, in bfa_ioc_send_getattr()
1921 switch (msg->mh.msg_id) { in bfa_ioc_isr()
2166 mc = m.mh.msg_class; in bfa_nw_ioc_mbox_isr()
2551 bfi_h2i_set(msg->mh, BFI_MC_FLASH, BFI_FLASH_H2I_WRITE_REQ, in bfa_flash_write_send()
2580 bfi_h2i_set(msg->mh, BFI_MC_FLASH, BFI_FLASH_H2I_READ_REQ, in bfa_flash_read_send()
2608 if (!flash->op_busy && msg->mh.msg_id != BFI_FLASH_I2H_EVENT) in bfa_flash_intr()
2611 switch (msg->mh.msg_id) { in bfa_flash_intr()
2749 bfi_h2i_set(msg->mh, BFI_MC_FLASH, BFI_FLASH_H2I_QUERY_REQ, in bfa_nw_flash_get_attr()
/drivers/mtd/
Dinftlmount.c51 struct INFTLMediaHeader *mh = &inftl->MediaHdr; in find_boot_record() local
118 memcpy(mh, buf, sizeof(struct INFTLMediaHeader)); in find_boot_record()
129 if (memcmp(mh, buf, sizeof(struct INFTLMediaHeader))) { in find_boot_record()
135 mh->NoOfBootImageBlocks = le32_to_cpu(mh->NoOfBootImageBlocks); in find_boot_record()
136 mh->NoOfBinaryPartitions = le32_to_cpu(mh->NoOfBinaryPartitions); in find_boot_record()
137 mh->NoOfBDTLPartitions = le32_to_cpu(mh->NoOfBDTLPartitions); in find_boot_record()
138 mh->BlockMultiplierBits = le32_to_cpu(mh->BlockMultiplierBits); in find_boot_record()
139 mh->FormatFlags = le32_to_cpu(mh->FormatFlags); in find_boot_record()
140 mh->PercentUsed = le32_to_cpu(mh->PercentUsed); in find_boot_record()
151 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.c1053 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.c494 struct c4iw_mr mh, *mhp; in c4iw_reregister_phys_mem() local
517 memcpy(&mh, mhp, sizeof *mhp); in c4iw_reregister_phys_mem()
522 mh.attr.perms = c4iw_ib_to_tpt_access(acc); in c4iw_reregister_phys_mem()
523 mh.attr.mw_bind_enable = (acc & IB_ACCESS_MW_BIND) == in c4iw_reregister_phys_mem()
535 ret = reregister_mem(rhp, php, &mh, shift, npages); in c4iw_reregister_phys_mem()
/drivers/cdrom/
Dcdrom.c2836 struct modesel_head mh; in cdrom_switch_blocksize() local
2838 memset(&mh, 0, sizeof(mh)); in cdrom_switch_blocksize()
2839 mh.block_desc_length = 0x08; in cdrom_switch_blocksize()
2840 mh.block_length_med = (size >> 8) & 0xff; in cdrom_switch_blocksize()
2841 mh.block_length_lo = size & 0xff; in cdrom_switch_blocksize()
2847 cgc.buflen = sizeof(mh); in cdrom_switch_blocksize()
2848 cgc.buffer = (char *) &mh; in cdrom_switch_blocksize()
2850 mh.block_desc_length = 0x08; in cdrom_switch_blocksize()
2851 mh.block_length_med = (size >> 8) & 0xff; in cdrom_switch_blocksize()
2852 mh.block_length_lo = size & 0xff; in cdrom_switch_blocksize()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c556 struct iwch_mr mh, *mhp; in iwch_reregister_phys_mem() local
579 memcpy(&mh, mhp, sizeof *mhp); in iwch_reregister_phys_mem()
584 mh.attr.perms = iwch_ib_to_tpt_access(acc); in iwch_reregister_phys_mem()
594 ret = iwch_reregister_mem(rhp, php, &mh, shift, npages); in iwch_reregister_phys_mem()