Home
last modified time | relevance | path

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

1234

/linux-5.19.10/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 tc_default_ft(chains) ((chains)->tc_default_ft) argument
18 #define tc_end_ft(chains) ((chains)->tc_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.h30 mlx5_chains_prios_supported(struct mlx5_fs_chains *chains);
31 bool mlx5_chains_ignore_flow_level_supported(struct mlx5_fs_chains *chains);
33 mlx5_chains_backwards_supported(struct mlx5_fs_chains *chains);
35 mlx5_chains_get_prio_range(struct mlx5_fs_chains *chains);
37 mlx5_chains_get_chain_range(struct mlx5_fs_chains *chains);
39 mlx5_chains_get_nf_ft_chain(struct mlx5_fs_chains *chains);
42 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio,
45 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio,
49 mlx5_chains_get_tc_end_ft(struct mlx5_fs_chains *chains);
52 mlx5_chains_create_global_table(struct mlx5_fs_chains *chains);
[all …]
/linux-5.19.10/drivers/dma-buf/ !
Dst-dma-fence-chain.c101 struct dma_fence **chains; member
117 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init()
119 if (!fc->chains) in fence_chains_init()
137 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init()
140 if (!fc->chains[i]) { in fence_chains_init()
145 fc->tail = fc->chains[i]; in fence_chains_init()
154 dma_fence_put(fc->chains[i]); in fence_chains_init()
158 kvfree(fc->chains); in fence_chains_init()
173 dma_fence_put(fc->chains[i]); in fence_chains_fini()
174 kvfree(fc->chains); in fence_chains_fini()
[all …]
/linux-5.19.10/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-5.19.10/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-5.19.10/sound/ !
Dsound_core.c331 static struct sound_unit *chains[SOUND_STEP]; variable
407 return sound_insert_unit(&chains[chain], fops, -1, unit, max_unit, in register_sound_special_device()
434 return sound_insert_unit(&chains[0], fops, dev, 0, 128, in register_sound_mixer()
462 return sound_insert_unit(&chains[3], fops, dev, 3, 131, in register_sound_dsp()
480 sound_remove_unit(&chains[unit % SOUND_STEP], unit); in unregister_sound_special()
495 sound_remove_unit(&chains[0], unit); in unregister_sound_mixer()
512 sound_remove_unit(&chains[3], unit); in unregister_sound_dsp()
522 s=chains[chain]; in __look_for_unit()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ !
Dgoto.c18 struct mlx5_fs_chains *chains; in validate_goto_chain() local
24 chains = is_esw ? esw_chains(esw) : mlx5e_nic_chains(priv); in validate_goto_chain()
25 max_chain = mlx5_chains_get_chain_range(chains); in validate_goto_chain()
35 if (!mlx5_chains_backwards_supported(chains) && in validate_goto_chain()
/linux-5.19.10/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-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/ !
Drs-fw.c27 static u8 rs_fw_set_active_chains(u8 chains) in rs_fw_set_active_chains() argument
31 if (chains & ANT_A) in rs_fw_set_active_chains()
33 if (chains & ANT_B) in rs_fw_set_active_chains()
434 .chains = rs_fw_set_active_chains(iwl_mvm_get_valid_tx_ant(mvm)), in rs_fw_rate_init()
462 cfg_cmd.chains, cfg_cmd.sgi_ch_width_supp, cfg_cmd.flags); in rs_fw_rate_init()
479 .chains = cfg_cmd.chains, in rs_fw_rate_init()
525 lq_sta->pers.chains = 0; in iwl_mvm_rs_add_sta()
Drs.h229 u8 chains; member
371 u8 chains; member
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ !
Deswitch_offloads.c234 struct mlx5_fs_chains *chains, int i) in esw_setup_accept_dest() argument
236 if (mlx5_chains_ignore_flow_level_supported(chains)) in esw_setup_accept_dest()
239 dest[i].ft = mlx5_chains_get_tc_end_ft(chains); in esw_setup_accept_dest()
255 struct mlx5_fs_chains *chains, in esw_setup_chain_dest() argument
262 ft = mlx5_chains_get_table(chains, chain, prio, level); in esw_setup_chain_dest()
275 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_put_dest_tables_loop() local
280 mlx5_chains_put_table(chains, 0, 1, 0); in esw_put_dest_tables_loop()
302 struct mlx5_fs_chains *chains, in esw_setup_chain_src_port_rewrite() argument
318 err = esw_setup_chain_dest(dest, flow_act, chains, attr->dest_chain, 1, 0, *i); in esw_setup_chain_src_port_rewrite()
414 esw_cleanup_chain_dest(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) in esw_cleanup_chain_dest() argument
[all …]
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/fw/ !
Dacpi.c476 profile->chains[i].subbands[j] = 0; in iwl_sar_set_profile()
482 profile->chains[i].subbands[j] = in iwl_sar_set_profile()
535 cpu_to_le16(prof->chains[i].subbands[j]); in iwl_sar_fill_table()
537 j, prof->chains[i].subbands[j]); in iwl_sar_fill_table()
885 fwrt->geo_profiles[i].bands[j].chains[k] = in iwl_sar_get_wgds_table()
886 fwrt->geo_profiles[i].bands[1].chains[k]; in iwl_sar_get_wgds_table()
896 fwrt->geo_profiles[i].bands[j].chains[k] = in iwl_sar_get_wgds_table()
953 chain->chain_a = fwrt->geo_profiles[i].bands[j].chains[0]; in iwl_sar_geo_init()
954 chain->chain_b = fwrt->geo_profiles[i].bands[j].chains[1]; in iwl_sar_geo_init()
958 fwrt->geo_profiles[i].bands[j].chains[0], in iwl_sar_geo_init()
[all …]
Dacpi.h111 struct iwl_sar_profile_chain chains[ACPI_SAR_NUM_CHAINS_REV2]; member
117 u8 chains[ACPI_GEO_NUM_CHAINS]; member
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/esw/ !
Dindir_table.c124 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_esw_indir_table_rule_get() local
219 dest.ft = mlx5_chains_get_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_get()
242 mlx5_chains_put_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_get()
261 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_esw_indir_table_rule_put() local
277 mlx5_chains_put_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_put()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/ !
Dtc_ct.h95 mlx5_tc_ct_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains,
139 mlx5_tc_ct_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains, in mlx5_tc_ct_init() argument
Dtc_ct.c75 struct mlx5_fs_chains *chains; member
1857 err = mlx5_chains_get_chain_mapping(ct_priv->chains, attr->chain, in __mlx5_tc_ct_flow_offload()
1917 mlx5_chains_put_chain_mapping(ct_priv->chains, ct_flow->chain_mapping); in __mlx5_tc_ct_flow_offload()
1957 mlx5_chains_put_chain_mapping(ct_priv->chains, ct_flow->chain_mapping); in __mlx5_tc_ct_delete_flow()
2106 mlx5_tc_ct_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains, in mlx5_tc_ct_init() argument
2143 ct_priv->chains = chains; in mlx5_tc_ct_init()
2147 ct_priv->ct = mlx5_chains_create_global_table(chains); in mlx5_tc_ct_init()
2156 ct_priv->ct_nat = mlx5_chains_create_global_table(chains); in mlx5_tc_ct_init()
2196 mlx5_chains_destroy_global_table(chains, ct_priv->ct_nat); in mlx5_tc_ct_init()
2198 mlx5_chains_destroy_global_table(chains, ct_priv->ct); in mlx5_tc_ct_init()
[all …]
/linux-5.19.10/drivers/gpu/drm/ !
Ddrm_syncobj.c1424 struct dma_fence_chain **chains; in drm_syncobj_timeline_signal_ioctl() local
1459 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL); in drm_syncobj_timeline_signal_ioctl()
1460 if (!chains) { in drm_syncobj_timeline_signal_ioctl()
1465 chains[i] = dma_fence_chain_alloc(); in drm_syncobj_timeline_signal_ioctl()
1466 if (!chains[i]) { in drm_syncobj_timeline_signal_ioctl()
1468 dma_fence_chain_free(chains[j]); in drm_syncobj_timeline_signal_ioctl()
1477 drm_syncobj_add_point(syncobjs[i], chains[i], in drm_syncobj_timeline_signal_ioctl()
1482 kfree(chains); in drm_syncobj_timeline_signal_ioctl()
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/fw/api/ !
Drs.h159 u8 chains; member
192 u8 chains; member
/linux-5.19.10/Documentation/vm/ !
Dksm.rst53 KSM pages. The ksmd walk over the stable_node "chains" is also O(N),
76 "chains" is scanned periodically in order to prune stale stable_nodes.
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/ !
Dmac80211.c943 u8 chains; in mt76_rx_signal() local
945 for (chains = status->chains; chains; chains >>= 1, chain_signal++) { in mt76_rx_signal()
949 if (!(chains & BIT(0)) || in mt76_rx_signal()
992 status->chains = mstat.chains; in mt76_rx_convert()
/linux-5.19.10/net/mac80211/ !
Drx.c118 if (status->chains) in ieee80211_rx_radiotap_hdrlen()
119 len += 4 * hweight8(status->chains); in ieee80211_rx_radiotap_hdrlen()
132 if (!status->chains) in ieee80211_rx_radiotap_hdrlen()
179 if (status->chains) { in ieee80211_rx_radiotap_hdrlen()
181 len += 2 * hweight8(status->chains); in ieee80211_rx_radiotap_hdrlen()
297 unsigned long chains = status->chains; in ieee80211_add_rx_radiotap_header() local
339 if (!status->chains) in ieee80211_add_rx_radiotap_header()
342 for_each_set_bit(chain, &chains, IEEE80211_MAX_CHAINS) { in ieee80211_add_rx_radiotap_header()
447 if (!status->chains) { in ieee80211_add_rx_radiotap_header()
685 for_each_set_bit(chain, &chains, IEEE80211_MAX_CHAINS) { in ieee80211_add_rx_radiotap_header()
[all …]
/linux-5.19.10/Documentation/locking/ !
Drt-mutex-design.rst132 inheritance to take place. Multiple chains may converge, but a chain
154 To show where two chains merge, we could add another process F and
162 one, the chains merge.
164 Here we show both chains::
172 For PI to work, the processes at the right end of these chains (or we may
177 have multiple chains merge at mutexes. If we add another process G that is
182 And once again, to show how this can grow I will show the merging chains
208 To keep track of the PI chains, each process has its own PI rbtree. This is
/linux-5.19.10/drivers/media/usb/uvc/ !
Duvc_driver.c1497 chain = list_first_entry(&dev->chains, struct uvc_video_chain, list); in uvc_gpio_event()
2034 list_add_tail(&chain->list, &dev->chains); in uvc_scan_fallback()
2082 list_add_tail(&chain->list, &dev->chains); in uvc_scan_device()
2085 if (list_empty(&dev->chains)) in uvc_scan_device()
2088 if (list_empty(&dev->chains)) { in uvc_scan_device()
2095 chain = list_first_entry(&dev->chains, in uvc_scan_device()
2132 list_for_each_safe(p, n, &dev->chains) { in uvc_delete()
2328 list_for_each_entry(chain, &dev->chains, list) { in uvc_register_chains()
2366 INIT_LIST_HEAD(&dev->chains); in uvc_probe()

1234