Lines Matching refs:work
598 static inline int cvmx_wqe_get_port(cvmx_wqe_t *work) in cvmx_wqe_get_port() argument
603 port = work->word2.s_cn68xx.port; in cvmx_wqe_get_port()
605 port = work->word1.cn38xx.ipprt; in cvmx_wqe_get_port()
610 static inline void cvmx_wqe_set_port(cvmx_wqe_t *work, int port) in cvmx_wqe_set_port() argument
613 work->word2.s_cn68xx.port = port; in cvmx_wqe_set_port()
615 work->word1.cn38xx.ipprt = port; in cvmx_wqe_set_port()
618 static inline int cvmx_wqe_get_grp(cvmx_wqe_t *work) in cvmx_wqe_get_grp() argument
623 grp = work->word1.cn68xx.grp; in cvmx_wqe_get_grp()
625 grp = work->word1.cn38xx.grp; in cvmx_wqe_get_grp()
630 static inline void cvmx_wqe_set_grp(cvmx_wqe_t *work, int grp) in cvmx_wqe_set_grp() argument
633 work->word1.cn68xx.grp = grp; in cvmx_wqe_set_grp()
635 work->word1.cn38xx.grp = grp; in cvmx_wqe_set_grp()
638 static inline int cvmx_wqe_get_qos(cvmx_wqe_t *work) in cvmx_wqe_get_qos() argument
643 qos = work->word1.cn68xx.qos; in cvmx_wqe_get_qos()
645 qos = work->word1.cn38xx.qos; in cvmx_wqe_get_qos()
650 static inline void cvmx_wqe_set_qos(cvmx_wqe_t *work, int qos) in cvmx_wqe_set_qos() argument
653 work->word1.cn68xx.qos = qos; in cvmx_wqe_set_qos()
655 work->word1.cn38xx.qos = qos; in cvmx_wqe_set_qos()