dpni.h (3eb66e91a25497065c5322b1268cbc3953642227) dpni.h (8eb3cef8d2642da6b72179da73344a442461cb58)
1/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2/* Copyright 2013-2016 Freescale Semiconductor Inc.
3 * Copyright 2016 NXP
4 */
5#ifndef __FSL_DPNI_H
6#define __FSL_DPNI_H
7
8#include "dpkg.h"

--- 471 unchanged lines hidden (view full) ---

480 u64 options;
481};
482
483int dpni_set_link_cfg(struct fsl_mc_io *mc_io,
484 u32 cmd_flags,
485 u16 token,
486 const struct dpni_link_cfg *cfg);
487
1/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2/* Copyright 2013-2016 Freescale Semiconductor Inc.
3 * Copyright 2016 NXP
4 */
5#ifndef __FSL_DPNI_H
6#define __FSL_DPNI_H
7
8#include "dpkg.h"

--- 471 unchanged lines hidden (view full) ---

480 u64 options;
481};
482
483int dpni_set_link_cfg(struct fsl_mc_io *mc_io,
484 u32 cmd_flags,
485 u16 token,
486 const struct dpni_link_cfg *cfg);
487
488int dpni_get_link_cfg(struct fsl_mc_io *mc_io,
489 u32 cmd_flags,
490 u16 token,
491 struct dpni_link_cfg *cfg);
492
488/**
489 * struct dpni_link_state - Structure representing DPNI link state
490 * @rate: Rate
491 * @options: Mask of available options; use 'DPNI_LINK_OPT_<X>' values
492 * @up: Link state; '0' for down, '1' for up
493 */
494struct dpni_link_state {
495 u32 rate;

--- 426 unchanged lines hidden ---
493/**
494 * struct dpni_link_state - Structure representing DPNI link state
495 * @rate: Rate
496 * @options: Mask of available options; use 'DPNI_LINK_OPT_<X>' values
497 * @up: Link state; '0' for down, '1' for up
498 */
499struct dpni_link_state {
500 u32 rate;

--- 426 unchanged lines hidden ---