Home
last modified time | relevance | path

Searched refs:chains (Results 1 – 25 of 109) sorted by relevance

12345

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c14 #define chains_lock(chains) ((chains)->lock) argument
15 #define chains_ht(chains) ((chains)->chains_ht) argument
16 #define prios_ht(chains) ((chains)->prios_ht) argument
17 #define chains_default_ft(chains) ((chains)->chains_default_ft) argument
18 #define chains_end_ft(chains) ((chains)->chains_end_ft) argument
48 struct mlx5_fs_chains *chains; member
89 bool mlx5_chains_prios_supported(struct mlx5_fs_chains *chains) in mlx5_chains_prios_supported() argument
91 return chains->flags & MLX5_CHAINS_AND_PRIOS_SUPPORTED; in mlx5_chains_prios_supported()
94 bool mlx5_chains_ignore_flow_level_supported(struct mlx5_fs_chains *chains) in mlx5_chains_ignore_flow_level_supported() argument
96 return chains->flags & MLX5_CHAINS_IGNORE_FLOW_LEVEL_SUPPORTED; in mlx5_chains_ignore_flow_level_supported()
[all …]
Dfs_chains.h31 mlx5_chains_prios_supported(struct mlx5_fs_chains *chains);
32 bool mlx5_chains_ignore_flow_level_supported(struct mlx5_fs_chains *chains);
34 mlx5_chains_backwards_supported(struct mlx5_fs_chains *chains);
36 mlx5_chains_get_prio_range(struct mlx5_fs_chains *chains);
38 mlx5_chains_get_chain_range(struct mlx5_fs_chains *chains);
40 mlx5_chains_get_nf_ft_chain(struct mlx5_fs_chains *chains);
43 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio,
46 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio,
50 mlx5_chains_get_tc_end_ft(struct mlx5_fs_chains *chains);
53 mlx5_chains_create_global_table(struct mlx5_fs_chains *chains);
[all …]
/Linux-v6.6/drivers/dma-buf/
Dst-dma-fence-chain.c103 struct dma_fence **chains; member
119 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init()
121 if (!fc->chains) in fence_chains_init()
139 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init()
142 if (!fc->chains[i]) { in fence_chains_init()
147 fc->tail = fc->chains[i]; in fence_chains_init()
149 dma_fence_enable_sw_signaling(fc->chains[i]); in fence_chains_init()
158 dma_fence_put(fc->chains[i]); in fence_chains_init()
162 kvfree(fc->chains); in fence_chains_init()
177 dma_fence_put(fc->chains[i]); in fence_chains_fini()
[all …]
/Linux-v6.6/arch/alpha/kernel/
Dmodule.c30 struct got_entry *chains, Elf64_Xword *poffset) in process_reloc_for_got() argument
40 for (g = chains + r_sym; g ; g = g->next) in process_reloc_for_got()
50 g->next = chains[r_sym].next; in process_reloc_for_got()
54 chains[r_sym].next = g; in process_reloc_for_got()
67 struct got_entry *chains; in module_frob_arch_sections() local
96 chains = kcalloc(nsyms, sizeof(struct got_entry), GFP_KERNEL); in module_frob_arch_sections()
97 if (!chains) { in module_frob_arch_sections()
115 process_reloc_for_got(rela+i, chains, in module_frob_arch_sections()
122 for (g = chains[i].next; g ; g = n) { in module_frob_arch_sections()
127 kfree(chains); in module_frob_arch_sections()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dpost_act.c12 struct mlx5_fs_chains *chains; member
30 mlx5e_tc_post_act_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains, in mlx5e_tc_post_act_init() argument
50 post_act->ft = mlx5_chains_create_global_table(chains); in mlx5e_tc_post_act_init()
56 post_act->chains = chains; in mlx5e_tc_post_act_init()
75 mlx5_chains_destroy_global_table(post_act->chains, post_act->ft); in mlx5e_tc_post_act_destroy()
Dpost_act.h15 mlx5e_tc_post_act_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains,
/Linux-v6.6/sound/
Dsound_core.c332 static struct sound_unit *chains[SOUND_STEP]; variable
408 return sound_insert_unit(&chains[chain], fops, -1, unit, max_unit, in register_sound_special_device()
435 return sound_insert_unit(&chains[0], fops, dev, 0, 128, in register_sound_mixer()
463 return sound_insert_unit(&chains[3], fops, dev, 3, 131, in register_sound_dsp()
481 sound_remove_unit(&chains[unit % SOUND_STEP], unit); in unregister_sound_special()
496 sound_remove_unit(&chains[0], unit); in unregister_sound_mixer()
513 sound_remove_unit(&chains[3], unit); in unregister_sound_dsp()
523 s=chains[chain]; in __look_for_unit()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dgoto.c19 struct mlx5_fs_chains *chains; in validate_goto_chain() local
25 chains = is_esw ? esw_chains(esw) : mlx5e_nic_chains(tc); in validate_goto_chain()
26 max_chain = mlx5_chains_get_chain_range(chains); in validate_goto_chain()
36 if (!mlx5_chains_backwards_supported(chains) && in validate_goto_chain()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c31 struct mlx5_fs_chains *chains; member
68 struct mlx5_fs_chains *chains; in ipsec_chains_create() local
79 chains = mlx5_chains_create(mdev, &attr); in ipsec_chains_create()
80 if (IS_ERR(chains)) in ipsec_chains_create()
81 return chains; in ipsec_chains_create()
84 ft = mlx5_chains_get_table(chains, 0, 1, 0); in ipsec_chains_create()
91 return chains; in ipsec_chains_create()
94 mlx5_chains_destroy(chains); in ipsec_chains_create()
98 static void ipsec_chains_destroy(struct mlx5_fs_chains *chains) in ipsec_chains_destroy() argument
100 mlx5_chains_put_table(chains, 0, 1, 0); in ipsec_chains_destroy()
[all …]
/Linux-v6.6/drivers/net/wireless/ath/carl9170/
Dmac.c503 unsigned int power, chains; in carl9170_set_mac_tpc() local
506 chains = AR9170_TX_PHY_TXCHAIN_2; in carl9170_set_mac_tpc()
508 chains = AR9170_TX_PHY_TXCHAIN_1; in carl9170_set_mac_tpc()
525 0x3c1e | power << 20 | chains << 26); in carl9170_set_mac_tpc()
527 power << 5 | chains << 11 | in carl9170_set_mac_tpc()
528 power << 21 | chains << 27); in carl9170_set_mac_tpc()
530 power << 5 | chains << 11 | in carl9170_set_mac_tpc()
531 power << 21 | chains << 27); in carl9170_set_mac_tpc()
Dtx.c708 unsigned int *phyrate, unsigned int *tpc, unsigned int *chains) in carl9170_tx_rate_tpc_chains() argument
753 *chains = AR9170_TX_PHY_TXCHAIN_1; in carl9170_tx_rate_tpc_chains()
757 *chains = AR9170_TX_PHY_TXCHAIN_1; in carl9170_tx_rate_tpc_chains()
759 *chains = AR9170_TX_PHY_TXCHAIN_2; in carl9170_tx_rate_tpc_chains()
768 unsigned int power = 0, chains = 0, phyrate = 0; in carl9170_tx_physet() local
817 &phyrate, &power, &chains); in carl9170_tx_physet()
821 tmp |= cpu_to_le32(SET_CONSTVAL(AR9170_TX_PHY_TXCHAIN, chains)); in carl9170_tx_physet()
1577 unsigned int power, chains; in carl9170_tx_beacon_physet() local
1583 carl9170_tx_rate_tpc_chains(ar, txinfo, rate, plcp, &power, &chains); in carl9170_tx_beacon_physet()
1586 if (chains == AR9170_TX_PHY_TXCHAIN_2) in carl9170_tx_beacon_physet()
[all …]
/Linux-v6.6/drivers/gpu/drm/nouveau/
Dnouveau_sched.c82 job->out_sync.chains = kcalloc(job->out_sync.count, in nouveau_job_init()
83 sizeof(*job->out_sync.chains), in nouveau_job_init()
85 if (!job->out_sync.chains) { in nouveau_job_init()
101 kfree(job->out_sync.chains); in nouveau_job_init()
117 kfree(job->out_sync.chains); in nouveau_job_free()
184 struct dma_fence_chain *chain = job->out_sync.chains[i]; in nouveau_job_fence_attach_cleanup()
202 struct dma_fence_chain **pchain = &job->out_sync.chains[i]; in nouveau_job_fence_attach_prepare()
245 struct dma_fence_chain **pchain = &job->out_sync.chains[i]; in nouveau_job_fence_attach()
Dnouveau_sched.h71 struct dma_fence_chain **chains; member
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c243 struct mlx5_fs_chains *chains, int i) in esw_setup_accept_dest() argument
245 if (mlx5_chains_ignore_flow_level_supported(chains)) in esw_setup_accept_dest()
248 dest[i].ft = mlx5_chains_get_tc_end_ft(chains); in esw_setup_accept_dest()
264 struct mlx5_fs_chains *chains, in esw_setup_chain_dest() argument
271 ft = mlx5_chains_get_table(chains, chain, prio, level); in esw_setup_chain_dest()
284 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_put_dest_tables_loop() local
289 mlx5_chains_put_table(chains, 0, 1, 0); in esw_put_dest_tables_loop()
311 struct mlx5_fs_chains *chains, in esw_setup_chain_src_port_rewrite() argument
327 err = esw_setup_chain_dest(dest, flow_act, chains, attr->dest_chain, 1, 0, *i); in esw_setup_chain_src_port_rewrite()
420 esw_cleanup_chain_dest(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) in esw_cleanup_chain_dest() argument
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dindir_table.c100 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_esw_indir_table_rule_get() local
141 dest.ft = mlx5_chains_get_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_get()
160 mlx5_chains_put_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_get()
175 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_esw_indir_table_rule_put() local
184 mlx5_chains_put_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_put()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c29 static u8 rs_fw_set_active_chains(u8 chains) in rs_fw_set_active_chains() argument
33 if (chains & ANT_A) in rs_fw_set_active_chains()
35 if (chains & ANT_B) in rs_fw_set_active_chains()
600 .chains = rs_fw_set_active_chains(iwl_mvm_get_valid_tx_ant(mvm)), in iwl_mvm_rs_fw_rate_init()
658 cfg_cmd.chains, cfg_cmd.sgi_ch_width_supp, cfg_cmd.flags); in iwl_mvm_rs_fw_rate_init()
675 .chains = cfg_cmd.chains, in iwl_mvm_rs_fw_rate_init()
722 lq_sta->pers.chains = 0; in iwl_mvm_rs_add_sta_link()
Drs.h229 u8 chains; member
372 u8 chains; member
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c518 profile->chains[i].subbands[j] = 0; in iwl_sar_set_profile()
524 profile->chains[i].subbands[j] = in iwl_sar_set_profile()
577 cpu_to_le16(prof->chains[i].subbands[j]); in iwl_sar_fill_table()
579 j, prof->chains[i].subbands[j]); in iwl_sar_fill_table()
927 fwrt->geo_profiles[i].bands[j].chains[k] = in iwl_sar_get_wgds_table()
928 fwrt->geo_profiles[i].bands[1].chains[k]; in iwl_sar_get_wgds_table()
938 fwrt->geo_profiles[i].bands[j].chains[k] = in iwl_sar_get_wgds_table()
995 chain->chain_a = fwrt->geo_profiles[i].bands[j].chains[0]; in iwl_sar_geo_init()
996 chain->chain_b = fwrt->geo_profiles[i].bands[j].chains[1]; in iwl_sar_geo_init()
1000 fwrt->geo_profiles[i].bands[j].chains[0], in iwl_sar_geo_init()
[all …]
Dacpi.h114 struct iwl_sar_profile_chain chains[ACPI_SAR_NUM_CHAINS_REV2]; member
120 u8 chains[ACPI_GEO_NUM_CHAINS]; member
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h97 mlx5_tc_ct_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains,
134 mlx5_tc_ct_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains, in mlx5_tc_ct_init() argument
Dtc_ct.c77 struct mlx5_fs_chains *chains; member
2155 mlx5_tc_ct_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains, in mlx5_tc_ct_init() argument
2193 ct_priv->chains = chains; in mlx5_tc_ct_init()
2197 ct_priv->ct = mlx5_chains_create_global_table(chains); in mlx5_tc_ct_init()
2206 ct_priv->ct_nat = mlx5_chains_create_global_table(chains); in mlx5_tc_ct_init()
2246 mlx5_chains_destroy_global_table(chains, ct_priv->ct_nat); in mlx5_tc_ct_init()
2248 mlx5_chains_destroy_global_table(chains, ct_priv->ct); in mlx5_tc_ct_init()
2264 struct mlx5_fs_chains *chains; in mlx5_tc_ct_clean() local
2271 chains = ct_priv->chains; in mlx5_tc_ct_clean()
2276 mlx5_chains_destroy_global_table(chains, ct_priv->ct_nat); in mlx5_tc_ct_clean()
[all …]
/Linux-v6.6/drivers/gpu/drm/
Ddrm_syncobj.c1519 struct dma_fence_chain **chains; in drm_syncobj_timeline_signal_ioctl() local
1554 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL); in drm_syncobj_timeline_signal_ioctl()
1555 if (!chains) { in drm_syncobj_timeline_signal_ioctl()
1560 chains[i] = dma_fence_chain_alloc(); in drm_syncobj_timeline_signal_ioctl()
1561 if (!chains[i]) { in drm_syncobj_timeline_signal_ioctl()
1563 dma_fence_chain_free(chains[j]); in drm_syncobj_timeline_signal_ioctl()
1572 drm_syncobj_add_point(syncobjs[i], chains[i], in drm_syncobj_timeline_signal_ioctl()
1577 kfree(chains); in drm_syncobj_timeline_signal_ioctl()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Drs.h159 u8 chains; member
192 u8 chains; member
/Linux-v6.6/Documentation/mm/
Dksm.rst51 KSM pages. The ksmd walk over the stable_node "chains" is also O(N),
74 "chains" is scanned periodically in order to prune stale stable_nodes.
/Linux-v6.6/net/mac80211/
Drx.c127 if (status->chains) in ieee80211_rx_radiotap_hdrlen()
128 len += 4 * hweight8(status->chains); in ieee80211_rx_radiotap_hdrlen()
138 if (!status->chains) in ieee80211_rx_radiotap_hdrlen()
185 if (status->chains) { in ieee80211_rx_radiotap_hdrlen()
187 len += 2 * hweight8(status->chains); in ieee80211_rx_radiotap_hdrlen()
309 unsigned long chains = status->chains; in ieee80211_add_rx_radiotap_header() local
349 if (!status->chains) in ieee80211_add_rx_radiotap_header()
352 for_each_set_bit(chain, &chains, IEEE80211_MAX_CHAINS) { in ieee80211_add_rx_radiotap_header()
452 if (!status->chains) { in ieee80211_add_rx_radiotap_header()
690 for_each_set_bit(chain, &chains, IEEE80211_MAX_CHAINS) { in ieee80211_add_rx_radiotap_header()
[all …]

12345