Home
last modified time | relevance | path

Searched refs:params (Results 2026 - 2050 of 5640) sorted by relevance

1...<<81828384858687888990>>...226

/kernel/linux/linux-6.6/sound/soc/amd/
H A Dacp-rt5645.c57 struct snd_pcm_hw_params *params) in cz_aif1_hw_params()
64 CZ_PLAT_CLK, params_rate(params) * 512); in cz_aif1_hw_params()
71 params_rate(params) * 512, SND_SOC_CLOCK_OUT); in cz_aif1_hw_params()
56 cz_aif1_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) cz_aif1_hw_params() argument
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_base_utils.cpp592 std::string ParseLogContent(const std::vector<std::string>& params) in ParseLogContent() argument
596 if (params.empty()) { in ParseLogContent()
599 std::string formatStr = params[0]; in ParseLogContent()
600 auto size = static_cast<int32_t>(params.size()); in ParseLogContent()
622 ret += params[count++]; in ParseLogContent()
644 ret += params[i]; in ParseLogContent()
652 ret += params[i]; in ParseLogContent()
667 std::vector<std::string> params; in GetLogContent() local
668 params.reserve(argc); in GetLogContent()
670 params in GetLogContent()
685 std::vector<std::string> params; GetLogContentFromStartIndex() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmain.c471 const struct ieee80211_tx_queue_params *params) in mt7615_conf_tx()
481 err = mt7615_mcu_set_wmm(dev, queue, params); in mt7615_conf_tx()
776 struct ieee80211_ampdu_params *params) in mt7615_ampdu_action()
778 enum ieee80211_ampdu_mlme_action action = params->action; in mt7615_ampdu_action()
780 struct ieee80211_sta *sta = params->sta; in mt7615_ampdu_action()
781 struct ieee80211_txq *txq = sta->txq[params->tid]; in mt7615_ampdu_action()
783 u16 tid = params->tid; in mt7615_ampdu_action()
784 u16 ssn = params->ssn; in mt7615_ampdu_action()
798 params->buf_size); in mt7615_ampdu_action()
799 mt7615_mcu_add_rx_ba(dev, params, tru in mt7615_ampdu_action()
470 mt7615_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) mt7615_conf_tx() argument
775 mt7615_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) mt7615_ampdu_action() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/sunxi/
H A Dsun4i-codec.c405 static unsigned long sun4i_codec_get_mod_freq(struct snd_pcm_hw_params *params) in sun4i_codec_get_mod_freq() argument
407 unsigned int rate = params_rate(params); in sun4i_codec_get_mod_freq()
435 static int sun4i_codec_get_hw_rate(struct snd_pcm_hw_params *params) in sun4i_codec_get_hw_rate() argument
437 unsigned int rate = params_rate(params); in sun4i_codec_get_hw_rate()
478 struct snd_pcm_hw_params *params, in sun4i_codec_hw_params_capture()
487 if (params_channels(params) == 1) in sun4i_codec_hw_params_capture()
497 if (hw_param_interval(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS)->min == 32) { in sun4i_codec_hw_params_capture()
524 struct snd_pcm_hw_params *params, in sun4i_codec_hw_params_playback()
535 if (params_channels(params) == 1) in sun4i_codec_hw_params_playback()
545 if (hw_param_interval(params, SNDRV_PCM_HW_PARAM_SAMPLE_BIT in sun4i_codec_hw_params_playback()
477 sun4i_codec_hw_params_capture(struct sun4i_codec *scodec, struct snd_pcm_hw_params *params, unsigned int hwrate) sun4i_codec_hw_params_capture() argument
523 sun4i_codec_hw_params_playback(struct sun4i_codec *scodec, struct snd_pcm_hw_params *params, unsigned int hwrate) sun4i_codec_hw_params_playback() argument
572 sun4i_codec_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) sun4i_codec_hw_params() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
H A Drcar_du_crtc.c175 u32 escr, struct du_clk_params *params) in rcar_du_escr_divider()
185 if (params->diff == 0) in rcar_du_escr_divider()
200 if (diff < params->diff) { in rcar_du_escr_divider()
201 params->clk = clk; in rcar_du_escr_divider()
202 params->rate = rate; in rcar_du_escr_divider()
203 params->diff = diff; in rcar_du_escr_divider()
204 params->escr = escr | div; in rcar_du_escr_divider()
274 struct du_clk_params params = { .diff = (unsigned long)-1 }; in rcar_du_crtc_set_display_timing() local
277 ESCR_DCLKSEL_CLKS, &params); in rcar_du_crtc_set_display_timing()
280 ESCR_DCLKSEL_DCLKIN, &params); in rcar_du_crtc_set_display_timing()
174 rcar_du_escr_divider(struct clk *clk, unsigned long target, u32 escr, struct du_clk_params *params) rcar_du_escr_divider() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c496 struct virtio_gpu_object_params *params, in virtio_gpu_cmd_create_resource()
509 cmd_p->format = cpu_to_le32(params->format); in virtio_gpu_cmd_create_resource()
510 cmd_p->width = cpu_to_le32(params->width); in virtio_gpu_cmd_create_resource()
511 cmd_p->height = cpu_to_le32(params->height); in virtio_gpu_cmd_create_resource()
980 struct virtio_gpu_object_params *params, in virtio_gpu_cmd_resource_create_3d()
993 cmd_p->format = cpu_to_le32(params->format); in virtio_gpu_cmd_resource_create_3d()
994 cmd_p->width = cpu_to_le32(params->width); in virtio_gpu_cmd_resource_create_3d()
995 cmd_p->height = cpu_to_le32(params->height); in virtio_gpu_cmd_resource_create_3d()
997 cmd_p->target = cpu_to_le32(params->target); in virtio_gpu_cmd_resource_create_3d()
998 cmd_p->bind = cpu_to_le32(params in virtio_gpu_cmd_resource_create_3d()
494 virtio_gpu_cmd_create_resource(struct virtio_gpu_device *vgdev, struct virtio_gpu_object *bo, struct virtio_gpu_object_params *params, struct virtio_gpu_object_array *objs, struct virtio_gpu_fence *fence) virtio_gpu_cmd_create_resource() argument
978 virtio_gpu_cmd_resource_create_3d(struct virtio_gpu_device *vgdev, struct virtio_gpu_object *bo, struct virtio_gpu_object_params *params, struct virtio_gpu_object_array *objs, struct virtio_gpu_fence *fence) virtio_gpu_cmd_resource_create_3d() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_crtc.c173 u32 escr, struct du_clk_params *params) in rcar_du_escr_divider()
183 if (params->diff == 0) in rcar_du_escr_divider()
198 if (diff < params->diff) { in rcar_du_escr_divider()
199 params->clk = clk; in rcar_du_escr_divider()
200 params->rate = rate; in rcar_du_escr_divider()
201 params->diff = diff; in rcar_du_escr_divider()
202 params->escr = escr | div; in rcar_du_escr_divider()
254 struct du_clk_params params = { .diff = (unsigned long)-1 }; in rcar_du_crtc_set_display_timing() local
257 ESCR_DCLKSEL_CLKS, &params); in rcar_du_crtc_set_display_timing()
260 ESCR_DCLKSEL_DCLKIN, &params); in rcar_du_crtc_set_display_timing()
172 rcar_du_escr_divider(struct clk *clk, unsigned long target, u32 escr, struct du_clk_params *params) rcar_du_escr_divider() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dsma1303.c982 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in sma1303_dai_hw_params_amp()
990 bclk = params_rate(params) * sma1303->frame_size; in sma1303_dai_hw_params_amp()
992 bclk = params_rate(params) * params_physical_width(params) in sma1303_dai_hw_params_amp()
993 * params_channels(params); in sma1303_dai_hw_params_amp()
997 __func__, params_rate(params), params_width(params), in sma1303_dai_hw_params_amp()
998 params_channels(params)); in sma1303_dai_hw_params_amp()
1008 switch (params_rate(params)) { in sma1303_dai_hw_params_amp()
1046 __func__, params_rate(params)); in sma1303_dai_hw_params_amp()
981 sma1303_dai_hw_params_amp(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) sma1303_dai_hw_params_amp() argument
[all...]
H A Dtlv320aic31xx.c857 struct snd_pcm_hw_params *params) in aic31xx_setup_pll()
860 int bclk_score = snd_soc_params_to_frame_size(params); in aic31xx_setup_pll()
879 if (aic31xx_divs[i].rate == params_rate(params) && in aic31xx_setup_pll()
882 snd_soc_params_to_frame_size(params); in aic31xx_setup_pll()
884 snd_soc_params_to_frame_size(params); in aic31xx_setup_pll()
896 __func__, params_rate(params)); in aic31xx_setup_pll()
963 struct snd_pcm_hw_params *params, in aic31xx_hw_params()
971 __func__, params_width(params), in aic31xx_hw_params()
972 params_rate(params)); in aic31xx_hw_params()
974 switch (params_width(params)) { in aic31xx_hw_params()
856 aic31xx_setup_pll(struct snd_soc_component *component, struct snd_pcm_hw_params *params) aic31xx_setup_pll() argument
962 aic31xx_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) aic31xx_hw_params() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/sunxi/
H A Dsun4i-codec.c398 static unsigned long sun4i_codec_get_mod_freq(struct snd_pcm_hw_params *params) in sun4i_codec_get_mod_freq() argument
400 unsigned int rate = params_rate(params); in sun4i_codec_get_mod_freq()
428 static int sun4i_codec_get_hw_rate(struct snd_pcm_hw_params *params) in sun4i_codec_get_hw_rate() argument
430 unsigned int rate = params_rate(params); in sun4i_codec_get_hw_rate()
471 struct snd_pcm_hw_params *params, in sun4i_codec_hw_params_capture()
480 if (params_channels(params) == 1) in sun4i_codec_hw_params_capture()
488 if (hw_param_interval(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS)->min == 32) { in sun4i_codec_hw_params_capture()
511 struct snd_pcm_hw_params *params, in sun4i_codec_hw_params_playback()
522 if (params_channels(params) == 1) in sun4i_codec_hw_params_playback()
532 if (hw_param_interval(params, SNDRV_PCM_HW_PARAM_SAMPLE_BIT in sun4i_codec_hw_params_playback()
470 sun4i_codec_hw_params_capture(struct sun4i_codec *scodec, struct snd_pcm_hw_params *params, unsigned int hwrate) sun4i_codec_hw_params_capture() argument
510 sun4i_codec_hw_params_playback(struct sun4i_codec *scodec, struct snd_pcm_hw_params *params, unsigned int hwrate) sun4i_codec_hw_params_playback() argument
555 sun4i_codec_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) sun4i_codec_hw_params() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c425 struct iface_combination_params params = { in brcmf_vif_change_validate() local
431 params.iftype_num[new_type]++; in brcmf_vif_change_validate()
435 params.iftype_num[pos->wdev.iftype]++; in brcmf_vif_change_validate()
439 ret = cfg80211_check_combinations(cfg->wiphy, &params); in brcmf_vif_change_validate()
448 struct iface_combination_params params = { in brcmf_vif_add_validate() local
453 params.iftype_num[pos->wdev.iftype]++; in brcmf_vif_add_validate()
455 params.iftype_num[new_type]++; in brcmf_vif_add_validate()
456 return cfg80211_check_combinations(cfg->wiphy, &params); in brcmf_vif_add_validate()
555 * @params: contains mac address for AP device.
559 struct vif_params *params) in brcmf_ap_add_vif()
558 brcmf_ap_add_vif(struct wiphy *wiphy, const char *name, struct vif_params *params) brcmf_ap_add_vif() argument
706 brcmf_cfg80211_add_iface(struct wiphy *wiphy, const char *name, unsigned char name_assign_type, enum nl80211_iftype type, struct vif_params *params) brcmf_cfg80211_add_iface() argument
932 brcmf_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev, enum nl80211_iftype type, struct vif_params *params) brcmf_cfg80211_change_iface() argument
1108 struct brcmf_escan_params_le *params; brcmf_run_escan() local
1434 brcmf_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *ndev, struct cfg80211_ibss_params *params) brcmf_cfg80211_join_ibss() argument
2429 brcmf_cfg80211_add_key(struct wiphy *wiphy, struct net_device *ndev, u8 key_idx, bool pairwise, const u8 *mac_addr, struct key_params *params) brcmf_cfg80211_add_key() argument
2551 brcmf_cfg80211_get_key(struct wiphy *wiphy, struct net_device *ndev, u8 key_idx, bool pairwise, const u8 *mac_addr, void *cookie, void (*callback)(void *cookie, struct key_params *params)) brcmf_cfg80211_get_key() argument
2557 struct key_params params; brcmf_cfg80211_get_key() local
5023 brcmf_cfg80211_del_station(struct wiphy *wiphy, struct net_device *ndev, struct station_del_parameters *params) brcmf_cfg80211_del_station() argument
5055 brcmf_cfg80211_change_station(struct wiphy *wiphy, struct net_device *ndev, const u8 *mac, struct station_parameters *params) brcmf_cfg80211_change_station() argument
5099 brcmf_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, struct cfg80211_mgmt_tx_params *params, u64 *cookie) brcmf_cfg80211_mgmt_tx() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Datomisp_ioctl.c1021 atomisp_css_get_dvs_grid_info(&asd->params.curr_grid_info); in atomisp_alloc_css_stat_bufs()
1025 asd->params.curr_grid_info.s3a_grid.enable) { in atomisp_alloc_css_stat_bufs()
1401 asd->params.offline_parm.num_captures == 1) { in atomisp_qbuf()
1408 asd->params.offline_parm.num_captures, in atomisp_qbuf()
1409 asd->params.offline_parm.skip_frames, in atomisp_qbuf()
1410 asd->params.offline_parm.offset); in atomisp_qbuf()
1854 asd->params.offline_parm.num_captures, in atomisp_streamon()
1855 asd->params.offline_parm.skip_frames, in atomisp_streamon()
1856 asd->params.offline_parm.offset); in atomisp_streamon()
1882 if (asd->params in atomisp_streamon()
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-iocost.c330 /* io.cost.qos params */
411 struct ioc_params params; member
764 /* latency Qos params changed, update period_us and all the dependent params */
772 if (ioc->params.qos[QOS_RLAT] >= ioc->params.qos[QOS_WLAT]) { in ioc_refresh_period_us()
773 ppm = ioc->params.qos[QOS_RPPM]; in ioc_refresh_period_us()
774 lat = ioc->params.qos[QOS_RLAT]; in ioc_refresh_period_us()
776 ppm = ioc->params.qos[QOS_WPPM]; in ioc_refresh_period_us()
777 lat = ioc->params in ioc_refresh_period_us()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dwmi.c2194 struct scan_req_params *params) in ath11k_wmi_send_scan_start_cmd()
2212 if (params->num_chan) in ath11k_wmi_send_scan_start_cmd()
2213 len += params->num_chan * sizeof(u32); in ath11k_wmi_send_scan_start_cmd()
2216 if (params->num_ssids) in ath11k_wmi_send_scan_start_cmd()
2217 len += params->num_ssids * sizeof(*ssid); in ath11k_wmi_send_scan_start_cmd()
2220 if (params->num_bssid) in ath11k_wmi_send_scan_start_cmd()
2221 len += sizeof(*bssid) * params->num_bssid; in ath11k_wmi_send_scan_start_cmd()
2224 if (params->extraie.len && params->extraie.len <= 0xFFFF) in ath11k_wmi_send_scan_start_cmd()
2226 roundup(params in ath11k_wmi_send_scan_start_cmd()
2193 ath11k_wmi_send_scan_start_cmd(struct ath11k *ar, struct scan_req_params *params) ath11k_wmi_send_scan_start_cmd() argument
3168 ath11k_wmi_send_twt_enable_cmd(struct ath11k *ar, u32 pdev_id, struct wmi_twt_enable_params *params) ath11k_wmi_send_twt_enable_cmd() argument
3252 ath11k_wmi_send_twt_add_dialog_cmd(struct ath11k *ar, struct wmi_twt_add_dialog_params *params) ath11k_wmi_send_twt_add_dialog_cmd() argument
3306 ath11k_wmi_send_twt_del_dialog_cmd(struct ath11k *ar, struct wmi_twt_del_dialog_params *params) ath11k_wmi_send_twt_del_dialog_cmd() argument
3345 ath11k_wmi_send_twt_pause_dialog_cmd(struct ath11k *ar, struct wmi_twt_pause_dialog_params *params) ath11k_wmi_send_twt_pause_dialog_cmd() argument
3385 ath11k_wmi_send_twt_resume_dialog_cmd(struct ath11k *ar, struct wmi_twt_resume_dialog_params *params) ath11k_wmi_send_twt_resume_dialog_cmd() argument
[all...]
/kernel/linux/linux-6.6/net/bluetooth/
H A Dhci_sync.c2174 * Setting params to NULL programs local hdev->irk
2177 struct conn_params *params) in hci_le_add_resolve_list_sync()
2187 /* Attempt to program local identity address, type and irk if params is in hci_le_add_resolve_list_sync()
2190 if (!params) { in hci_le_add_resolve_list_sync()
2199 irk = hci_find_irk_by_addr(hdev, &params->addr, params->addr_type); in hci_le_add_resolve_list_sync()
2205 &params->addr, in hci_le_add_resolve_list_sync()
2206 params->addr_type); in hci_le_add_resolve_list_sync()
2210 cp.bdaddr_type = params->addr_type; in hci_le_add_resolve_list_sync()
2211 bacpy(&cp.bdaddr, &params in hci_le_add_resolve_list_sync()
2176 hci_le_add_resolve_list_sync(struct hci_dev *hdev, struct conn_params *params) hci_le_add_resolve_list_sync() argument
2238 hci_le_set_privacy_mode_sync(struct hci_dev *hdev, struct conn_params *params) hci_le_set_privacy_mode_sync() argument
2274 hci_le_add_accept_list_sync(struct hci_dev *hdev, struct conn_params *params, u8 *num_entries) hci_le_add_accept_list_sync() argument
2478 struct hci_conn_params *params; conn_params_copy() local
2541 struct conn_params *params; hci_update_accept_list_sync() local
6270 struct hci_conn_params *params; hci_le_create_conn_sync() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dsecurity_session_wrapper_impl.cpp60 constexpr char OCCUPIED_AREA_CHANGE_KEY[] = "ability.want.params.IsNotifyOccupiedAreaChange";
206 taskExecutor = taskExecutor_, callSessionId](const AAFwk::WantParams& params) { in InitAllCallback()
208 [weak, params, callSessionId]() { in InitAllCallback()
217 pattern->FireOnReceiveCallback(params); in InitAllCallback()
578 const std::vector<std::string>& params, std::vector<std::string>& info) in TransferAccessibilityDumpChildInfo()
674 void SecuritySessionWrapperImpl::SendDataAsync(const AAFwk::WantParams& params) const in SendDataAsync()
679 session_->TransferComponentData(params); in SendDataAsync()
699 void SecuritySessionWrapperImpl::NotifyUieDump(const std::vector<std::string>& params, std::vector<std::string>& info) in NotifyUieDump() argument
702 session_->NotifyDumpInfo(params, info); in NotifyUieDump()
577 TransferAccessibilityDumpChildInfo( const std::vector<std::string>& params, std::vector<std::string>& info) TransferAccessibilityDumpChildInfo() argument
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dasset_loader.cpp362 const auto params = PathUtil::GetUriParameters(src_); in LoadJsonEntityCollection() local
363 const auto targetParam = params.find("target"); in LoadJsonEntityCollection()
364 string entityTarget = (targetParam != params.cend()) ? targetParam->second : ""; in LoadJsonEntityCollection()
555 const auto params = PathUtil::GetUriParameters(src_); in GltfImportFinished() local
556 const auto rootParam = params.find("root"); in GltfImportFinished()
557 string entityPath = (rootParam != params.cend()) ? rootParam->second : ""; in GltfImportFinished()
559 const auto targetParam = params.find("target"); in GltfImportFinished()
560 string entityTarget = (targetParam != params.cend()) ? targetParam->second : ""; in GltfImportFinished()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_render_node_drawable_adapter.cpp25 #include "params/rs_canvas_drawing_render_params.h"
26 #include "params/rs_display_render_params.h"
27 #include "params/rs_effect_render_params.h"
28 #include "params/rs_surface_render_params.h"
404 Drawing::Canvas& canvas, const RSRenderParams& params) in DrawBackgroundWithoutFilterAndEffect()
411 auto bounds = params.GetBounds(); in DrawBackgroundWithoutFilterAndEffect()
415 if (!params.GetShadowRect().IsEmpty()) { in DrawBackgroundWithoutFilterAndEffect()
416 auto shadowRect = params.GetShadowRect(); in DrawBackgroundWithoutFilterAndEffect()
460 Drawing::Canvas& canvas, const RSRenderParams& params) in CheckShadowRectAndDrawBackground()
463 if (!params in CheckShadowRectAndDrawBackground()
403 DrawBackgroundWithoutFilterAndEffect( Drawing::Canvas& canvas, const RSRenderParams& params) DrawBackgroundWithoutFilterAndEffect() argument
459 CheckShadowRectAndDrawBackground( Drawing::Canvas& canvas, const RSRenderParams& params) CheckShadowRectAndDrawBackground() argument
[all...]
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_auth_manager_third.cpp324 std::string params = "12345"; in HWTEST_F() local
328 int32_t ret = authManager_->OnUserOperation(action, params); in HWTEST_F()
336 std::string params = "12345"; in HWTEST_F() local
340 int32_t ret = authManager_->OnUserOperation(action, params); in HWTEST_F()
348 std::string params = "12345"; in HWTEST_F() local
352 int32_t ret = authManager_->OnUserOperation(action, params); in HWTEST_F()
360 std::string params = "12345"; in HWTEST_F() local
364 int32_t ret = authManager_->OnUserOperation(action, params); in HWTEST_F()
/kernel/linux/linux-5.10/include/net/
H A Dbonding.h50 #define BOND_MODE(bond) ((bond)->params.mode)
242 struct bond_params params; member
311 return (bond_is_lb(bond) && bond->params.tlb_dynamic_lb == 0); in bond_is_nondyn_tlb()
488 return bond->params.arp_validate & (1 << bond_slave_state(slave)); in slave_do_arp_validate()
493 return bond->params.arp_validate & BOND_ARP_FILTER; in slave_do_arp_validate_only()
510 for (; (i < BOND_MAX_ARP_TARGETS) && bond->params.arp_targets[i]; i++) in slave_oldest_target_arp_rx()
520 if (bond->params.arp_all_targets == BOND_ARP_TARGETS_ALL) in slave_last_rx()
546 if (!slave->bond->params.all_slaves_active) in bond_set_slave_inactive_flags()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dadav80x.c453 struct snd_soc_dai *dai, struct snd_pcm_hw_params *params) in adav80x_set_capture_pcm_format()
458 switch (params_width(params)) { in adav80x_set_capture_pcm_format()
482 struct snd_soc_dai *dai, struct snd_pcm_hw_params *params) in adav80x_set_playback_pcm_format()
490 switch (params_width(params)) { in adav80x_set_playback_pcm_format()
514 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in adav80x_hw_params()
518 unsigned int rate = params_rate(params); in adav80x_hw_params()
524 adav80x_set_playback_pcm_format(component, dai, params); in adav80x_hw_params()
527 adav80x_set_capture_pcm_format(component, dai, params); in adav80x_hw_params()
452 adav80x_set_capture_pcm_format(struct snd_soc_component *component, struct snd_soc_dai *dai, struct snd_pcm_hw_params *params) adav80x_set_capture_pcm_format() argument
481 adav80x_set_playback_pcm_format(struct snd_soc_component *component, struct snd_soc_dai *dai, struct snd_pcm_hw_params *params) adav80x_set_playback_pcm_format() argument
513 adav80x_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) adav80x_hw_params() argument
/kernel/linux/linux-5.10/sound/isa/sb/
H A Dsb8_main.c62 static int snd_sb8_hw_constraint_rate_channels(struct snd_pcm_hw_params *params, in snd_sb8_hw_constraint_rate_channels() argument
65 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_sb8_hw_constraint_rate_channels()
68 int err = snd_interval_ratnum(hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE), in snd_sb8_hw_constraint_rate_channels()
71 params->rate_num = num; in snd_sb8_hw_constraint_rate_channels()
72 params->rate_den = den; in snd_sb8_hw_constraint_rate_channels()
79 static int snd_sb8_hw_constraint_channels_rate(struct snd_pcm_hw_params *params, in snd_sb8_hw_constraint_channels_rate() argument
82 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in snd_sb8_hw_constraint_channels_rate()
85 return snd_interval_refine(hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS), &t); in snd_sb8_hw_constraint_channels_rate()
/kernel/linux/linux-5.10/sound/isa/msnd/
H A Dmsnd.c494 struct snd_pcm_hw_params *params) in snd_msnd_playback_hw_params()
500 chip->play_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_playback_hw_params()
501 chip->play_channels = params_channels(params); in snd_msnd_playback_hw_params()
502 chip->play_sample_rate = params_rate(params); in snd_msnd_playback_hw_params()
639 struct snd_pcm_hw_params *params) in snd_msnd_capture_hw_params()
645 chip->capture_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_capture_hw_params()
646 chip->capture_channels = params_channels(params); in snd_msnd_capture_hw_params()
647 chip->capture_sample_rate = params_rate(params); in snd_msnd_capture_hw_params()
493 snd_msnd_playback_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) snd_msnd_playback_hw_params() argument
638 snd_msnd_capture_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) snd_msnd_capture_hw_params() argument
/kernel/linux/linux-5.10/fs/btrfs/
H A Dzstd.c34 ZSTD_parameters params = ZSTD_getParams(level, src_len, 0); in zstd_get_btrfs_parameters() local
36 if (params.cParams.windowLog > ZSTD_BTRFS_MAX_WINDOWLOG) in zstd_get_btrfs_parameters()
37 params.cParams.windowLog = ZSTD_BTRFS_MAX_WINDOWLOG; in zstd_get_btrfs_parameters()
39 return params; in zstd_get_btrfs_parameters()
158 ZSTD_parameters params = in zstd_calc_ws_mem_sizes() local
162 ZSTD_CStreamWorkspaceBound(params.cParams), in zstd_calc_ws_mem_sizes()
384 ZSTD_parameters params = zstd_get_btrfs_parameters(workspace->req_level, in zstd_compress_pages() local
392 stream = ZSTD_initCStream(params, len, workspace->mem, in zstd_compress_pages()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dzstd.c34 zstd_parameters params = zstd_get_params(level, src_len); in zstd_get_btrfs_parameters() local
36 if (params.cParams.windowLog > ZSTD_BTRFS_MAX_WINDOWLOG) in zstd_get_btrfs_parameters()
37 params.cParams.windowLog = ZSTD_BTRFS_MAX_WINDOWLOG; in zstd_get_btrfs_parameters()
39 return params; in zstd_get_btrfs_parameters()
162 zstd_parameters params = in zstd_calc_ws_mem_sizes() local
166 zstd_cstream_workspace_bound(&params.cParams), in zstd_calc_ws_mem_sizes()
388 zstd_parameters params = zstd_get_btrfs_parameters(workspace->req_level, in zstd_compress_pages() local
396 stream = zstd_init_cstream(&params, len, workspace->mem, in zstd_compress_pages()

Completed in 50 milliseconds

1...<<81828384858687888990>>...226