Searched refs:nch (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/mfd/ |
A D | omap-usb-tll.c | 101 int nch; /* num. of channels */ member 211 int i, nch, ver; in usbtll_omap_probe() local 227 nch = OMAP_TLL_CHANNEL_COUNT; in usbtll_omap_probe() 234 nch = OMAP_TLL_CHANNEL_COUNT; in usbtll_omap_probe() 236 ver, nch); in usbtll_omap_probe() 249 tll->nch = nch; in usbtll_omap_probe() 252 for (i = 0; i < nch; i++) { in usbtll_omap_probe() 289 for (i = 0; i < tll->nch; i++) { in usbtll_omap_remove() 331 for (i = 0; i < tll->nch; i++) in omap_tll_init() 405 for (i = 0; i < tll->nch; i++) { in omap_tll_enable() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | params.h | 59 int nch = params->num_channels; in mlx5e_qid_get_ch_if_in_group() local 60 int ch = qid - nch * group; in mlx5e_qid_get_ch_if_in_group() 62 if (ch < 0 || ch >= nch) in mlx5e_qid_get_ch_if_in_group() 74 u16 nch = params->num_channels; in mlx5e_qid_get_ch_and_group() local 76 *ix = qid % nch; in mlx5e_qid_get_ch_and_group() 77 *group = qid / nch; in mlx5e_qid_get_ch_and_group()
|
A D | rx_res.c | 188 void mlx5e_rx_res_rss_set_indir_uniform(struct mlx5e_rx_res *res, unsigned int nch) in mlx5e_rx_res_rss_set_indir_uniform() argument 191 mlx5e_rss_set_indir_uniform(res->rss[0], nch); in mlx5e_rx_res_rss_set_indir_uniform() 530 unsigned int nch, ix; in mlx5e_rx_res_channels_activate() local 533 nch = mlx5e_channels_get_num(chs); in mlx5e_rx_res_channels_activate() 541 for (ix = 0; ix < nch; ix++) { in mlx5e_rx_res_channels_activate() 562 for (ix = nch; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_activate()
|
A D | rss.h | 49 void mlx5e_rss_set_indir_uniform(struct mlx5e_rss *rss, unsigned int nch);
|
A D | rx_res.h | 48 void mlx5e_rx_res_rss_set_indir_uniform(struct mlx5e_rx_res *res, unsigned int nch);
|
A D | rss.c | 603 void mlx5e_rss_set_indir_uniform(struct mlx5e_rss *rss, unsigned int nch) in mlx5e_rss_set_indir_uniform() argument 605 mlx5e_rss_params_indir_init_uniform(&rss->indir, nch); in mlx5e_rss_set_indir_uniform()
|
/linux/net/ncsi/ |
A D | ncsi-cmd.c | 320 struct ncsi_cmd_handler *nch = NULL; in ncsi_xmit_cmd() local 336 nch = &ncsi_cmd_handlers[i]; in ncsi_xmit_cmd() 338 nch = NULL; in ncsi_xmit_cmd() 344 if (!nch) { in ncsi_xmit_cmd() 355 if (nch->payload >= 0) in ncsi_xmit_cmd() 356 nca->payload = nch->payload; in ncsi_xmit_cmd() 370 ret = nch->handler(nr->cmd, nca); in ncsi_xmit_cmd()
|
A D | ncsi-manage.c | 832 struct ncsi_oem_gma_handler *nch = NULL; in ncsi_gma_handler() local 843 nch = &ncsi_oem_gma_handlers[i]; in ncsi_gma_handler() 848 if (!nch) { in ncsi_gma_handler() 856 return nch->handler(nca); in ncsi_gma_handler()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
A D | ipoib.c | 760 int nch; in mlx5_rdma_rn_get_params() local 767 nch = mlx5e_get_max_num_channels(mdev); in mlx5_rdma_rn_get_params() 772 .txqs = nch * MLX5E_MAX_NUM_TC, in mlx5_rdma_rn_get_params() 773 .rxqs = nch, in mlx5_rdma_rn_get_params()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_rep.c | 1183 int nch, err; in mlx5e_vport_vf_rep_load() local 1186 nch = mlx5e_get_max_num_channels(dev); in mlx5e_vport_vf_rep_load() 1187 txqs = nch * profile->max_tc; in mlx5e_vport_vf_rep_load() 1188 rxqs = nch * profile->rq_groups; in mlx5e_vport_vf_rep_load()
|
A D | en_main.c | 2522 int qos_queues, nch, ntc, num_txqs, err; in mlx5e_update_tx_netdev_queues() local 2526 nch = priv->channels.params.num_channels; in mlx5e_update_tx_netdev_queues() 2528 num_txqs = nch * ntc + qos_queues; in mlx5e_update_tx_netdev_queues() 2545 int num_rxqs, nch, ntc; in mlx5e_update_netdev_queues() local 2554 nch = priv->channels.params.num_channels; in mlx5e_update_netdev_queues() 2556 num_rxqs = nch * priv->profile->rq_groups; in mlx5e_update_netdev_queues() 3104 int ntc, int nch) in mlx5e_mqprio_build_default_tc_to_txq() argument 3115 .count = nch, in mlx5e_mqprio_build_default_tc_to_txq() 5455 int nch; in mlx5e_probe() local 5463 nch = mlx5e_get_max_num_channels(mdev); in mlx5e_probe() [all …]
|
/linux/sound/pci/au88x0/ |
A D | au88x0_core.c | 2815 vortex_translateformat(vortex_t * vortex, char bits, char nch, int encod) 2838 switch (nch) { 2855 static void vortex_cdmacore_setformat(vortex_t * vortex, int bits, int nch) 2859 d = ((bits >> 3) * nch);
|
Completed in 55 milliseconds