Lines Matching refs:pmb
133 lpfc_dump_static_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_dump_static_vport() argument
140 mb = &pmb->u.mb; in lpfc_dump_static_vport()
143 memset(pmb, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_dump_static_vport()
157 rc = lpfc_mbox_rsrc_prep(phba, pmb); in lpfc_dump_static_vport()
165 mp = pmb->ctx_buf; in lpfc_dump_static_vport()
181 lpfc_down_link(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_down_link() argument
184 memset(pmb, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_down_link()
185 mb = &pmb->u.mb; in lpfc_down_link()
203 lpfc_dump_mem(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, uint16_t offset, in lpfc_dump_mem() argument
209 mb = &pmb->u.mb; in lpfc_dump_mem()
210 ctx = pmb->ctx_buf; in lpfc_dump_mem()
213 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_dump_mem()
222 pmb->ctx_buf = ctx; in lpfc_dump_mem()
236 lpfc_dump_wakeup_param(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_dump_wakeup_param() argument
241 mb = &pmb->u.mb; in lpfc_dump_wakeup_param()
243 ctx = pmb->ctx_buf; in lpfc_dump_wakeup_param()
246 memset(pmb, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_dump_wakeup_param()
257 pmb->ctx_buf = ctx; in lpfc_dump_wakeup_param()
273 lpfc_read_nv(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_read_nv() argument
277 mb = &pmb->u.mb; in lpfc_read_nv()
278 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_read_nv()
298 lpfc_config_async(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb, in lpfc_config_async() argument
303 mb = &pmb->u.mb; in lpfc_config_async()
304 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_config_async()
325 lpfc_heart_beat(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_heart_beat() argument
329 mb = &pmb->u.mb; in lpfc_heart_beat()
330 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_heart_beat()
358 lpfc_read_topology(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_read_topology() argument
363 mb = &pmb->u.mb; in lpfc_read_topology()
364 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_read_topology()
375 pmb->ctx_buf = (uint8_t *)mp; in lpfc_read_topology()
396 lpfc_clear_la(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_clear_la() argument
400 mb = &pmb->u.mb; in lpfc_clear_la()
401 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_clear_la()
424 lpfc_config_link(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_config_link() argument
427 MAILBOX_t *mb = &pmb->u.mb; in lpfc_config_link()
428 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_config_link()
476 lpfc_config_msi(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_config_msi() argument
478 MAILBOX_t *mb = &pmb->u.mb; in lpfc_config_msi()
497 memset(pmb, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_config_msi()
556 LPFC_MBOXQ_t * pmb, uint32_t topology, uint32_t linkspeed) in lpfc_init_link() argument
561 mb = &pmb->u.mb; in lpfc_init_link()
562 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_init_link()
673 lpfc_read_sparam(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, int vpi) in lpfc_read_sparam() argument
679 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_read_sparam()
682 rc = lpfc_mbox_rsrc_prep(phba, pmb); in lpfc_read_sparam()
689 mp = pmb->ctx_buf; in lpfc_read_sparam()
690 mb = &pmb->u.mb; in lpfc_read_sparam()
719 LPFC_MBOXQ_t * pmb) in lpfc_unreg_did() argument
723 mb = &pmb->u.mb; in lpfc_unreg_did()
724 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_unreg_did()
751 lpfc_read_config(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_read_config() argument
755 mb = &pmb->u.mb; in lpfc_read_config()
756 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_read_config()
776 lpfc_read_lnk_stat(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_read_lnk_stat() argument
780 mb = &pmb->u.mb; in lpfc_read_lnk_stat()
781 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_read_lnk_stat()
814 uint8_t *param, LPFC_MBOXQ_t *pmb, uint16_t rpi) in lpfc_reg_rpi() argument
816 MAILBOX_t *mb = &pmb->u.mb; in lpfc_reg_rpi()
821 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_reg_rpi()
832 rc = lpfc_mbox_rsrc_prep(phba, pmb); in lpfc_reg_rpi()
843 mp = pmb->ctx_buf; in lpfc_reg_rpi()
875 LPFC_MBOXQ_t * pmb) in lpfc_unreg_login() argument
879 mb = &pmb->u.mb; in lpfc_unreg_login()
880 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_unreg_login()
942 lpfc_reg_vpi(struct lpfc_vport *vport, LPFC_MBOXQ_t *pmb) in lpfc_reg_vpi() argument
944 MAILBOX_t *mb = &pmb->u.mb; in lpfc_reg_vpi()
947 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_reg_vpi()
989 lpfc_unreg_vpi(struct lpfc_hba *phba, uint16_t vpi, LPFC_MBOXQ_t *pmb) in lpfc_unreg_vpi() argument
991 MAILBOX_t *mb = &pmb->u.mb; in lpfc_unreg_vpi()
992 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_unreg_vpi()
1087 lpfc_read_rev(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_read_rev() argument
1089 MAILBOX_t *mb = &pmb->u.mb; in lpfc_read_rev()
1090 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_read_rev()
1099 lpfc_sli4_swap_str(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_sli4_swap_str() argument
1101 MAILBOX_t *mb = &pmb->u.mb; in lpfc_sli4_swap_str()
1106 mqe = &pmb->u.mqe; in lpfc_sli4_swap_str()
1199 uint32_t hbq_entry_index, LPFC_MBOXQ_t *pmb) in lpfc_config_hbq() argument
1202 MAILBOX_t *mb = &pmb->u.mb; in lpfc_config_hbq()
1205 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_config_hbq()
1274 lpfc_config_ring(struct lpfc_hba * phba, int ring, LPFC_MBOXQ_t * pmb) in lpfc_config_ring() argument
1277 MAILBOX_t *mb = &pmb->u.mb; in lpfc_config_ring()
1281 memset(pmb, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_config_ring()
1329 lpfc_config_port(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_config_port() argument
1332 MAILBOX_t *mb = &pmb->u.mb; in lpfc_config_port()
1340 memset(pmb, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_config_port()
1517 lpfc_kill_board(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_kill_board() argument
1519 MAILBOX_t *mb = &pmb->u.mb; in lpfc_kill_board()
1521 memset(pmb, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_kill_board()