/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_base_utils.cpp | 592 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...] |
H A D | jsi_animator_bridge.h | 112 JsiAnimatorTaskUpdate(shared_ptr<JsRuntime> runtime, const std::unordered_map<std::string, std::string>& params) in JsiAnimatorTaskUpdate() argument 113 : runtime_(runtime), params_(params) {}; in JsiAnimatorTaskUpdate() 119 shared_ptr<JsRuntime> runtime, const std::unordered_map<std::string, std::string>& params);
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | main.c | 471 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 D | sun4i-codec.c | 405 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 D | rcar_du_crtc.c | 175 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, ¶ms); in rcar_du_crtc_set_display_timing() 280 ESCR_DCLKSEL_DCLKIN, ¶ms); 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 D | virtgpu_vq.c | 496 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 D | rcar_du_crtc.c | 173 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, ¶ms); in rcar_du_crtc_set_display_timing() 260 ESCR_DCLKSEL_DCLKIN, ¶ms); 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 D | sma1303.c | 982 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 D | tlv320aic31xx.c | 857 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 D | sun4i-codec.c | 398 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...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_meter.c | 376 static int snd_pcm_meter_hw_refine_cprepare(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params) in snd_pcm_meter_hw_refine_cprepare() argument 380 err = _snd_pcm_hw_param_set_mask(params, SND_PCM_HW_PARAM_ACCESS, in snd_pcm_meter_hw_refine_cprepare() 384 params->info &= ~(SND_PCM_INFO_MMAP | SND_PCM_INFO_MMAP_VALID); in snd_pcm_meter_hw_refine_cprepare() 397 static int snd_pcm_meter_hw_refine_schange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, in snd_pcm_meter_hw_refine_schange() argument 402 err = _snd_pcm_hw_params_refine(sparams, links, params); in snd_pcm_meter_hw_refine_schange() 408 static int snd_pcm_meter_hw_refine_cchange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, in snd_pcm_meter_hw_refine_cchange() argument 413 err = _snd_pcm_hw_params_refine(params, links, sparams); in snd_pcm_meter_hw_refine_cchange() 419 static int snd_pcm_meter_hw_refine_slave(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_meter_hw_refine_slave() argument 422 return snd_pcm_hw_refine(meter->gen.slave, params); in snd_pcm_meter_hw_refine_slave() 425 static int snd_pcm_meter_hw_params_slave(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) in snd_pcm_meter_hw_params_slave() argument 431 snd_pcm_meter_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) snd_pcm_meter_hw_refine() argument 441 snd_pcm_meter_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t * params) snd_pcm_meter_hw_params() argument [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-iocost.c | 330 /* 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-5.10/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_ioctl.c | 1021 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/drivers/net/wireless/ath/ath11k/ |
H A D | wmi.c | 2194 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 D | hci_sync.c | 2174 * 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, ¶ms->addr, params->addr_type); in hci_le_add_resolve_list_sync() 2205 ¶ms->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, ¶ms 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...] |
/base/powermgr/thermal_manager/services/native/src/thermal_action/ |
H A D | thermal_action_manager.cpp | 46 thermalAction->InitParams(item->params); in Init() 119 if (!iter->params.empty()) { in DumpAction() 121 result.append("params: "); in DumpAction() 122 result.append(iter->params); in DumpAction()
|
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/ |
H A D | auth_sub_session.c | 64 LOGE("invalid params."); in StartAuthSubSession() 80 LOGE("invalid params."); in ProcessAuthSubSession() 96 LOGE("invalid params."); in SetPsk() 106 LOGE("invalid params."); in SetSelfProtectedMsg() 116 LOGE("invalid params."); in SetPeerProtectedMsg() 126 LOGE("invalid params."); in GetSessionKey() 144 int32_t CreateAuthSubSession(int32_t protocolType, void *params, bool isClient, AuthSubSession **returnObj) in CreateAuthSubSession() argument 146 if ((params == NULL) || (returnObj == NULL)) { in CreateAuthSubSession() 147 LOGE("invalid params."); in CreateAuthSubSession() 156 int32_t res = component->createProtocolFunc(params, isClien in CreateAuthSubSession() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/dialog_session/ |
H A D | dialog_session_info.cpp | 99 std::unique_ptr<AAFwk::WantParams> params(parcel.ReadParcelable<AAFwk::WantParams>()); in ReadFromParcel() 100 if (!params) { in ReadFromParcel() 104 parameters = *params; in ReadFromParcel()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_lazy_foreach_actuator.h | 37 JSRef<JSVal> params[] = { ConvertToJSValue(std::forward<T>(args))... }; in CallJSFunction() local 38 return func->Call(obj, ArraySize(params), params); in CallJSFunction()
|
/foundation/arkui/ace_engine/test/mock/core/common/ |
H A D | mock_frontend.h | 37 MOCK_METHOD(UIContentErrorCode, RunPage, (const std::string& url, const std::string& params), (override)); 38 MOCK_METHOD(void, ReplacePage, (const std::string& url, const std::string& params), (override)); 39 MOCK_METHOD(void, PushPage, (const std::string& url, const std::string& params), (override));
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | security_session_wrapper_impl.h | 84 const std::vector<std::string>& params, std::vector<std::string>& info) override; 97 void SendDataAsync(const AAFwk::WantParams& params) const override; 102 void NotifyUieDump(const std::vector<std::string>& params, std::vector<std::string>& info) override;
|
H A D | session_wrapper.h | 127 const std::vector<std::string>& params, std::vector<std::string>& info) = 0; 140 virtual void SendDataAsync(const AAFwk::WantParams& params) const = 0; 148 virtual void NotifyUieDump(const std::vector<std::string>& params, std::vector<std::string>& info) = 0;
|
H A D | session_wrapper_impl.h | 82 const std::vector<std::string>& params, std::vector<std::string>& info) override; 94 void SendDataAsync(const AAFwk::WantParams& params) const override; 102 void NotifyUieDump(const std::vector<std::string>& params, std::vector<std::string>& info) override;
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/mock/ |
H A D | mock_session_wrapper_impl.cpp | 208 const std::vector<std::string>& params, std::vector<std::string>& info) in TransferAccessibilityDumpChildInfo() 246 void SessionWrapperImpl::SendDataAsync(const AAFwk::WantParams& params) const in SendDataAsync() 264 void SessionWrapperImpl::NotifyUieDump(const std::vector<std::string>& params, std::vector<std::string>& info) in NotifyUieDump() argument 207 TransferAccessibilityDumpChildInfo( const std::vector<std::string>& params, std::vector<std::string>& info) TransferAccessibilityDumpChildInfo() argument
|
/foundation/resourceschedule/device_standby/plugins/standby_state/src/ |
H A D | sleep_state.cpp | 69 ConstraintEvalParam params{sleepState->curState_, sleepState->curPhase_, in StartPeriodlyMotionDetection() 71 params.isRepeatedDetection_ = true; in StartPeriodlyMotionDetection() 76 stateManagerPtr->StartEvalCurrentState(params); in StartPeriodlyMotionDetection()
|