Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c16 #define chains_lock(chains) ((chains)->lock) argument
17 #define chains_ht(chains) ((chains)->chains_ht) argument
18 #define chains_mapping(chains) ((chains)->chains_mapping) argument
19 #define prios_ht(chains) ((chains)->prios_ht) argument
20 #define ft_pool_left(chains) ((chains)->ft_left) argument
21 #define tc_default_ft(chains) ((chains)->tc_default_ft) argument
22 #define tc_end_ft(chains) ((chains)->tc_end_ft) argument
68 struct mlx5_fs_chains *chains; member
109 bool mlx5_chains_prios_supported(struct mlx5_fs_chains *chains) in mlx5_chains_prios_supported() argument
111 return chains->flags & MLX5_CHAINS_AND_PRIOS_SUPPORTED; in mlx5_chains_prios_supported()
[all …]
Dfs_chains.h29 mlx5_chains_prios_supported(struct mlx5_fs_chains *chains);
31 mlx5_chains_backwards_supported(struct mlx5_fs_chains *chains);
33 mlx5_chains_get_prio_range(struct mlx5_fs_chains *chains);
35 mlx5_chains_get_chain_range(struct mlx5_fs_chains *chains);
37 mlx5_chains_get_nf_ft_chain(struct mlx5_fs_chains *chains);
40 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio,
43 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio,
47 mlx5_chains_get_tc_end_ft(struct mlx5_fs_chains *chains);
50 mlx5_chains_create_global_table(struct mlx5_fs_chains *chains);
52 mlx5_chains_destroy_global_table(struct mlx5_fs_chains *chains,
[all …]
/kernel/linux/linux-5.10/drivers/dma-buf/
Dst-dma-fence-chain.c109 struct dma_fence **chains; member
125 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init()
127 if (!fc->chains) in fence_chains_init()
145 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init()
148 if (!fc->chains[i]) { in fence_chains_init()
153 fc->tail = fc->chains[i]; in fence_chains_init()
162 dma_fence_put(fc->chains[i]); in fence_chains_init()
166 kvfree(fc->chains); in fence_chains_init()
181 dma_fence_put(fc->chains[i]); in fence_chains_fini()
182 kvfree(fc->chains); in fence_chains_fini()
[all …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/sound/
Dsound_core.c335 static struct sound_unit *chains[SOUND_STEP]; variable
411 return sound_insert_unit(&chains[chain], fops, -1, unit, max_unit, in register_sound_special_device()
438 return sound_insert_unit(&chains[0], fops, dev, 0, 128, in register_sound_mixer()
466 return sound_insert_unit(&chains[3], fops, dev, 3, 131, in register_sound_dsp()
484 sound_remove_unit(&chains[unit % SOUND_STEP], unit); in unregister_sound_special()
499 sound_remove_unit(&chains[0], unit); in unregister_sound_mixer()
516 sound_remove_unit(&chains[3], unit); in unregister_sound_dsp()
526 s=chains[chain]; in __look_for_unit()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
Dmac.c507 unsigned int power, chains; in carl9170_set_mac_tpc() local
510 chains = AR9170_TX_PHY_TXCHAIN_2; in carl9170_set_mac_tpc()
512 chains = AR9170_TX_PHY_TXCHAIN_1; in carl9170_set_mac_tpc()
529 0x3c1e | power << 20 | chains << 26); in carl9170_set_mac_tpc()
531 power << 5 | chains << 11 | in carl9170_set_mac_tpc()
532 power << 21 | chains << 27); in carl9170_set_mac_tpc()
534 power << 5 | chains << 11 | in carl9170_set_mac_tpc()
535 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()
1572 unsigned int power, chains; in carl9170_tx_beacon_physet() local
1578 carl9170_tx_rate_tpc_chains(ar, txinfo, rate, plcp, &power, &chains); in carl9170_tx_beacon_physet()
1581 if (chains == AR9170_TX_PHY_TXCHAIN_2) in carl9170_tx_beacon_physet()
[all …]
Dwlan.h226 u8 chains:3; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c306 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_eswitch_add_offloaded_rule() local
343 dest[i].ft = mlx5_chains_get_tc_end_ft(chains); in mlx5_eswitch_add_offloaded_rule()
347 ft = mlx5_chains_get_table(chains, attr->dest_chain, in mlx5_eswitch_add_offloaded_rule()
404 fdb = mlx5_chains_get_table(chains, attr->chain, in mlx5_eswitch_add_offloaded_rule()
435 mlx5_chains_put_table(chains, attr->chain, attr->prio, 0); in mlx5_eswitch_add_offloaded_rule()
438 mlx5_chains_put_table(chains, attr->dest_chain, 1, 0); in mlx5_eswitch_add_offloaded_rule()
451 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_eswitch_add_fwd_rule() local
458 fast_fdb = mlx5_chains_get_table(chains, attr->chain, attr->prio, 0); in mlx5_eswitch_add_fwd_rule()
507 mlx5_chains_put_table(chains, attr->chain, attr->prio, 0); in mlx5_eswitch_add_fwd_rule()
519 struct mlx5_fs_chains *chains = esw_chains(esw); in __mlx5_eswitch_del_rule() local
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c81 static u8 rs_fw_set_active_chains(u8 chains) in rs_fw_set_active_chains() argument
85 if (chains & ANT_A) in rs_fw_set_active_chains()
87 if (chains & ANT_B) in rs_fw_set_active_chains()
89 if (chains & ANT_C) in rs_fw_set_active_chains()
92 chains); in rs_fw_set_active_chains()
465 .chains = rs_fw_set_active_chains(iwl_mvm_get_valid_tx_ant(mvm)), in rs_fw_rate_init()
513 lq_sta->pers.chains = 0; in iwl_mvm_rs_add_sta()
Drs.h246 u8 chains; member
388 u8 chains; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c58 struct mlx5_fs_chains *chains; member
1750 err = mlx5_chains_get_chain_mapping(ct_priv->chains, attr->chain, in __mlx5_tc_ct_flow_offload()
1846 mlx5_chains_put_chain_mapping(ct_priv->chains, ct_flow->chain_mapping); in __mlx5_tc_ct_flow_offload()
1971 mlx5_chains_put_chain_mapping(ct_priv->chains, ct_flow->chain_mapping); in __mlx5_tc_ct_delete_flow()
2070 mlx5_tc_ct_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains, in mlx5_tc_ct_init() argument
2106 ct_priv->chains = chains; in mlx5_tc_ct_init()
2110 ct_priv->ct = mlx5_chains_create_global_table(chains); in mlx5_tc_ct_init()
2119 ct_priv->ct_nat = mlx5_chains_create_global_table(chains); in mlx5_tc_ct_init()
2128 ct_priv->post_ct = mlx5_chains_create_global_table(chains); in mlx5_tc_ct_init()
2146 mlx5_chains_destroy_global_table(chains, ct_priv->ct_nat); in mlx5_tc_ct_init()
[all …]
Dtc_ct.h96 mlx5_tc_ct_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains,
136 mlx5_tc_ct_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains, in mlx5_tc_ct_init() argument
Dfs.h20 struct mlx5_fs_chains *chains; member
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_syncobj.c1348 struct dma_fence_chain **chains; in drm_syncobj_timeline_signal_ioctl() local
1383 chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL); in drm_syncobj_timeline_signal_ioctl()
1384 if (!chains) { in drm_syncobj_timeline_signal_ioctl()
1389 chains[i] = kzalloc(sizeof(struct dma_fence_chain), GFP_KERNEL); in drm_syncobj_timeline_signal_ioctl()
1390 if (!chains[i]) { in drm_syncobj_timeline_signal_ioctl()
1392 kfree(chains[j]); in drm_syncobj_timeline_signal_ioctl()
1401 drm_syncobj_add_point(syncobjs[i], chains[i], in drm_syncobj_timeline_signal_ioctl()
1406 kfree(chains); in drm_syncobj_timeline_signal_ioctl()
/kernel/linux/linux-5.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.
/kernel/linux/linux-5.10/net/mac80211/
Drx.c127 if (status->chains) in ieee80211_rx_radiotap_hdrlen()
128 len += 4 * hweight8(status->chains); in ieee80211_rx_radiotap_hdrlen()
141 if (!status->chains) in ieee80211_rx_radiotap_hdrlen()
188 if (status->chains) { in ieee80211_rx_radiotap_hdrlen()
190 len += 2 * hweight8(status->chains); in ieee80211_rx_radiotap_hdrlen()
289 unsigned long chains = status->chains; in ieee80211_add_rx_radiotap_header() local
331 if (!status->chains) in ieee80211_add_rx_radiotap_header()
334 for_each_set_bit(chain, &chains, IEEE80211_MAX_CHAINS) { in ieee80211_add_rx_radiotap_header()
434 if (!status->chains) { in ieee80211_add_rx_radiotap_header()
667 for_each_set_bit(chain, &chains, IEEE80211_MAX_CHAINS) { in ieee80211_add_rx_radiotap_header()
[all …]
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/arch/sh/drivers/dma/
DKconfig56 As this chains off of the on-chip DMAC, that must also be
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dintel-bts.txt55 chains) are supported.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Driscv,cpu-intc.txt35 - Source 9 is the supervisor external interrupt, which chains to all other
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Drs.h204 u8 chains; member
/kernel/linux/linux-5.10/Documentation/arm/samsung-s3c24xx/
Dcpufreq.rst39 SoC and the driver as each device has different PLL and clock chains
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Drx.c188 rx_status->chains |= BIT(path); in rtw_rx_fill_rx_status()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_driver.c1907 list_add_tail(&chain->list, &dev->chains); in uvc_scan_fallback()
1956 list_add_tail(&chain->list, &dev->chains); in uvc_scan_device()
1959 if (list_empty(&dev->chains)) in uvc_scan_device()
1962 if (list_empty(&dev->chains)) { in uvc_scan_device()
1999 list_for_each_safe(p, n, &dev->chains) { in uvc_delete()
2193 list_for_each_entry(chain, &dev->chains, list) { in uvc_register_chains()
2239 INIT_LIST_HEAD(&dev->chains); in uvc_probe()

1234