Searched refs:tcs_id (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/soc/qcom/ |
D | rpmh-rsc.c | 142 tcs_reg_addr(const struct rsc_drv *drv, int reg, int tcs_id) in tcs_reg_addr() argument 144 return drv->tcs_base + RSC_DRV_TCS_OFFSET * tcs_id + reg; in tcs_reg_addr() 148 tcs_cmd_addr(const struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in tcs_cmd_addr() argument 150 return tcs_reg_addr(drv, reg, tcs_id) + RSC_DRV_CMD_OFFSET * cmd_id; in tcs_cmd_addr() 153 static u32 read_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in read_tcs_cmd() argument 156 return readl_relaxed(tcs_cmd_addr(drv, reg, tcs_id, cmd_id)); in read_tcs_cmd() 159 static u32 read_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id) in read_tcs_reg() argument 161 return readl_relaxed(tcs_reg_addr(drv, reg, tcs_id)); in read_tcs_reg() 164 static void write_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_cmd() argument 167 writel_relaxed(data, tcs_cmd_addr(drv, reg, tcs_id, cmd_id)); in write_tcs_cmd() [all …]
|
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 728 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.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dcbnl.c | 866 int tcs_id, u8 *num) in mlx5e_dcbnl_getnumtcs() argument 871 switch (tcs_id) { in mlx5e_dcbnl_getnumtcs()
|