Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mfd/
Domap-usb-tll.c109 int nch; /* num. of channels */ member
241 tll->nch = OMAP_TLL_CHANNEL_COUNT; in usbtll_omap_probe()
245 tll->nch = OMAP_REV2_TLL_CHANNEL_COUNT; in usbtll_omap_probe()
248 tll->nch = OMAP_TLL_CHANNEL_COUNT; in usbtll_omap_probe()
251 ver, tll->nch); in usbtll_omap_probe()
255 tll->ch_clk = devm_kzalloc(dev, sizeof(struct clk *) * tll->nch, in usbtll_omap_probe()
263 for (i = 0; i < tll->nch; i++) { in usbtll_omap_probe()
306 for (i = 0; i < tll->nch; i++) { in usbtll_omap_remove()
348 for (i = 0; i < tll->nch; i++) in omap_tll_init()
364 for (i = 0; i < tll->nch; i++) { in omap_tll_init()
[all …]
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c1111 int nch = priv->params.num_channels; in mlx5e_open_channels() local
1116 priv->channel = kcalloc(nch, sizeof(struct mlx5e_channel *), in mlx5e_open_channels()
1119 priv->txq_to_sq_map = kcalloc(nch * priv->params.num_tc, in mlx5e_open_channels()
1126 for (i = 0; i < nch; i++) { in mlx5e_open_channels()
1132 for (j = 0; j < nch; j++) { in mlx5e_open_channels()
2106 int nch = mlx5e_get_max_num_channels(mdev); in mlx5e_create_netdev() local
2112 netdev = alloc_etherdev_mqs(sizeof(struct mlx5e_priv), nch, nch); in mlx5e_create_netdev()
2118 mlx5e_build_netdev_priv(mdev, netdev, nch); in mlx5e_create_netdev()
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_core.c2822 vortex_translateformat(vortex_t * vortex, char bits, char nch, int encod)
2845 switch (nch) {
2862 static void vortex_cdmacore_setformat(vortex_t * vortex, int bits, int nch)
2866 d = ((bits >> 3) * nch);