Home
last modified time | relevance | path

Searched refs:ret (Results 2026 - 2050 of 49077) sorted by relevance

1...<<81828384858687888990>>...1964

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
H A D3-2.c49 * UNRESOLVED(ret, descr);
50 * where descr is a description of the error and ret is an int
101 int ret, status; in threaded() local
105 ret = pthread_mutex_lock(&mtx); in threaded()
107 if (ret != 0) { in threaded()
108 UNRESOLVED(ret, "Failed to lock mutex"); in threaded()
111 ret = pthread_mutex_unlock(&mtx); in threaded()
113 if (ret != 0) { in threaded()
114 UNRESOLVED(ret, "Failed to unlock mutex"); in threaded()
164 int ret, in main() local
[all...]
/kernel/linux/linux-5.10/drivers/firmware/
H A Dti_sci.c300 int ret; in ti_sci_get_one_xfer() local
315 ret = down_timeout(&minfo->sem_xfer_count, timeout); in ti_sci_get_one_xfer()
316 if (ret < 0) in ti_sci_get_one_xfer()
317 return ERR_PTR(ret); in ti_sci_get_one_xfer()
393 int ret; in ti_sci_do_xfer() local
397 ret = mbox_send_message(info->chan_tx, &xfer->tx_message); in ti_sci_do_xfer()
398 if (ret < 0) in ti_sci_do_xfer()
399 return ret; in ti_sci_do_xfer()
401 ret = 0; in ti_sci_do_xfer()
408 ret in ti_sci_do_xfer()
436 int ret; ti_sci_cmd_get_revision() local
497 int ret = 0; ti_sci_set_device_state() local
555 int ret = 0; ti_sci_get_device_state() local
740 int ret; ti_sci_cmd_dev_is_idle() local
767 int ret; ti_sci_cmd_dev_is_stop() local
798 int ret; ti_sci_cmd_dev_is_on() local
828 int ret; ti_sci_cmd_dev_is_trans() local
860 int ret = 0; ti_sci_cmd_set_device_resets() local
935 int ret = 0; ti_sci_set_clock_state() local
1000 int ret = 0; ti_sci_cmd_get_clock_state() local
1136 int ret; ti_sci_cmd_clk_is_auto() local
1165 int ret; ti_sci_cmd_clk_is_on() local
1198 int ret; ti_sci_cmd_clk_is_off() local
1234 int ret = 0; ti_sci_cmd_clk_set_parent() local
1302 int ret = 0; ti_sci_cmd_clk_get_parent() local
1372 int ret = 0; ti_sci_cmd_clk_get_num_parents() local
1451 int ret = 0; ti_sci_cmd_clk_get_match_freq() local
1527 int ret = 0; ti_sci_cmd_clk_set_freq() local
1592 int ret = 0; ti_sci_cmd_clk_get_freq() local
1645 int ret = 0; ti_sci_cmd_core_reboot() local
1707 int ret = 0; ti_sci_get_resource_range() local
1827 int ret = 0; ti_sci_manage_irq() local
2065 int ret = 0; ti_sci_cmd_ring_config() local
2134 int ret = 0; ti_sci_cmd_ring_get_config() local
2204 int ret = 0; ti_sci_cmd_rm_psil_pair() local
2260 int ret = 0; ti_sci_cmd_rm_psil_unpair() local
2317 int ret = 0; ti_sci_cmd_rm_udmap_tx_ch_cfg() local
2387 int ret = 0; ti_sci_cmd_rm_udmap_rx_ch_cfg() local
2456 int ret = 0; ti_sci_cmd_rm_udmap_rx_flow_cfg() local
2526 int ret = 0; ti_sci_cmd_proc_request() local
2578 int ret = 0; ti_sci_cmd_proc_release() local
2633 int ret = 0; ti_sci_cmd_proc_handover() local
2691 int ret = 0; ti_sci_cmd_proc_set_config() local
2752 int ret = 0; ti_sci_cmd_proc_set_control() local
2807 int ret = 0; ti_sci_cmd_proc_get_status() local
3012 int ret; devm_ti_sci_release() local
3217 int i, ret; devm_ti_sci_get_resource_sets() local
3365 int ret = -EINVAL; ti_sci_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dg762.c200 int ret = 0; in g762_update_client() local
207 ret = i2c_smbus_read_byte_data(client, G762_REG_SET_CNT); in g762_update_client()
208 if (ret < 0) in g762_update_client()
210 data->set_cnt = ret; in g762_update_client()
212 ret = i2c_smbus_read_byte_data(client, G762_REG_ACT_CNT); in g762_update_client()
213 if (ret < 0) in g762_update_client()
215 data->act_cnt = ret; in g762_update_client()
217 ret = i2c_smbus_read_byte_data(client, G762_REG_FAN_STA); in g762_update_client()
218 if (ret < 0) in g762_update_client()
220 data->fan_sta = ret; in g762_update_client()
274 int ret; do_set_pwm_mode() local
304 int ret; do_set_fan_div() local
344 int ret; do_set_fan_gear_mode() local
380 int ret; do_set_fan_pulses() local
410 int ret; do_set_pwm_enable() local
451 int ret; do_set_pwm_polarity() local
485 int ret; do_set_pwm() local
505 int ret; do_set_fan_target() local
527 int ret; do_set_fan_startv() local
596 int ret; g762_of_clock_enable() local
640 int ret; g762_of_prop_import_one() local
656 int ret; g762_of_prop_import() local
695 int ret; g762_pdata_prop_import() local
766 int ret; pwm1_mode_store() local
797 int ret; fan1_div_store() local
829 int ret; fan1_pulses_store() local
872 int ret; pwm1_enable_store() local
904 int ret; pwm1_store() local
951 int ret; fan1_target_store() local
1041 int ret; g762_probe() local
[all...]
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-compress.c30 int i, ret; in soc_compr_components_open() local
37 ret = component->driver->compress_ops->open(component, cstream); in soc_compr_components_open()
38 if (ret < 0) { in soc_compr_components_open()
41 component->name, ret); in soc_compr_components_open()
44 return ret; in soc_compr_components_open()
78 int ret; in soc_compr_open() local
80 ret = snd_soc_pcm_component_pm_runtime_get(rtd, cstream); in soc_compr_open()
81 if (ret < 0) in soc_compr_open()
86 ret = snd_soc_dai_compr_startup(cpu_dai, cstream); in soc_compr_open()
87 if (ret < in soc_compr_open()
126 int ret; soc_compr_open_fe() local
239 int stream, ret; soc_compr_free_fe() local
286 int i, ret; soc_compr_components_trigger() local
307 int ret; soc_compr_trigger() local
337 int ret, stream; soc_compr_trigger_fe() local
388 int i, ret; soc_compr_components_set_params() local
409 int ret; soc_compr_set_params() local
459 int ret, stream; soc_compr_set_params_fe() local
513 int i, ret = 0; soc_compr_get_params() local
541 int i, ret = 0; soc_compr_get_caps() local
564 int i, ret = 0; soc_compr_get_codec_caps() local
587 int i, ret = 0; soc_compr_ack() local
616 int i, ret = 0; soc_compr_pointer() local
644 int i, ret = 0; soc_compr_copy() local
668 int i, ret; soc_compr_set_metadata() local
694 int i, ret; soc_compr_get_metadata() local
758 int ret = 0, direction = 0; snd_soc_new_compress() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
H A Daz6007.c103 int ret; in __az6007_read() local
105 ret = usb_control_msg(udev, in __az6007_read()
110 if (ret < 0) { in __az6007_read()
111 pr_warn("usb read operation failed. (%d)\n", ret); in __az6007_read()
122 return ret; in __az6007_read()
129 int ret; in az6007_read() local
134 ret = __az6007_read(d->udev, req, value, index, b, blen); in az6007_read()
138 return ret; in az6007_read()
144 int ret; in __az6007_write() local
159 ret in __az6007_write()
176 int ret; az6007_write() local
255 int ret; az6007_ci_read_attribute_mem() local
297 int ret; az6007_ci_write_attribute_mem() local
328 int ret; az6007_ci_read_cam_control() local
374 int ret; az6007_ci_write_cam_control() local
404 int ret; CI_CamReady() local
436 int ret, i; az6007_ci_slot_reset() local
492 int ret; az6007_ci_slot_ts_enable() local
520 int ret; az6007_ci_poll_slot_status() local
581 int ret; az6007_ci_init() local
616 int ret; az6007_read_mac_addr() local
692 int ret; az6007_power_ctrl() local
749 int ret = 0; az6007_i2c_xfer() local
848 int ret; az6007_identify_state() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/
H A Daz6007.c103 int ret; in __az6007_read() local
105 ret = usb_control_msg(udev, in __az6007_read()
110 if (ret < 0) { in __az6007_read()
111 pr_warn("usb read operation failed. (%d)\n", ret); in __az6007_read()
122 return ret; in __az6007_read()
129 int ret; in az6007_read() local
134 ret = __az6007_read(d->udev, req, value, index, b, blen); in az6007_read()
138 return ret; in az6007_read()
144 int ret; in __az6007_write() local
159 ret in __az6007_write()
176 int ret; az6007_write() local
255 int ret; az6007_ci_read_attribute_mem() local
297 int ret; az6007_ci_write_attribute_mem() local
328 int ret; az6007_ci_read_cam_control() local
374 int ret; az6007_ci_write_cam_control() local
404 int ret; CI_CamReady() local
436 int ret, i; az6007_ci_slot_reset() local
492 int ret; az6007_ci_slot_ts_enable() local
520 int ret; az6007_ci_poll_slot_status() local
581 int ret; az6007_ci_init() local
616 int ret; az6007_read_mac_addr() local
692 int ret; az6007_power_ctrl() local
749 int ret = 0; az6007_i2c_xfer() local
848 int ret; az6007_identify_state() local
[all...]
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dab8500_charger.c355 int ret; in ab8500_enable_disable_sw_fallback() local
370 ret = abx500_get_register_interruptible(di->dev, bank, reg, &val); in ab8500_enable_disable_sw_fallback()
371 if (ret < 0) { in ab8500_enable_disable_sw_fallback()
378 ret = abx500_set_register_interruptible(di->dev, 0x11, 0x00, 0x2); in ab8500_enable_disable_sw_fallback()
379 if (ret) { in ab8500_enable_disable_sw_fallback()
391 ret = abx500_set_register_interruptible(di->dev, bank, reg, val); in ab8500_enable_disable_sw_fallback()
392 if (ret) { in ab8500_enable_disable_sw_fallback()
399 ret = abx500_set_register_interruptible(di->dev, 0x11, 0x00, 0x0); in ab8500_enable_disable_sw_fallback()
400 if (ret) { in ab8500_enable_disable_sw_fallback()
484 int vch, ret; in ab8500_charger_get_ac_voltage() local
506 int ret = 0; ab8500_charger_ac_cv() local
535 int vch, ret; ab8500_charger_get_vbus_voltage() local
557 int ich, ret; ab8500_charger_get_usb_current() local
579 int ich, ret; ab8500_charger_get_ac_current() local
600 int ret; ab8500_charger_usb_cv() local
643 int ret; ab8500_charger_detect_chargers() local
695 int ret = 0; ab8500_charger_max_usb_curr() local
826 int ret; ab8500_charger_read_usb_type() local
866 int i, ret; ab8500_charger_detect_usb_type() local
1077 int ret = 0; ab8500_charger_get_usb_cur() local
1137 int ret = 0; ab8500_charger_set_current() local
1259 int ret; ab8500_charger_set_vbus_in_curr() local
1332 int ret; ab8500_charger_led_en() local
1378 int ret; ab8500_charger_ac_en() local
1555 int ret; ab8500_charger_usb_en() local
1704 int ret; ab8500_external_charger_prepare() local
1737 int ret = 0; ab8500_charger_usb_check_enable() local
1786 int ret = 0; ab8500_charger_ac_check_enable() local
1832 int ret; ab8500_charger_watchdog_kick() local
1860 int ret; ab8500_charger_update_charger_current() local
1895 union power_supply_propval ret; ab8500_charger_get_ext_psy_data() local
1990 int ret; ab8500_charger_check_hw_failure_work() local
2045 int ret; ab8500_charger_kick_watchdog_work() local
2068 int ret; ab8500_charger_ac_work() local
2099 int ret, i; ab8500_charger_usb_attached_work() local
2138 int ret, i; ab8500_charger_ac_attached_work() local
2179 int ret; ab8500_charger_detect_usb_type_work() local
2241 int ret; ab8500_charger_usb_link_attach_work() local
2264 int ret; ab8500_charger_usb_link_status_work() local
2393 int ret; ab8500_charger_usb_state_changed_work() local
2460 int ret; ab8500_charger_check_usbchargernotok_work() local
2499 int ret; ab8500_charger_check_main_thermal_prot_work() local
2529 int ret; ab8500_charger_check_usb_thermal_prot_work() local
2658 int ret, curr; ab8500_charger_vbus_drop_end_work() local
2903 int ret; ab8500_charger_ac_get_property() local
2970 int ret; ab8500_charger_usb_get_property() local
3038 int ret = 0; ab8500_charger_init_hw_registers() local
3231 int ret; ab8500_charger_resume() local
3303 int i, irq, ret; ab8500_charger_remove() local
3372 int irq, i, charger_status, ret = 0, ch_stat; ab8500_charger_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dswitch.c102 int ret; in nvm_validate_and_write() local
104 ret = tb_nvm_validate(sw->nvm); in nvm_validate_and_write()
105 if (ret) in nvm_validate_and_write()
106 return ret; in nvm_validate_and_write()
108 ret = tb_nvm_write_headers(sw->nvm); in nvm_validate_and_write()
109 if (ret) in nvm_validate_and_write()
110 return ret; in nvm_validate_and_write()
116 ret = usb4_switch_nvm_write(sw, 0, buf, image_size); in nvm_validate_and_write()
118 ret = dma_port_flash_write(sw->dma_port, 0, buf, image_size); in nvm_validate_and_write()
119 if (ret) in nvm_validate_and_write()
128 int ret = 0; nvm_authenticate_host_dma_port() local
168 int ret, retries = 10; nvm_authenticate_device_dma_port() local
260 int ret; nvm_authenticate() local
308 int ret; nvm_read() local
331 int ret; nvm_write() local
351 int ret; tb_switch_nvm_add() local
630 int ret; __tb_port_enable() local
894 int ret; tb_port_get_link_speed() local
927 int ret; tb_port_get_link_width() local
946 int ret; tb_port_is_width_supported() local
980 int ret; tb_port_set_link_width() local
1026 int ret; tb_port_set_lane_bonding() local
1060 int ret; tb_port_lane_bonding_enable() local
1140 int ret; tb_port_wait_for_link_width() local
1169 int ret; tb_port_do_update_credits() local
1201 int ret; tb_port_update_credits() local
1211 int ret; tb_port_start_lane_initialization() local
1340 int ret; tb_dp_port_hpd_is_active() local
1359 int ret; tb_dp_port_hpd_clear() local
1386 int ret; tb_dp_port_set_hops() local
1436 int ret; tb_dp_port_enable() local
1532 int ret; tb_switch_wait_for_bit() local
1610 int ret; disapprove_switch() local
1631 int ret = -EINVAL; tb_switch_set_authorized() local
1688 ssize_t ret; authorized_store() local
1745 ssize_t ret; key_show() local
1764 ssize_t ret = count; key_store() local
1874 int val, ret; nvm_authenticate_sysfs() local
1939 int ret = nvm_authenticate_sysfs(dev, buf, false); nvm_authenticate_store() local
1955 int ret; nvm_authenticate_on_disconnect_store() local
1966 int ret; nvm_version_show() local
2266 int i, ret, depth; tb_switch_alloc() local
2420 int ret; tb_switch_configure() local
2490 int ret; tb_switch_set_uuid() local
2535 int ret; tb_switch_add_dma_port() local
2672 int ret; tb_switch_update_link_attributes() local
2713 int ret; tb_switch_lane_bonding_enable() local
2776 int ret; tb_switch_lane_bonding_disable() local
2820 int ret; tb_switch_configure_link() local
2912 int i, ret; tb_switch_add() local
3273 int ret; tb_switch_alloc_dp_resource() local
3299 int ret; tb_switch_dealloc_dp_resource() local
3449 int ret; tb_switch_pcie_bridge_write() local
3499 int ret; tb_switch_pcie_l1_enable() local
3533 int ret; tb_switch_xhci_connect() local
[all...]
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp78 ErrCode ret = notificationHelper.AddNotificationSlot(slot); in HWTEST_F() local
79 EXPECT_NE(ret, (int)ERR_ANS_INVALID_BUNDLE); in HWTEST_F()
92 ErrCode ret = notificationHelper.AddSlotByType(slotType); in HWTEST_F() local
93 EXPECT_NE(ret, (int)ERR_ANS_INVALID_BUNDLE); in HWTEST_F()
106 ErrCode ret = notificationHelper.AddNotificationSlots(slots); in HWTEST_F() local
107 EXPECT_EQ(ret, (int)ERR_ANS_INVALID_PARAM); in HWTEST_F()
120 ErrCode ret = notificationHelper.RemoveNotificationSlot(slotType); in HWTEST_F() local
121 EXPECT_NE(ret, (int)ERR_ANS_INVALID_BUNDLE); in HWTEST_F()
133 ErrCode ret = notificationHelper.RemoveAllSlots(); in HWTEST_F() local
134 EXPECT_NE(ret, (in in HWTEST_F()
148 ErrCode ret = notificationHelper.GetNotificationSlot(slotType, slot); HWTEST_F() local
162 ErrCode ret = notificationHelper.GetNotificationSlots(slots); HWTEST_F() local
177 ErrCode ret = notificationHelper.GetNotificationSlotNumAsBundle(bundleOption, num); HWTEST_F() local
191 ErrCode ret = notificationHelper.PublishNotification(request); HWTEST_F() local
206 ErrCode ret = notificationHelper.PublishNotification(label, request); HWTEST_F() local
220 ErrCode ret = notificationHelper.CancelNotification(notificationId); HWTEST_F() local
235 ErrCode ret = notificationHelper.CancelNotification(label, notificationId); HWTEST_F() local
248 ErrCode ret = notificationHelper.CancelAllNotifications(); HWTEST_F() local
264 ErrCode ret = notificationHelper.CancelAsBundle(notificationId, representativeBundle, userId); HWTEST_F() local
281 ErrCode ret = notificationHelper.CancelAsBundle(bundleOption, notificationId); HWTEST_F() local
295 ErrCode ret = notificationHelper.GetActiveNotificationNums(num); HWTEST_F() local
309 ErrCode ret = notificationHelper.GetActiveNotifications(request); HWTEST_F() local
323 ErrCode ret = notificationHelper.SetNotificationAgent(agent); HWTEST_F() local
337 ErrCode ret = notificationHelper.GetNotificationAgent(agent); HWTEST_F() local
352 ErrCode ret = notificationHelper.CanPublishNotificationAsBundle(representativeBundle, canPublish); HWTEST_F() local
367 ErrCode ret = notificationHelper.PublishNotificationAsBundle(representativeBundle, request); HWTEST_F() local
380 ErrCode ret = notificationHelper.SetNotificationBadgeNum(); HWTEST_F() local
394 ErrCode ret = notificationHelper.SetNotificationBadgeNum(num); HWTEST_F() local
408 ErrCode ret = notificationHelper.IsAllowedNotify(allowed); HWTEST_F() local
422 ErrCode ret = notificationHelper.IsAllowedNotifySelf(allowed); HWTEST_F() local
440 ErrCode ret = notificationHelper.RequestEnableNotification(deviceId, client, callerToken); HWTEST_F() local
454 ErrCode ret = notificationHelper.HasNotificationPolicyAccessPermission(hasPermission); HWTEST_F() local
468 ErrCode ret = notificationHelper.GetBundleImportance(importance); HWTEST_F() local
483 ErrCode ret = notificationHelper.RemoveNotification(key, removeReason); HWTEST_F() local
500 ErrCode ret = notificationHelper.RemoveNotification(bundleOption, notificationId, label, removeReason); HWTEST_F() local
514 ErrCode ret = notificationHelper.RemoveAllNotifications(bundleOption); HWTEST_F() local
528 ErrCode ret = notificationHelper.RemoveNotificationsByBundle(bundleOption); HWTEST_F() local
541 ErrCode ret = notificationHelper.RemoveNotifications(); HWTEST_F() local
556 ErrCode ret = notificationHelper.GetNotificationSlotsForBundle(bundleOption, slots); HWTEST_F() local
571 ErrCode ret = notificationHelper.UpdateNotificationSlots(bundleOption, slots); HWTEST_F() local
585 ErrCode ret = notificationHelper.GetAllActiveNotifications(notification); HWTEST_F() local
600 ErrCode ret = notificationHelper.GetAllActiveNotifications(key, notification); HWTEST_F() local
615 ErrCode ret = notificationHelper.IsAllowedNotify(bundleOption, allowed); HWTEST_F() local
630 ErrCode ret = notificationHelper.SetNotificationsEnabledForAllBundles(deviceId, enabled); HWTEST_F() local
645 ErrCode ret = notificationHelper.SetNotificationsEnabledForDefaultBundle(deviceId, enabled); HWTEST_F() local
660 ErrCode ret = notificationHelper.SetShowBadgeEnabledForBundle(bundleOption, enabled); HWTEST_F() local
675 ErrCode ret = notificationHelper.GetShowBadgeEnabledForBundle(bundleOption, enabled); HWTEST_F() local
689 ErrCode ret = notificationHelper.GetShowBadgeEnabled(enabled); HWTEST_F() local
703 ErrCode ret = notificationHelper.CancelGroup(groupName); HWTEST_F() local
718 ErrCode ret = notificationHelper.RemoveGroupByBundle(bundleOption, groupName); HWTEST_F() local
732 ErrCode ret = notificationHelper.SetDoNotDisturbDate(doNotDisturbDate); HWTEST_F() local
746 ErrCode ret = notificationHelper.GetDoNotDisturbDate(doNotDisturbDate); HWTEST_F() local
760 ErrCode ret = notificationHelper.DoesSupportDoNotDisturbMode(doesSupport); HWTEST_F() local
774 ErrCode ret = notificationHelper.IsDistributedEnabled(enabled); HWTEST_F() local
803 ErrCode ret = notificationHelper.EnableDistributedByBundle(bundleOption, enabled); HWTEST_F() local
817 ErrCode ret = notificationHelper.EnableDistributedSelf(enabled); HWTEST_F() local
832 ErrCode ret = notificationHelper.IsDistributedEnableByBundle(bundleOption, enabled); HWTEST_F() local
846 ErrCode ret = notificationHelper.GetDeviceRemindType(remindType); HWTEST_F() local
860 ErrCode ret = notificationHelper.PublishContinuousTaskNotification(request); HWTEST_F() local
875 ErrCode ret = notificationHelper.CancelContinuousTaskNotification(label, notificationId); HWTEST_F() local
890 ErrCode ret = notificationHelper.IsSupportTemplate(templateName, support); HWTEST_F() local
905 ErrCode ret = notificationHelper.SetNotificationsEnabledForAllBundles(userId, enabled); HWTEST_F() local
920 ErrCode ret = notificationHelper.IsSupportTemplate(templateName, support); HWTEST_F() local
935 ErrCode ret = notificationHelper.IsAllowedNotify(userId, allowed); HWTEST_F() local
950 ErrCode ret = notificationHelper.SetNotificationsEnabledForAllBundles(userId, enabled); HWTEST_F() local
964 ErrCode ret = notificationHelper.RemoveNotifications(userId); HWTEST_F() local
979 ErrCode ret = notificationHelper.SetDoNotDisturbDate(userId, doNotDisturbDate); HWTEST_F() local
994 ErrCode ret = notificationHelper.GetDoNotDisturbDate(userId, doNotDisturbDate); HWTEST_F() local
1010 ErrCode ret = notificationHelper.SetEnabledForBundleSlot(bundleOption, slotType, enabled, false); HWTEST_F() local
1026 ErrCode ret = notificationHelper.GetEnabledForBundleSlot(bundleOption, slotType, enabled); HWTEST_F() local
1056 ErrCode ret = notificationHelper.GetSyncNotificationEnabledWithoutApp(userId, enabled); HWTEST_F() local
1095 ErrCode ret = notificationHelper.GetAllNotificationEnabledBundles(bundleOption); HWTEST_F() local
1110 ErrCode ret = notificationHelper.GetActiveNotificationByFilter(filter, request); HWTEST_F() local
1123 ErrCode ret = notificationHelper.SetSmartReminderEnabled(deviceType, true); HWTEST_F() local
1136 ErrCode ret = notificationHelper.SetSmartReminderEnabled(deviceType, true); HWTEST_F() local
1150 ErrCode ret = notificationHelper.IsSmartReminderEnabled(deviceType, enable); HWTEST_F() local
1164 ErrCode ret = notificationHelper.SetBadgeNumberByBundle(bundleOption, badgeNumber); HWTEST_F() local
1180 ErrCode ret = notificationHelper.SetBadgeNumberByBundle(bundleOption, badgeNumber); HWTEST_F() local
1197 ErrCode ret = notificationHelper.SetDistributedEnabledByBundle(bundleOption, deviceType, true); HWTEST_F() local
1211 ErrCode ret = notificationHelper.SetDistributedEnabledByBundle(bundleOption, deviceType, true); HWTEST_F() local
1229 ErrCode ret = notificationHelper.IsDistributedEnabledByBundle(bundleOption, deviceType, enable); HWTEST_F() local
1246 ErrCode ret = notificationHelper.IsDistributedEnabledByBundle(bundleOption, deviceType, enable); HWTEST_F() local
1260 ErrCode ret = notificationHelper.AddDoNotDisturbProfiles(profiles); HWTEST_F() local
1274 ErrCode ret = notificationHelper.RemoveDoNotDisturbProfiles(profiles); HWTEST_F() local
1288 ErrCode ret = notificationHelper.SetTargetDeviceStatus(deviceType, status); HWTEST_F() local
1304 ErrCode ret = notificationHelper.RegisterSwingCallback(swingCbFunc); HWTEST_F() local
1320 ErrCode ret = notificationHelper.IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.c65 int ret; in cdn_dp_grf_write() local
67 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write()
68 if (ret) { in cdn_dp_grf_write()
70 return ret; in cdn_dp_grf_write()
73 ret = regmap_write(dp->grf, reg, val); in cdn_dp_grf_write()
74 if (ret) { in cdn_dp_grf_write()
75 DRM_DEV_ERROR(dp->dev, "Could not write to GRF: %d\n", ret); in cdn_dp_grf_write()
77 return ret; in cdn_dp_grf_write()
87 int ret; in cdn_dp_clk_enable() local
90 ret in cdn_dp_clk_enable()
168 int ret; cdn_dp_get_sink_count() local
260 int ret = 0; cdn_dp_connector_get_modes() local
336 int ret; cdn_dp_firmware_init() local
366 int ret; cdn_dp_get_sink_capability() local
387 int ret; cdn_dp_enable_phy() local
446 int ret; cdn_dp_disable_phy() local
464 int ret, i; cdn_dp_disable() local
495 int ret, i, lanes; cdn_dp_enable() local
592 int ret, val; cdn_dp_encoder_enable() local
651 int ret; cdn_dp_encoder_disable() local
776 int ret; cdn_dp_audio_hw_params() local
809 int ret; cdn_dp_audio_shutdown() local
826 int ret; cdn_dp_audio_mute_stream() local
878 int ret; cdn_dp_request_firmware() local
921 int ret; cdn_dp_pd_event_work() local
1013 int ret, i; cdn_dp_bind() local
1115 int ret = 0; cdn_dp_suspend() local
1148 int ret; cdn_dp_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/
H A Datomisp-ov2722.c100 int ret; in ov2722_i2c_write() local
106 ret = i2c_transfer(client->adapter, &msg, 1); in ov2722_i2c_write()
108 return ret == num_msg ? 0 : -EIO; in ov2722_i2c_write()
114 int ret; in ov2722_write_reg() local
137 ret = ov2722_i2c_write(client, len, data); in ov2722_write_reg()
138 if (ret) in ov2722_write_reg()
141 val, reg, ret); in ov2722_write_reg()
143 return ret; in ov2722_write_reg()
299 int ret; in ov2722_get_intg_factor() local
307 ret in ov2722_get_intg_factor()
399 int ret; __ov2722_set_exposure() local
467 int ret; ov2722_set_exposure() local
512 int ret; ov2722_q_exposure() local
543 int ret = 0; ov2722_g_volatile_ctrl() local
652 int ret = -1; power_ctrl() local
676 int ret = -1; gpio_ctrl() local
696 int ret; power_up() local
743 int ret = 0; power_down() local
773 int ret; ov2722_s_power() local
860 int ret = 0; startup() local
886 int ret = 0; ov2722_set_fmt() local
986 int ret; ov2722_detect() local
1021 int ret; ov2722_s_stream() local
1038 int ret = 0; ov2722_s_config() local
1217 int ret; ov2722_probe() local
[all...]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/full/
H A DIt_los_queue_019.c42 UINT32 ret; in Testcase() local
46 ret = LOS_QueueCreate("Q1", 3, &g_testQueueID01, 0, sizeof(UINTPTR)); // 3, Set the queue length. in Testcase()
47 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
49 ret = LOS_QueueWrite(g_testQueueID01, &buff1, QUEUE_SHORT_BUFFER_LENGTH, 0); in Testcase()
50 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
52 ret = LOS_QueueRead(g_testQueueID01, &buff2, QUEUE_SHORT_BUFFER_LENGTH, 0); in Testcase()
53 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXI in Testcase()
[all...]
H A DIt_los_queue_101.c42 UINT32 ret; in Testcase() local
49 ret = LOS_QueueCreate("Q1", 3, &queueID, 0, sizeof(UINTPTR)); // 3, Set the queue length. in Testcase()
50 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
52 ret = LOS_QueueWrite(queueID, &buff1, 8, 0); // 8, Write the setting size of queue buffer. in Testcase()
53 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
55 ret = memset_s(buff2, QUEUE_SHORT_BUFFER_LENGTH, 0, QUEUE_SHORT_BUFFER_LENGTH); in Testcase()
56 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXI in Testcase()
[all...]
H A DIt_los_queue_head_004.c41 UINT32 ret; in Testcase() local
48 ret = LOS_QueueCreate("Q1", 3, &g_testQueueID01, 0, sizeof(UINTPTR)); // 3, Set the queue length. in Testcase()
49 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
51 ret = LOS_QueueWrite(g_testQueueID01, &buff1, 8, 0); // 8, Write the setting size of queue buffer. in Testcase()
52 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
54 ret = LOS_QueueWriteHead(g_testQueueID01, &buff2, sizeof(UINTPTR), 0); in Testcase()
55 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXI in Testcase()
[all...]
H A DIt_los_queue_116.c42 UINT32 ret; in Testcase() local
48 ret = LOS_QueueCreate("Q1", 3, &g_testQueueID01, 0, 8); // 3, Set the queue length; 8, Set the node size of the queue. in Testcase()
49 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
51 ret = LOS_QueueWriteCopy(g_testQueueID01, &buff1, 8, 0); // 8, Incoming buffer size. in Testcase()
52 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
55 ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 0); in Testcase()
56 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXI in Testcase()
[all...]
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_200.c53 INT32 ret; in Testcase() local
55 ret = pthread_attr_init(&attr); in Testcase()
56 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, ret); in Testcase()
58 ret = pthread_attr_getstacksize(&attr, &ssize); in Testcase()
59 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, ret); in Testcase()
62 ret = pthread_attr_setstacksize(&attr, stackSize); in Testcase()
63 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, ret); in Testcase()
[all...]
H A DIt_posix_pthread_177.c42 INT32 ret; in Testcase() local
47 ret = pthread_attr_init(&attr); in Testcase()
48 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, ret); in Testcase()
50 ret = pthread_attr_getscope(&attr, &scope); in Testcase()
51 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, ret); in Testcase()
55 ret = pthread_attr_setscope(&attr, g_pthreadScopeValue); in Testcase()
56 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, ret); in Testcase()
[all...]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/
H A DIt_smp_los_task_050.c50 UINT32 ret; in Testcase() local
61 ret = LOS_TaskCreate(&g_testTaskID01, &task1); in Testcase()
62 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
66 ret = OS_TCB_FROM_TID(g_testTaskID01)->taskStatus; in Testcase()
67 ICUNIT_GOTO_NOT_EQUAL(ret & OS_TASK_STATUS_RUNNING, 0, ret, EXIT); in Testcase()
69 ret = LOS_TaskSuspend(g_testTaskID01); in Testcase()
70 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXI in Testcase()
[all...]
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/
H A DIt_posix_pthread_009.c52 UINT32 ret; in Testcase() local
58 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase()
59 ICUNIT_ASSERT_EQUAL(ret, 0, ret); in Testcase()
63 ret = pthread_join(g_taskMaxNum, (void *)&temp); in Testcase()
64 ICUNIT_ASSERT_EQUAL(ret, ESRCH, ret); in Testcase()
67 ret = pthread_join(LOSCFG_BASE_CORE_TSK_CONFIG + 1, (void *)&temp); in Testcase()
68 ICUNIT_ASSERT_EQUAL(ret, ESRCH, ret); in Testcase()
[all...]
/kernel/liteos_m/testsuites/sample/kernel/lmk/
H A DIt_los_lmk_001.c47 UINT32 ret; in TestCase() local
67 ret = LOS_LmkOpsNodeRegister(NULL); in TestCase()
68 ICUNIT_ASSERT_EQUAL(ret, LOS_ERRNO_LMK_INVALID_PARAMETER, ret); in TestCase()
70 ret = LOS_LmkOpsNodeRegister(&firstOpsNode); in TestCase()
71 ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret); in TestCase()
73 ret = LOS_LmkOpsNodeRegister(&firstOpsNode); in TestCase()
74 ICUNIT_ASSERT_EQUAL(ret, LOS_ERRNO_LMK_ALREADY_REGISTERED, ret); in TestCase()
[all...]
/kernel/liteos_m/testsuites/sample/kernel/queue/
H A DIt_los_queue_019.c37 UINT32 ret; in Testcase() local
41 ret = LOS_QueueCreate("Q1", QUEUE_BASE_NUM, &g_testQueueID01, 0, QUEUE_BASE_MSGSIZE); in Testcase()
42 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
44 ret = LOS_QueueWrite(g_testQueueID01, &buff1, QUEUE_BASE_MSGSIZE, 0); in Testcase()
45 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
47 ret = LOS_QueueRead(g_testQueueID01, &buff2, QUEUE_BASE_MSGSIZE, 0); in Testcase()
48 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXI in Testcase()
[all...]
H A DIt_los_queue_head_004.c37 UINT32 ret; in Testcase() local
44 ret = LOS_QueueCreate("Q1", QUEUE_BASE_NUM, &g_testQueueID01, 0, QUEUE_BASE_MSGSIZE); in Testcase()
45 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
47 ret = LOS_QueueWrite(g_testQueueID01, &buff1, QUEUE_BASE_MSGSIZE, 0); in Testcase()
48 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
50 ret = LOS_QueueWriteHead(g_testQueueID01, &buff2, QUEUE_BASE_MSGSIZE, 0); in Testcase()
51 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXI in Testcase()
[all...]
/kernel/liteos_m/testsuites/sample/kernel/swtmr/
H A DIt_los_swtmr_066.c48 UINT32 ret; in Testcase() local
53 ret = LOS_SwtmrCreate(TIMER_LOS_EXPIRATION1, LOS_SWTMR_MODE_ONCE, (SWTMR_PROC_FUNC)SwtmrF01, &swTmrID, in Testcase()
59 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
61 ret = LOS_SwtmrStart(swTmrID); in Testcase()
62 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase()
64 ret = LOS_SwtmrTimeGet(swTmrID, &tick); in Testcase()
65 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXI in Testcase()
[all...]
/kernel/liteos_m/testsuites/sample/posix/mutex/
H A DIt_posix_mutex_013.c54 int ret; in Testcase() local
61 ret = pthread_mutexattr_init(&ma[i]); in Testcase()
62 ICUNIT_ASSERT_EQUAL(ret, 0, ret); in Testcase()
65 ret = pthread_mutexattr_init(&ma[i]); in Testcase()
66 ICUNIT_ASSERT_EQUAL(ret, 0, ret); in Testcase()
74 ret = pthread_mutex_init(&mtx, pma[i]); in Testcase()
75 ICUNIT_ASSERT_EQUAL(ret, 0, ret); in Testcase()
[all...]
/kernel/liteos_m/testsuites/sample/posix/pthread/
H A DIt_posix_pthread_024.c44 INT32 ret; in Testcase() local
46 ret = pthread_attr_init(&attr); in Testcase()
47 ICUNIT_ASSERT_EQUAL(ret, 0, ret); in Testcase()
49 ret = pthread_attr_getstacksize(&attr, &ssize); in Testcase()
50 ICUNIT_ASSERT_EQUAL(ret, 0, ret); in Testcase()
53 ret = pthread_attr_setstacksize(&attr, stackSize); in Testcase()
54 ICUNIT_ASSERT_EQUAL(ret, 0, ret); in Testcase()
[all...]

Completed in 21 milliseconds

1...<<81828384858687888990>>...1964