Home
last modified time | relevance | path

Searched refs:tcs_id (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/soc/qcom/
Drpmh-rsc.c64 static u32 read_tcs_reg(struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in read_tcs_reg() argument
66 return readl_relaxed(drv->tcs_base + reg + RSC_DRV_TCS_OFFSET * tcs_id + in read_tcs_reg()
70 static void write_tcs_cmd(struct rsc_drv *drv, int reg, int tcs_id, int cmd_id, in write_tcs_cmd() argument
73 writel_relaxed(data, drv->tcs_base + reg + RSC_DRV_TCS_OFFSET * tcs_id + in write_tcs_cmd()
77 static void write_tcs_reg(struct rsc_drv *drv, int reg, int tcs_id, u32 data) in write_tcs_reg() argument
79 writel_relaxed(data, drv->tcs_base + reg + RSC_DRV_TCS_OFFSET * tcs_id); in write_tcs_reg()
82 static void write_tcs_reg_sync(struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg_sync() argument
85 writel(data, drv->tcs_base + reg + RSC_DRV_TCS_OFFSET * tcs_id); in write_tcs_reg_sync()
88 RSC_DRV_TCS_OFFSET * tcs_id)) in write_tcs_reg_sync()
94 static bool tcs_is_free(struct rsc_drv *drv, int tcs_id) in tcs_is_free() argument
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c728 static int cxgb4_getnumtcs(struct net_device *dev, int tcs_id, u8 *num) in cxgb4_getnumtcs() argument
732 switch (tcs_id) { in cxgb4_getnumtcs()
754 static int cxgb4_setnumtcs(struct net_device *dev, int tcs_id, u8 num) in cxgb4_setnumtcs() argument
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c858 int tcs_id, u8 *num) in mlx5e_dcbnl_getnumtcs() argument
863 switch (tcs_id) { in mlx5e_dcbnl_getnumtcs()