| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | mod_hdr.c | 63 found = mh; in mod_hdr_get() 92 if (mh) { in mlx5e_mod_hdr_attach() 103 mh = kzalloc(sizeof(*mh) + actions_size, GFP_KERNEL); in mlx5e_mod_hdr_attach() 104 if (!mh) { in mlx5e_mod_hdr_attach() 109 mh->key.actions = (void *)mh + sizeof(*mh); in mlx5e_mod_hdr_attach() 120 mh->key.actions); in mlx5e_mod_hdr_attach() 123 mh->compl_result = err; in mlx5e_mod_hdr_attach() 126 mh->compl_result = 1; in mlx5e_mod_hdr_attach() 130 return mh; in mlx5e_mod_hdr_attach() 151 kfree(mh); in mlx5e_mod_hdr_detach() [all …]
|
| A D | mod_hdr.h | 43 struct mlx5e_mod_hdr_handle *mh); 44 struct mlx5_modify_hdr *mlx5e_mod_hdr_get(struct mlx5e_mod_hdr_handle *mh);
|
| A D | tc_ct.c | 90 struct mlx5e_mod_hdr_handle *mh; member 171 struct mlx5e_mod_hdr_handle *mh); 719 struct mlx5e_mod_hdr_handle **mh, in mlx5_tc_ct_entry_create_mod_hdr() argument 768 *mh = NULL; in mlx5_tc_ct_entry_create_mod_hdr() 774 if (IS_ERR(*mh)) { in mlx5_tc_ct_entry_create_mod_hdr() 775 err = PTR_ERR(*mh); in mlx5_tc_ct_entry_create_mod_hdr() 793 struct mlx5e_mod_hdr_handle *mh) in mlx5_tc_ct_entry_destroy_mod_hdr() argument 795 if (mh) in mlx5_tc_ct_entry_destroy_mod_hdr() 826 &zone_rule->mh, in mlx5_tc_ct_entry_add_rule() 886 struct mlx5e_mod_hdr_handle *mh; in mlx5_tc_ct_entry_update_rule() local [all …]
|
| /drivers/scsi/bfa/ |
| A D | bfi_ms.h | 100 struct bfi_mhdr_s mh; member 120 struct bfi_mhdr_s mh; /* common msg header */ member 132 struct bfi_mhdr_s mh; /* common msg header */ member 144 struct bfi_mhdr_s mh; /* common msg header */ member 154 struct bfi_mhdr_s mh; member 165 struct bfi_mhdr_s mh; member 179 struct bfi_mhdr_s mh; /* common msg header */ member 236 struct bfi_mhdr_s mh; /* msg header */ member 270 struct bfi_mhdr_s mh; /* msg header */ member 279 struct bfi_mhdr_s mh; /* common msg header */ member [all …]
|
| A D | bfi.h | 170 struct bfi_mhdr_s mh; member 257 struct bfi_mhdr_s mh; member 447 struct bfi_mhdr_s mh; member 591 struct bfi_mhdr_s mh; member 598 struct bfi_mhdr_s mh; member 606 struct bfi_mhdr_s mh; member 613 struct bfi_mhdr_s mh; member 709 struct bfi_mhdr_s mh; member 715 struct bfi_mhdr_s mh; member 726 struct bfi_mhdr_s mh; member [all …]
|
| A D | bfa_port.c | 145 bfa_trc(port, m->mh.msg_id); in bfa_port_isr() 147 switch (m->mh.msg_id) { in bfa_port_isr() 258 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_ENABLE_REQ, in bfa_port_enable() 314 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_DISABLE_REQ, in bfa_port_disable() 354 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_GET_STATS_REQ, in bfa_port_get_stats() 391 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_CLEAR_STATS_REQ, in bfa_port_clear_stats() 665 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_GET_CFG_REQ, in bfa_cee_get_attr() 705 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_GET_STATS_REQ, in bfa_cee_get_stats() 742 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_RESET_STATS, in bfa_cee_reset_stats() 767 bfa_trc(cee, msg->mh.msg_id); in bfa_cee_isr() [all …]
|
| A D | bfa_ioc.c | 2303 switch (msg->mh.msg_id) { in bfa_ioc_isr() 2323 bfa_trc(ioc, msg->mh.msg_id); in bfa_ioc_isr() 2580 mc = m.mh.msg_class; in bfa_ioc_mbox_isr() 3266 switch (msg->mh.msg_id) { in bfa_ablk_isr() 3968 switch (msg->mh.msg_id) { in bfa_sfp_intr() 4340 switch (msg->mh.msg_id) { in bfa_flash_intr() 5006 switch (msg->mh.msg_id) { in bfa_diag_intr() 5690 bfa_trc(phy, msg->mh.msg_id); in bfa_phy_intr() 5698 switch (msg->mh.msg_id) { in bfa_phy_intr() 6524 bfa_trc(fru, msg->mh.msg_id); in bfa_fru_intr() [all …]
|
| A D | bfa_svc.c | 843 bfa_reqq_produce(bfa, BFA_REQQ_FCXP, send_req->mh); in bfa_fcxp_queue() 1644 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_login() 1665 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_logout() 1684 bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); in bfa_lps_send_set_n2n_pid() 3141 bfa_reqq_produce(fcport->bfa, BFA_REQQ_PORT, m->mh); in bfa_fcport_send_enable() 3176 bfa_reqq_produce(fcport->bfa, BFA_REQQ_PORT, m->mh); in bfa_fcport_send_disable() 4844 bfa_reqq_produce(rp->bfa, BFA_REQQ_RPORT, m->mh); in bfa_rport_send_fwcreate() 4869 bfa_reqq_produce(rp->bfa, BFA_REQQ_RPORT, m->mh); in bfa_rport_send_fwdelete() 4895 bfa_reqq_produce(rp->bfa, BFA_REQQ_RPORT, m->mh); in bfa_rport_send_fwspeed() 6383 bfi_h2i_set(m->mh, BFI_MC_DIAG, BFI_DIAG_H2I_DPORT, in bfa_dport_send_req() [all …]
|
| A D | bfa_fcpim.c | 1112 bfi_h2i_set(m->mh, BFI_MC_ITN, BFI_ITN_H2I_CREATE_REQ, in bfa_itnim_send_fwcreate() 1123 bfa_reqq_produce(itnim->bfa, itnim->reqq, m->mh); in bfa_itnim_send_fwcreate() 1141 bfi_h2i_set(m->mh, BFI_MC_ITN, BFI_ITN_H2I_DELETE_REQ, in bfa_itnim_send_fwdelete() 1149 bfa_reqq_produce(itnim->bfa, itnim->reqq, m->mh); in bfa_itnim_send_fwdelete() 2526 bfi_h2i_set(m->mh, BFI_MC_IOIM_IO, 0, bfa_fn_lpu(ioim->bfa)); in bfa_ioim_send_ioreq() 2535 bfa_reqq_produce(ioim->bfa, ioim->reqq, m->mh); in bfa_ioim_send_ioreq() 2600 bfa_reqq_produce(ioim->bfa, ioim->reqq, m->mh); in bfa_ioim_send_abort() 3341 bfi_h2i_set(m->mh, BFI_MC_TSKIM, BFI_TSKIM_H2I_TM_REQ, in bfa_tskim_send() 3353 bfa_reqq_produce(tskim->bfa, itnim->reqq, m->mh); in bfa_tskim_send() 3376 bfi_h2i_set(m->mh, BFI_MC_TSKIM, BFI_TSKIM_H2I_ABORT_REQ, in bfa_tskim_send_abort() [all …]
|
| 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()
|
| /drivers/net/ethernet/brocade/bna/ |
| A D | bfi_cna.h | 33 struct bfi_mhdr mh; /*!< msg header */ member 53 struct bfi_mhdr mh; member 61 struct bfi_mhdr mh; member 89 struct bfi_mhdr mh; member 97 struct bfi_mhdr mh; member 105 struct bfi_mhdr mh; member 114 struct bfi_mhdr mh; member 124 struct bfi_mhdr mh; member 133 struct bfi_mhdr mh; member 140 struct bfi_mhdr mh; member [all …]
|
| A D | bfi.h | 87 struct bfi_mhdr mh; member 175 struct bfi_mhdr mh; member 334 struct bfi_mhdr mh; member 352 struct bfi_mhdr mh; member 361 struct bfi_mhdr mh; member 419 struct bfi_mhdr mh; member 426 struct bfi_mhdr mh; member 433 struct bfi_mhdr mh; member 442 struct bfi_mhdr mh; member 453 struct bfi_mhdr mh; member [all …]
|
| A D | bfi_enet.h | 347 struct bfi_msgq_mhdr mh; member 367 struct bfi_msgq_mhdr mh; member 379 struct bfi_msgq_mhdr mh; member 386 struct bfi_msgq_mhdr mh; member 417 struct bfi_msgq_mhdr mh; member 488 struct bfi_msgq_mhdr mh; member 505 struct bfi_msgq_mhdr mh; member 526 struct bfi_msgq_mhdr mh; member 552 struct bfi_msgq_mhdr mh; member 565 struct bfi_msgq_mhdr mh; member [all …]
|
| A D | bna_enet.c | 104 container_of(msghdr, struct bfi_enet_rsp, mh); in bna_bfi_ethport_admin_rsp() 131 container_of(msghdr, struct bfi_enet_rsp, mh); in bna_bfi_ethport_lpbk_rsp() 412 admin_up_req->mh.num_entries = htons( in bna_bfi_ethport_admin_up() 429 admin_down_req->mh.num_entries = htons( in bna_bfi_ethport_admin_down() 446 lpbk_up_req->mh.num_entries = htons( in bna_bfi_ethport_lpbk_up() 467 lpbk_down_req->mh.num_entries = htons( in bna_bfi_ethport_lpbk_down() 1162 bfi_msgq_mhdr_set(pause_req->mh, BFI_MC_ENET, in bna_bfi_pause_set() 1164 pause_req->mh.num_entries = htons( in bna_bfi_pause_set() 1624 bfi_msgq_mhdr_set(attr_req->mh, BFI_MC_ENET, in bna_bfi_attr_get() 1626 attr_req->mh.num_entries = htons( in bna_bfi_attr_get() [all …]
|
| 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()
|
| 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 …]
|
| 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()
|
| 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()
|
| /drivers/mtd/ |
| A D | inftlmount.c | 121 mh->NoOfBootImageBlocks = le32_to_cpu(mh->NoOfBootImageBlocks); in find_boot_record() 122 mh->NoOfBinaryPartitions = le32_to_cpu(mh->NoOfBinaryPartitions); in find_boot_record() 123 mh->NoOfBDTLPartitions = le32_to_cpu(mh->NoOfBDTLPartitions); in find_boot_record() 124 mh->BlockMultiplierBits = le32_to_cpu(mh->BlockMultiplierBits); in find_boot_record() 125 mh->FormatFlags = le32_to_cpu(mh->FormatFlags); in find_boot_record() 126 mh->PercentUsed = le32_to_cpu(mh->PercentUsed); in find_boot_record() 137 mh->bootRecordID, mh->NoOfBootImageBlocks, in find_boot_record() 139 mh->NoOfBDTLPartitions, in find_boot_record() 140 mh->BlockMultiplierBits, mh->FormatFlags, in find_boot_record() 141 mh->OsakVersion, mh->PercentUsed); in find_boot_record() [all …]
|
| A D | nftlmount.c | 31 struct NFTLMediaHeader *mh = &nftl->MediaHdr; in find_boot_record() local 121 if (memcmp(mh, buf, sizeof(struct NFTLMediaHeader))) { in find_boot_record() 143 memcpy(mh, buf, sizeof(struct NFTLMediaHeader)); in find_boot_record() 150 if (mh->UnitSizeFactor == 0) { in find_boot_record() 152 } else if (mh->UnitSizeFactor < 0xfc) { in find_boot_record() 154 mh->UnitSizeFactor); in find_boot_record() 156 } else if (mh->UnitSizeFactor != 0xff) { in find_boot_record() 158 mh->UnitSizeFactor); in find_boot_record() 163 nftl->nb_boot_blocks = le16_to_cpu(mh->FirstPhysicalEUN); in find_boot_record() 171 nftl->numvunits = le32_to_cpu(mh->FormattedSize) / nftl->EraseSize; in find_boot_record() [all …]
|
| /drivers/mtd/nand/raw/ |
| A D | diskonchip.c | 912 struct NFTLMediaHeader *mh; in nftl_partscan() local 937 mh->DataOrgID, mh->NumEraseUnits, in nftl_partscan() 938 mh->FirstPhysicalEUN, mh->FormattedSize, in nftl_partscan() 939 mh->UnitSizeFactor); in nftl_partscan() 950 mh->UnitSizeFactor = 0xff; in nftl_partscan() 954 mh->UnitSizeFactor--; in nftl_partscan() 1053 mh->bootRecordID, mh->NoOfBootImageBlocks, in inftl_partscan() 1054 mh->NoOfBinaryPartitions, in inftl_partscan() 1055 mh->NoOfBDTLPartitions, in inftl_partscan() 1056 mh->BlockMultiplierBits, mh->FormatFlags, in inftl_partscan() [all …]
|
| /drivers/crypto/bcm/ |
| A D | spu.c | 45 if (spuh->mh.flags & MH_SCTX_PRES) in spum_dump_msg_hdr() 47 if (spuh->mh.flags & MH_BDESC_PRES) in spum_dump_msg_hdr() 49 if (spuh->mh.flags & MH_MFM_PRES) in spum_dump_msg_hdr() 51 if (spuh->mh.flags & MH_BD_PRES) in spum_dump_msg_hdr() 53 if (spuh->mh.flags & MH_HASH_PRES) in spum_dump_msg_hdr() 55 if (spuh->mh.flags & MH_SUPDT_PRES) in spum_dump_msg_hdr() 57 packet_log(" Opcode 0x%02x\n", spuh->mh.op_code); in spum_dump_msg_hdr() 62 if (spuh->mh.flags & MH_SCTX_PRES) { in spum_dump_msg_hdr() 275 if (spuh->mh.flags & MH_BDESC_PRES) { in spum_dump_msg_hdr() 298 if (spuh->mh.flags & MH_BD_PRES) { in spum_dump_msg_hdr() [all …]
|
| A D | spum.h | 158 struct MHEADER mh; member
|
| /drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| 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()
|
| /drivers/cdrom/ |
| A D | cdrom.c | 2749 struct modesel_head mh; in cdrom_switch_blocksize() local 2751 memset(&mh, 0, sizeof(mh)); in cdrom_switch_blocksize() 2752 mh.block_desc_length = 0x08; in cdrom_switch_blocksize() 2753 mh.block_length_med = (size >> 8) & 0xff; in cdrom_switch_blocksize() 2754 mh.block_length_lo = size & 0xff; in cdrom_switch_blocksize() 2760 cgc.buflen = sizeof(mh); in cdrom_switch_blocksize() 2761 cgc.buffer = (char *) &mh; in cdrom_switch_blocksize() 2763 mh.block_desc_length = 0x08; in cdrom_switch_blocksize() 2764 mh.block_length_med = (size >> 8) & 0xff; in cdrom_switch_blocksize() 2765 mh.block_length_lo = size & 0xff; in cdrom_switch_blocksize()
|