Lines Matching refs:bulletin
196 if (p_iov->bulletin.p_virt) { in _qed_vf_pf_release()
200 p_iov->bulletin.p_virt, p_iov->bulletin.phys); in _qed_vf_pf_release()
289 req->bulletin_addr = p_iov->bulletin.phys; in qed_vf_pf_acquire()
290 req->bulletin_size = p_iov->bulletin.size; in qed_vf_pf_acquire()
396 p_iov->bulletin.size = resp->bulletin_size; in qed_vf_pf_acquire()
511 p_iov->bulletin.size = sizeof(struct qed_bulletin_content); in qed_vf_hw_prepare()
512 p_iov->bulletin.p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_vf_hw_prepare()
513 p_iov->bulletin.size, in qed_vf_hw_prepare()
514 &p_iov->bulletin.phys, in qed_vf_hw_prepare()
518 p_iov->bulletin.p_virt, in qed_vf_hw_prepare()
519 (u64)p_iov->bulletin.phys, p_iov->bulletin.size); in qed_vf_hw_prepare()
1482 crc_size = sizeof(p_iov->bulletin.p_virt->crc); in qed_vf_read_bulletin()
1486 memcpy(&shadow, p_iov->bulletin.p_virt, p_iov->bulletin.size); in qed_vf_read_bulletin()
1494 p_iov->bulletin.size - crc_size); in qed_vf_read_bulletin()
1499 memcpy(&p_iov->bulletin_shadow, &shadow, p_iov->bulletin.size); in qed_vf_read_bulletin()
1611 struct qed_bulletin_content *bulletin; in qed_vf_check_mac() local
1613 bulletin = &p_hwfn->vf_iov_info->bulletin_shadow; in qed_vf_check_mac()
1614 if (!(bulletin->valid_bitmap & (1 << MAC_ADDR_FORCED))) in qed_vf_check_mac()
1618 if (ether_addr_equal(bulletin->mac, mac)) in qed_vf_check_mac()
1627 struct qed_bulletin_content *bulletin; in qed_vf_bulletin_get_forced_mac() local
1629 bulletin = &hwfn->vf_iov_info->bulletin_shadow; in qed_vf_bulletin_get_forced_mac()
1631 if (bulletin->valid_bitmap & (1 << MAC_ADDR_FORCED)) { in qed_vf_bulletin_get_forced_mac()
1634 } else if (bulletin->valid_bitmap & (1 << VFPF_BULLETIN_MAC_ADDR)) { in qed_vf_bulletin_get_forced_mac()
1641 ether_addr_copy(dst_mac, bulletin->mac); in qed_vf_bulletin_get_forced_mac()