Lines Matching refs:bulletin
193 if (p_iov->bulletin.p_virt) { in _qed_vf_pf_release()
197 p_iov->bulletin.p_virt, p_iov->bulletin.phys); in _qed_vf_pf_release()
286 req->bulletin_addr = p_iov->bulletin.phys; in qed_vf_pf_acquire()
287 req->bulletin_size = p_iov->bulletin.size; in qed_vf_pf_acquire()
393 p_iov->bulletin.size = resp->bulletin_size; in qed_vf_pf_acquire()
508 p_iov->bulletin.size = sizeof(struct qed_bulletin_content); in qed_vf_hw_prepare()
509 p_iov->bulletin.p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_vf_hw_prepare()
510 p_iov->bulletin.size, in qed_vf_hw_prepare()
511 &p_iov->bulletin.phys, in qed_vf_hw_prepare()
513 if (!p_iov->bulletin.p_virt) 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()
1479 crc_size = sizeof(p_iov->bulletin.p_virt->crc); in qed_vf_read_bulletin()
1483 memcpy(&shadow, p_iov->bulletin.p_virt, p_iov->bulletin.size); in qed_vf_read_bulletin()
1491 p_iov->bulletin.size - crc_size); in qed_vf_read_bulletin()
1496 memcpy(&p_iov->bulletin_shadow, &shadow, p_iov->bulletin.size); in qed_vf_read_bulletin()
1608 struct qed_bulletin_content *bulletin; in qed_vf_check_mac() local
1610 bulletin = &p_hwfn->vf_iov_info->bulletin_shadow; in qed_vf_check_mac()
1611 if (!(bulletin->valid_bitmap & (1 << MAC_ADDR_FORCED))) in qed_vf_check_mac()
1615 if (ether_addr_equal(bulletin->mac, mac)) in qed_vf_check_mac()
1624 struct qed_bulletin_content *bulletin; in qed_vf_bulletin_get_forced_mac() local
1626 bulletin = &hwfn->vf_iov_info->bulletin_shadow; in qed_vf_bulletin_get_forced_mac()
1628 if (bulletin->valid_bitmap & (1 << MAC_ADDR_FORCED)) { in qed_vf_bulletin_get_forced_mac()
1631 } else if (bulletin->valid_bitmap & (1 << VFPF_BULLETIN_MAC_ADDR)) { in qed_vf_bulletin_get_forced_mac()
1638 ether_addr_copy(dst_mac, bulletin->mac); in qed_vf_bulletin_get_forced_mac()