/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | setup.c | 160 int mlx5e_xsk_redirect_rqts_to_channels(struct mlx5e_priv *priv, struct mlx5e_channels *chs) in mlx5e_xsk_redirect_rqts_to_channels() argument 167 for (i = 0; i < chs->num; i++) { in mlx5e_xsk_redirect_rqts_to_channels() 168 struct mlx5e_channel *c = chs->c[i]; in mlx5e_xsk_redirect_rqts_to_channels() 182 if (!test_bit(MLX5E_CHANNEL_STATE_XSK, chs->c[i]->state)) in mlx5e_xsk_redirect_rqts_to_channels() 191 void mlx5e_xsk_redirect_rqts_to_drop(struct mlx5e_priv *priv, struct mlx5e_channels *chs) in mlx5e_xsk_redirect_rqts_to_drop() argument 198 for (i = 0; i < chs->num; i++) { in mlx5e_xsk_redirect_rqts_to_drop() 199 if (!test_bit(MLX5E_CHANNEL_STATE_XSK, chs->c[i]->state)) in mlx5e_xsk_redirect_rqts_to_drop()
|
D | setup.h | 22 int mlx5e_xsk_redirect_rqts_to_channels(struct mlx5e_priv *priv, struct mlx5e_channels *chs); 23 void mlx5e_xsk_redirect_rqts_to_drop(struct mlx5e_priv *priv, struct mlx5e_channels *chs);
|
/drivers/hwtracing/coresight/ |
D | coresight-stm.c | 85 #define stm_channel_addr(drvdata, ch) (drvdata->chs.base + \ 136 struct channel_space chs; member 366 addr = drvdata->chs.phys + channel * BYTES_PER_CHANNEL; in stm_mmio_addr() 391 set_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options() 395 clear_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options() 428 stm_flags |= test_bit(channel, drvdata->chs.guaranteed) ? in stm_generic_packet() 831 bitmap_clear(drvdata->chs.guaranteed, 0, drvdata->numsp); in stm_init_default_data() 893 drvdata->chs.phys = ch_res.start; in stm_probe() 898 drvdata->chs.base = base; in stm_probe() 912 drvdata->chs.guaranteed = guaranteed; in stm_probe()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 2368 struct mlx5e_channels *chs) in mlx5e_open_channels() argument 2374 chs->num = chs->params.num_channels; in mlx5e_open_channels() 2376 chs->c = kcalloc(chs->num, sizeof(struct mlx5e_channel *), GFP_KERNEL); in mlx5e_open_channels() 2378 if (!chs->c || !cparam) in mlx5e_open_channels() 2381 mlx5e_build_channel_param(priv, &chs->params, cparam); in mlx5e_open_channels() 2382 for (i = 0; i < chs->num; i++) { in mlx5e_open_channels() 2385 if (chs->params.xdp_prog) in mlx5e_open_channels() 2386 xsk_pool = mlx5e_xsk_get_pool(&chs->params, chs->params.xsk, i); in mlx5e_open_channels() 2388 err = mlx5e_open_channel(priv, i, &chs->params, cparam, xsk_pool, &chs->c[i]); in mlx5e_open_channels() 2399 mlx5e_close_channel(chs->c[i]); in mlx5e_open_channels() [all …]
|
D | en.h | 933 struct mlx5e_channels *chs); 934 void mlx5e_close_channels(struct mlx5e_channels *chs);
|
/drivers/net/ethernet/ti/ |
D | cpsw_ethtool.c | 595 struct ethtool_channels *chs, in cpsw_set_channels_common() argument 603 ret = cpsw_check_ch_settings(cpsw, chs); in cpsw_set_channels_common() 609 new_pools = (chs->rx_count != cpsw->rx_ch_num) && cpsw->usage_count; in cpsw_set_channels_common() 611 ret = cpsw_update_channels_res(priv, chs->rx_count, 1, rx_handler); in cpsw_set_channels_common() 615 ret = cpsw_update_channels_res(priv, chs->tx_count, 0, rx_handler); in cpsw_set_channels_common()
|
D | am65-cpsw-ethtool.c | 438 struct ethtool_channels *chs) in am65_cpsw_set_channels() argument 442 if (!chs->rx_count || !chs->tx_count) in am65_cpsw_set_channels() 453 return am65_cpsw_nuss_update_tx_chns(common, chs->tx_count); in am65_cpsw_set_channels()
|
D | cpsw_priv.h | 494 struct ethtool_channels *chs,
|
D | cpsw.c | 1214 struct ethtool_channels *chs) in cpsw_set_channels() argument 1216 return cpsw_set_channels_common(ndev, chs, cpsw_rx_handler); in cpsw_set_channels()
|
D | cpsw_new.c | 1193 struct ethtool_channels *chs) in cpsw_set_channels() argument 1195 return cpsw_set_channels_common(ndev, chs, cpsw_rx_handler); in cpsw_set_channels()
|
/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 302 unsigned int i, chs; in gelic_wl_get_range() local 314 for (i = 0, chs = 0; in gelic_wl_get_range() 315 i < NUM_CHANNELS && chs < IW_MAX_FREQUENCIES; i++) in gelic_wl_get_range() 317 range->freq[chs].i = i + 1; in gelic_wl_get_range() 318 range->freq[chs].m = channel_freq[i]; in gelic_wl_get_range() 319 range->freq[chs].e = 6; in gelic_wl_get_range() 320 chs++; in gelic_wl_get_range() 322 range->num_frequency = chs; in gelic_wl_get_range() 323 range->old_num_frequency = chs; in gelic_wl_get_range() 324 range->num_channels = chs; in gelic_wl_get_range() [all …]
|
/drivers/ide/ |
D | ide.c | 278 module_param_call(chs, ide_set_disk_chs, NULL, NULL, 0); 279 MODULE_PARM_DESC(chs, "force device as a disk (using CHS)");
|
/drivers/slimbus/ |
D | stream.c | 245 port->ch.id = cfg->chs[i]; in slim_stream_prepare()
|
/drivers/media/i2c/ |
D | ov7670.c | 1321 int chs = 1; in ov7670_sine() local 1326 chs = -1; in ov7670_sine() 1334 return sine*chs; in ov7670_sine()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_flex_pipe.c | 2176 struct list_head *chs, u16 *vsig) in ice_find_dup_props_vsig() argument 2183 ice_match_prop_lst(chs, &xlt2->vsig_tbl[i].prop_lst)) { in ice_find_dup_props_vsig()
|