cmdq_buf 132 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c struct hinic_cmdq_buf *cmdq_buf) cmdq_buf 137 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c cmdq_buf->buf = dma_pool_alloc(cmdqs->cmdq_buf_pool, GFP_KERNEL, cmdq_buf 138 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c &cmdq_buf->dma_addr); cmdq_buf 139 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c if (!cmdq_buf->buf) { cmdq_buf 153 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c struct hinic_cmdq_buf *cmdq_buf) cmdq_buf 155 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c dma_pool_free(cmdqs->cmdq_buf_pool, cmdq_buf->buf, cmdq_buf->dma_addr); cmdq_buf 161 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h struct hinic_cmdq_buf *cmdq_buf); cmdq_buf 164 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h struct hinic_cmdq_buf *cmdq_buf); cmdq_buf 108 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c struct hinic_cmdq_buf cmdq_buf; cmdq_buf 114 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c err = hinic_alloc_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); cmdq_buf 120 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c sq_ctxt_block = cmdq_buf.buf; cmdq_buf 132 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c cmdq_buf.size = HINIC_SQ_CTXT_SIZE(num_sqs); cmdq_buf 135 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c IO_CMD_MODIFY_QUEUE_CTXT, &cmdq_buf, cmdq_buf 142 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c hinic_free_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); cmdq_buf 152 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c struct hinic_cmdq_buf cmdq_buf; cmdq_buf 158 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c err = hinic_alloc_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); cmdq_buf 164 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c rq_ctxt_block = cmdq_buf.buf; cmdq_buf 176 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c cmdq_buf.size = HINIC_RQ_CTXT_SIZE(num_rqs); cmdq_buf 179 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c IO_CMD_MODIFY_QUEUE_CTXT, &cmdq_buf, cmdq_buf 186 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c hinic_free_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); cmdq_buf 211 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c struct hinic_cmdq_buf cmdq_buf; cmdq_buf 215 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c err = hinic_alloc_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); cmdq_buf 221 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c ctxt_block = cmdq_buf.buf; cmdq_buf 231 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c cmdq_buf.size = sizeof(*ctxt_block); cmdq_buf 235 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c &cmdq_buf, &out_param); cmdq_buf 244 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c hinic_free_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf);