p_l2_info         663 drivers/net/ethernet/qlogic/qed/qed.h 	struct qed_l2_info *p_l2_info;
p_l2_info          78 drivers/net/ethernet/qlogic/qed/qed_l2.c 	struct qed_l2_info *p_l2_info;
p_l2_info          85 drivers/net/ethernet/qlogic/qed/qed_l2.c 	p_l2_info = kzalloc(sizeof(*p_l2_info), GFP_KERNEL);
p_l2_info          86 drivers/net/ethernet/qlogic/qed/qed_l2.c 	if (!p_l2_info)
p_l2_info          88 drivers/net/ethernet/qlogic/qed/qed_l2.c 	p_hwfn->p_l2_info = p_l2_info;
p_l2_info          91 drivers/net/ethernet/qlogic/qed/qed_l2.c 		p_l2_info->queues = RESC_NUM(p_hwfn, QED_L2_QUEUE);
p_l2_info          98 drivers/net/ethernet/qlogic/qed/qed_l2.c 		p_l2_info->queues = max_t(u8, rx, tx);
p_l2_info         101 drivers/net/ethernet/qlogic/qed/qed_l2.c 	pp_qids = kcalloc(p_l2_info->queues, sizeof(unsigned long *),
p_l2_info         105 drivers/net/ethernet/qlogic/qed/qed_l2.c 	p_l2_info->pp_qid_usage = pp_qids;
p_l2_info         107 drivers/net/ethernet/qlogic/qed/qed_l2.c 	for (i = 0; i < p_l2_info->queues; i++) {
p_l2_info         121 drivers/net/ethernet/qlogic/qed/qed_l2.c 	mutex_init(&p_hwfn->p_l2_info->lock);
p_l2_info         131 drivers/net/ethernet/qlogic/qed/qed_l2.c 	if (!p_hwfn->p_l2_info)
p_l2_info         134 drivers/net/ethernet/qlogic/qed/qed_l2.c 	if (!p_hwfn->p_l2_info->pp_qid_usage)
p_l2_info         138 drivers/net/ethernet/qlogic/qed/qed_l2.c 	for (i = 0; i < p_hwfn->p_l2_info->queues; i++) {
p_l2_info         139 drivers/net/ethernet/qlogic/qed/qed_l2.c 		if (!p_hwfn->p_l2_info->pp_qid_usage[i])
p_l2_info         141 drivers/net/ethernet/qlogic/qed/qed_l2.c 		kfree(p_hwfn->p_l2_info->pp_qid_usage[i]);
p_l2_info         144 drivers/net/ethernet/qlogic/qed/qed_l2.c 	kfree(p_hwfn->p_l2_info->pp_qid_usage);
p_l2_info         147 drivers/net/ethernet/qlogic/qed/qed_l2.c 	kfree(p_hwfn->p_l2_info);
p_l2_info         148 drivers/net/ethernet/qlogic/qed/qed_l2.c 	p_hwfn->p_l2_info = NULL;
p_l2_info         154 drivers/net/ethernet/qlogic/qed/qed_l2.c 	struct qed_l2_info *p_l2_info = p_hwfn->p_l2_info;
p_l2_info         159 drivers/net/ethernet/qlogic/qed/qed_l2.c 	mutex_lock(&p_l2_info->lock);
p_l2_info         161 drivers/net/ethernet/qlogic/qed/qed_l2.c 	if (queue_id >= p_l2_info->queues) {
p_l2_info         164 drivers/net/ethernet/qlogic/qed/qed_l2.c 			  queue_id, p_l2_info->queues);
p_l2_info         169 drivers/net/ethernet/qlogic/qed/qed_l2.c 	first = (u8)find_first_zero_bit(p_l2_info->pp_qid_usage[queue_id],
p_l2_info         176 drivers/net/ethernet/qlogic/qed/qed_l2.c 	__set_bit(first, p_l2_info->pp_qid_usage[queue_id]);
p_l2_info         180 drivers/net/ethernet/qlogic/qed/qed_l2.c 	mutex_unlock(&p_l2_info->lock);
p_l2_info         187 drivers/net/ethernet/qlogic/qed/qed_l2.c 	mutex_lock(&p_hwfn->p_l2_info->lock);
p_l2_info         190 drivers/net/ethernet/qlogic/qed/qed_l2.c 		  p_hwfn->p_l2_info->pp_qid_usage[p_cid->rel.queue_id]);
p_l2_info         192 drivers/net/ethernet/qlogic/qed/qed_l2.c 	mutex_unlock(&p_hwfn->p_l2_info->lock);