/** * qed_ptt_set_win(): Set PTT Window's GRC BAR address * * @p_hwfn: HW device data. * @new_hw_addr: New HW address. * @p_ptt: P_Ptt * * Return: Void.
*/ void qed_ptt_set_win(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
u32 new_hw_addr);
/** * qed_get_reserved_ptt(): Get a specific reserved PTT. * * @p_hwfn: HW device data. * @ptt_idx: Ptt Index. * * Return: struct qed_ptt *.
*/ struct qed_ptt *qed_get_reserved_ptt(struct qed_hwfn *p_hwfn, enum reserved_ptts ptt_idx);
/** * qed_wr(): Write value to BAR using the given ptt. * * @p_hwfn: HW device data. * @p_ptt: P_ptt. * @val: Val. * @hw_addr: HW address * * Return: Void.
*/ void qed_wr(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
u32 hw_addr,
u32 val);
/** * qed_rd(): Read value from BAR using the given ptt. * * @p_hwfn: HW device data. * @p_ptt: P_ptt. * @hw_addr: HW address * * Return: Void.
*/
u32 qed_rd(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
u32 hw_addr);
/** * qed_memcpy_from(): Copy n bytes from BAR using the given ptt. * * @p_hwfn: HW device data. * @p_ptt: P_ptt. * @dest: Destination. * @hw_addr: HW address. * @n: N * * Return: Void.
*/ void qed_memcpy_from(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, void *dest,
u32 hw_addr,
size_t n);
/** * qed_memcpy_to(): Copy n bytes to BAR using the given ptt * * @p_hwfn: HW device data. * @p_ptt: P_ptt. * @hw_addr: HW address. * @src: Source. * @n: N * * Return: Void.
*/ void qed_memcpy_to(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
u32 hw_addr, void *src,
size_t n); /** * qed_fid_pretend(): pretend to another function when * accessing the ptt window. There is no way to unpretend * a function. The only way to cancel a pretend is to * pretend back to the original function. * * @p_hwfn: HW device data. * @p_ptt: P_ptt. * @fid: fid field of pxp_pretend structure. Can contain * either pf / vf, port/path fields are don't care. * * Return: Void.
*/ void qed_fid_pretend(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
u16 fid);
/** * qed_port_pretend(): Pretend to another port when accessing the ptt window * * @p_hwfn: HW device data. * @p_ptt: P_ptt. * @port_id: The port to pretend to * * Return: Void.
*/ void qed_port_pretend(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
u8 port_id);
/** * qed_port_unpretend(): Cancel any previously set port pretend * * @p_hwfn: HW device data. * @p_ptt: P_ptt. * * Return: Void.
*/ void qed_port_unpretend(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
/** * qed_port_fid_pretend(): Pretend to another port and another function * when accessing the ptt window * * @p_hwfn: HW device data. * @p_ptt: P_ptt. * @port_id: The port to pretend to * @fid: fid field of pxp_pretend structure. Can contain either pf / vf. * * Return: Void.
*/ void qed_port_fid_pretend(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, u8 port_id, u16 fid);
/** * qed_vfid_to_concrete(): Build a concrete FID for a given VF ID * * @p_hwfn: HW device data. * @vfid: VFID. * * Return: Void.
*/
u32 qed_vfid_to_concrete(struct qed_hwfn *p_hwfn, u8 vfid);
/** * qed_dmae_idx_to_go_cmd(): Map the idx to dmae cmd * this is declared here since other files will require it. * * @idx: Index * * Return: Void.
*/
u32 qed_dmae_idx_to_go_cmd(u8 idx);
/** * qed_dmae_info_alloc(): Init the dmae_info structure * which is part of p_hwfn. * * @p_hwfn: HW device data. * * Return: Int.
*/ int qed_dmae_info_alloc(struct qed_hwfn *p_hwfn);
/** * qed_dmae_info_free(): Free the dmae_info structure * which is part of p_hwfn. * * @p_hwfn: HW device data. * * Return: Void.
*/ void qed_dmae_info_free(struct qed_hwfn *p_hwfn);
union qed_qm_pq_params { struct {
u8 q_idx;
} iscsi;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.