Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/soc/qcom/
Drpmh-rsc.c195 tcs_reg_addr(const struct rsc_drv *drv, int reg, int tcs_id) in tcs_reg_addr() argument
197 return drv->tcs_base + drv->regs[RSC_DRV_TCS_OFFSET] * tcs_id + reg; in tcs_reg_addr()
201 tcs_cmd_addr(const struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in tcs_cmd_addr() argument
203 return tcs_reg_addr(drv, reg, tcs_id) + drv->regs[RSC_DRV_CMD_OFFSET] * cmd_id; in tcs_cmd_addr()
206 static u32 read_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in read_tcs_cmd() argument
209 return readl_relaxed(tcs_cmd_addr(drv, reg, tcs_id, cmd_id)); in read_tcs_cmd()
212 static u32 read_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id) in read_tcs_reg() argument
214 return readl_relaxed(tcs_reg_addr(drv, reg, tcs_id)); in read_tcs_reg()
217 static void write_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_cmd() argument
220 writel_relaxed(data, tcs_cmd_addr(drv, reg, tcs_id, cmd_id)); in write_tcs_cmd()
[all …]
/Linux-v6.6/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-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c868 int tcs_id, u8 *num) in mlx5e_dcbnl_getnumtcs() argument
873 switch (tcs_id) { in mlx5e_dcbnl_getnumtcs()