Searched refs:nch (Results 1 – 6 of 6) sorted by relevance
/drivers/mfd/ |
D | omap-usb-tll.c | 101 int nch; /* num. of channels */ member 209 int i, nch, ver; in usbtll_omap_probe() local 225 nch = OMAP_TLL_CHANNEL_COUNT; in usbtll_omap_probe() 229 nch = OMAP_REV2_TLL_CHANNEL_COUNT; in usbtll_omap_probe() 232 nch = OMAP_TLL_CHANNEL_COUNT; in usbtll_omap_probe() 234 ver, nch); in usbtll_omap_probe() 238 tll = devm_kzalloc(dev, sizeof(*tll) + sizeof(tll->ch_clk[nch]), in usbtll_omap_probe() 247 tll->nch = nch; in usbtll_omap_probe() 250 for (i = 0; i < nch; i++) { in usbtll_omap_probe() 287 for (i = 0; i < tll->nch; i++) { in usbtll_omap_remove() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.h | 48 int nch = params->num_channels; in mlx5e_qid_get_ch_if_in_group() local 49 int ch = qid - nch * group; in mlx5e_qid_get_ch_if_in_group() 51 if (ch < 0 || ch >= nch) in mlx5e_qid_get_ch_if_in_group() 63 u16 nch = params->num_channels; in mlx5e_qid_get_ch_and_group() local 65 *ix = qid % nch; in mlx5e_qid_get_ch_and_group() 66 *group = qid / nch; in mlx5e_qid_get_ch_and_group()
|
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib.c | 745 int nch; in mlx5_rdma_rn_get_params() local 752 nch = mlx5e_get_max_num_channels(mdev); in mlx5_rdma_rn_get_params() 757 .txqs = nch * MLX5E_MAX_NUM_TC, in mlx5_rdma_rn_get_params() 758 .rxqs = nch, in mlx5_rdma_rn_get_params()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 1860 int nch, err; in mlx5e_vport_rep_load() local 1869 nch = mlx5e_get_max_num_channels(dev); in mlx5e_vport_rep_load() 1872 netdev = mlx5e_create_netdev(dev, profile, nch, rpriv); in mlx5e_vport_rep_load()
|
D | en_main.c | 2862 int nch = priv->channels.params.num_channels; in mlx5e_netdev_set_tcs() local 2877 netdev_set_tc_queue(netdev, tc, nch, 0); in mlx5e_netdev_set_tcs() 5250 int nch, in mlx5e_create_netdev() argument 5257 nch * profile->max_tc, in mlx5e_create_netdev() 5258 nch * profile->rq_groups); in mlx5e_create_netdev() 5388 int nch; in mlx5e_add() local 5402 nch = mlx5e_get_max_num_channels(mdev); in mlx5e_add() 5403 netdev = mlx5e_create_netdev(mdev, &mlx5e_nic_profile, nch, NULL); in mlx5e_add()
|
D | en.h | 1173 int nch, void *ppriv);
|