/drivers/scsi/csiostor/ |
D | csio_mb.c | 56 csio_mb_fw_retval(struct csio_mb *mbp) in csio_mb_fw_retval() argument 60 hdr = (struct fw_cmd_hdr *)(mbp->mb); in csio_mb_fw_retval() 76 csio_mb_hello(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_hello() argument 80 struct fw_hello_cmd *cmdp = (struct fw_hello_cmd *)(mbp->mb); in csio_mb_hello() 82 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_hello() 108 csio_mb_process_hello_rsp(struct csio_hw *hw, struct csio_mb *mbp, in csio_mb_process_hello_rsp() argument 112 struct fw_hello_cmd *rsp = (struct fw_hello_cmd *)(mbp->mb); in csio_mb_process_hello_rsp() 140 csio_mb_bye(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_bye() argument 143 struct fw_bye_cmd *cmdp = (struct fw_bye_cmd *)(mbp->mb); in csio_mb_bye() 145 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_bye() [all …]
|
D | csio_hw.c | 918 struct csio_mb *mbp; in csio_do_hello() local 927 mbp = mempool_alloc(hw->mb_mempool, GFP_ATOMIC); in csio_do_hello() 928 if (!mbp) { in csio_do_hello() 935 csio_mb_hello(hw, mbp, CSIO_MB_DEFAULT_TMO, hw->pfn, in csio_do_hello() 938 rv = csio_mb_issue(hw, mbp); in csio_do_hello() 944 csio_mb_process_hello_rsp(hw, mbp, &retval, state, &mpfn); in csio_do_hello() 1052 mempool_free(mbp, hw->mb_mempool); in csio_do_hello() 1065 struct csio_mb *mbp; in csio_do_bye() local 1068 mbp = mempool_alloc(hw->mb_mempool, GFP_ATOMIC); in csio_do_bye() 1069 if (!mbp) { in csio_do_bye() [all …]
|
D | csio_wr.c | 338 csio_wr_iq_create_rsp(struct csio_hw *hw, struct csio_mb *mbp, int iq_idx) in csio_wr_iq_create_rsp() argument 347 csio_mb_iq_alloc_write_rsp(hw, mbp, &retval, &iqp); in csio_wr_iq_create_rsp() 351 mempool_free(mbp, hw->mb_mempool); in csio_wr_iq_create_rsp() 369 mempool_free(mbp, hw->mb_mempool); in csio_wr_iq_create_rsp() 397 mempool_free(mbp, hw->mb_mempool); in csio_wr_iq_create_rsp() 420 struct csio_mb *mbp; in csio_wr_iq_create() local 427 mbp = mempool_alloc(hw->mb_mempool, GFP_ATOMIC); in csio_wr_iq_create() 428 if (!mbp) { in csio_wr_iq_create() 449 mempool_free(mbp, hw->mb_mempool); in csio_wr_iq_create() 497 csio_mb_iq_alloc_write(hw, mbp, priv, CSIO_MB_DEFAULT_TMO, &iqp, cbfn); in csio_wr_iq_create() [all …]
|
D | csio_lnode.c | 615 csio_ln_vnp_read_cbfn(struct csio_hw *hw, struct csio_mb *mbp) in csio_ln_vnp_read_cbfn() argument 617 struct csio_lnode *ln = ((struct csio_lnode *)mbp->priv); in csio_ln_vnp_read_cbfn() 618 struct fw_fcoe_vnp_cmd *rsp = (struct fw_fcoe_vnp_cmd *)(mbp->mb); in csio_ln_vnp_read_cbfn() 627 mempool_free(mbp, hw->mb_mempool); in csio_ln_vnp_read_cbfn() 666 mempool_free(mbp, hw->mb_mempool); in csio_ln_vnp_read_cbfn() 684 struct csio_mb *mbp; in csio_ln_vnp_read() local 687 mbp = mempool_alloc(hw->mb_mempool, GFP_ATOMIC); in csio_ln_vnp_read() 688 if (!mbp) { in csio_ln_vnp_read() 694 csio_fcoe_vnp_read_init_mb(ln, mbp, in csio_ln_vnp_read() 701 if (csio_mb_issue(hw, mbp)) { in csio_ln_vnp_read() [all …]
|
D | csio_attr.c | 420 struct csio_mb *mbp; in csio_fcoe_alloc_vnp() local 428 mbp = mempool_alloc(hw->mb_mempool, GFP_ATOMIC); in csio_fcoe_alloc_vnp() 429 if (!mbp) { in csio_fcoe_alloc_vnp() 439 csio_fcoe_vnp_alloc_init_mb(ln, mbp, CSIO_MB_DEFAULT_TMO, in csio_fcoe_alloc_vnp() 449 ret = csio_mb_issue(hw, mbp); in csio_fcoe_alloc_vnp() 465 rsp = (struct fw_fcoe_vnp_cmd *)(mbp->mb); in csio_fcoe_alloc_vnp() 491 mempool_free(mbp, hw->mb_mempool); in csio_fcoe_alloc_vnp() 500 struct csio_mb *mbp; in csio_fcoe_free_vnp() local 509 mbp = mempool_alloc(hw->mb_mempool, GFP_ATOMIC); in csio_fcoe_free_vnp() 510 if (!mbp) { in csio_fcoe_free_vnp() [all …]
|
D | csio_mb.h | 174 void csio_mb_ldst(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, 240 struct csio_mb *mbp, uint32_t mb_tmo, 244 void csio_mb_process_portparams_rsp(struct csio_hw *hw, struct csio_mb *mbp,
|
/drivers/net/ethernet/ti/ |
D | cpmac.c | 312 u32 mbp, bit, hash[2] = { 0, }; in cpmac_set_multicast_list() local 315 mbp = cpmac_read(priv->regs, CPMAC_MBP); in cpmac_set_multicast_list() 317 cpmac_write(priv->regs, CPMAC_MBP, (mbp & ~MBP_PROMISCCHAN(0)) | in cpmac_set_multicast_list() 320 cpmac_write(priv->regs, CPMAC_MBP, mbp & ~MBP_RXPROMISC); in cpmac_set_multicast_list()
|