Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/net/ncsi/
Dncsi-cmd.c312 struct ncsi_cmd_handler *nch = NULL; in ncsi_xmit_cmd() local
328 nch = &ncsi_cmd_handlers[i]; in ncsi_xmit_cmd()
330 nch = NULL; in ncsi_xmit_cmd()
336 if (!nch) { in ncsi_xmit_cmd()
347 if (nch->payload >= 0) in ncsi_xmit_cmd()
348 nca->payload = nch->payload; in ncsi_xmit_cmd()
362 ret = nch->handler(nr->cmd, nca); in ncsi_xmit_cmd()
Dncsi-manage.c744 struct ncsi_oem_gma_handler *nch = NULL; in ncsi_gma_handler() local
755 nch = &ncsi_oem_gma_handlers[i]; in ncsi_gma_handler()
760 if (!nch) { in ncsi_gma_handler()
771 return nch->handler(nca); in ncsi_gma_handler()
/Linux-v5.4/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()
/Linux-v5.4/sound/pci/au88x0/
Dau88x0_core.c2814 vortex_translateformat(vortex_t * vortex, char bits, char nch, int encod)
2837 switch (nch) {
2854 static void vortex_cdmacore_setformat(vortex_t * vortex, int bits, int nch)
2858 d = ((bits >> 3) * nch);
/Linux-v5.4/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.c2863 int nch = priv->channels.params.num_channels; in mlx5e_netdev_set_tcs() local
2878 netdev_set_tc_queue(netdev, tc, nch, 0); in mlx5e_netdev_set_tcs()
5274 int nch, in mlx5e_create_netdev() argument
5281 nch * profile->max_tc, in mlx5e_create_netdev()
5282 nch * profile->rq_groups); in mlx5e_create_netdev()
5412 int nch; in mlx5e_add() local
5426 nch = mlx5e_get_max_num_channels(mdev); in mlx5e_add()
5427 netdev = mlx5e_create_netdev(mdev, &mlx5e_nic_profile, nch, NULL); in mlx5e_add()
Den.h1173 int nch, void *ppriv);