Home
last modified time | relevance | path

Searched refs:nch (Results 1 – 6 of 6) sorted by relevance

/drivers/mfd/
Domap-usb-tll.c101 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/
Dparams.h48 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/
Dipoib.c745 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/
Den_rep.c1860 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()
Den_main.c2862 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()
Den.h1173 int nch, void *ppriv);