Home
last modified time | relevance | path

Searched refs:tmpret (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/power/supply/
Dbd70528-charger.c521 int ret = 0, tmpret; in set_charge_current() local
567 tmpret = regmap_update_bits(bdpsy->regmap, in set_charge_current()
570 if (tmpret) in set_charge_current()
572 "Charge current write failure (%d)\n", tmpret); in set_charge_current()
577 if (!tmpret) in set_charge_current()
578 tmpret = regmap_update_bits(bdpsy->regmap, in set_charge_current()
583 ret = tmpret; in set_charge_current()
594 int ret = 0, tmpret; in set_current_limit() local
631 tmpret = regmap_update_bits(bdpsy->regmap, in set_current_limit()
636 ret = tmpret; in set_current_limit()
/kernel/linux/linux-5.10/lib/
Dlinear_ranges.c190 int tmpret; in linear_range_get_selector_low_array() local
192 tmpret = linear_range_get_selector_low(&r[i], val, selector, in linear_range_get_selector_low_array()
194 if (!tmpret) in linear_range_get_selector_low_array()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-bd70528.c360 int ret, tmpret, old_states; in bd70528_set_time_locked() local
369 tmpret = regmap_bulk_read(parent->regmap, in bd70528_set_time_locked()
372 if (tmpret) { in bd70528_set_time_locked()
378 tmpret = regmap_bulk_write(parent->regmap, in bd70528_set_time_locked()
381 if (tmpret) { in bd70528_set_time_locked()
388 if (tmpret) in bd70528_set_time_locked()
389 ret = tmpret; in bd70528_set_time_locked()
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
Ddlmconvert.c360 int tmpret; in dlm_send_remote_convert_request() local
386 tmpret = o2net_send_message_vec(DLM_CONVERT_LOCK_MSG, dlm->key, in dlm_send_remote_convert_request()
388 if (tmpret >= 0) { in dlm_send_remote_convert_request()
404 "node %u\n", tmpret, DLM_CONVERT_LOCK_MSG, dlm->key, in dlm_send_remote_convert_request()
406 if (dlm_is_host_down(tmpret)) { in dlm_send_remote_convert_request()
416 ret = dlm_err_to_dlm_status(tmpret); in dlm_send_remote_convert_request()
Ddlmunlock.c317 int tmpret; in dlm_send_remote_unlock_request() local
352 tmpret = o2net_send_message_vec(DLM_UNLOCK_LOCK_MSG, dlm->key, in dlm_send_remote_unlock_request()
354 if (tmpret >= 0) { in dlm_send_remote_unlock_request()
361 "node %u\n", tmpret, DLM_UNLOCK_LOCK_MSG, dlm->key, owner); in dlm_send_remote_unlock_request()
362 if (dlm_is_host_down(tmpret)) { in dlm_send_remote_unlock_request()
376 ret = dlm_err_to_dlm_status(tmpret); in dlm_send_remote_unlock_request()
Ddlmlock.c290 int tmpret, status = 0; in dlm_send_remote_lock_request() local
301 tmpret = o2net_send_message(DLM_CREATE_LOCK_MSG, dlm->key, &create, in dlm_send_remote_lock_request()
303 if (tmpret >= 0) { in dlm_send_remote_lock_request()
316 tmpret, res->owner); in dlm_send_remote_lock_request()
317 if (dlm_is_host_down(tmpret)) in dlm_send_remote_lock_request()
320 ret = dlm_err_to_dlm_status(tmpret); in dlm_send_remote_lock_request()
Ddlmmaster.c1657 int to, tmpret; in dlm_do_assert_master() local
1687 tmpret = o2net_send_message(DLM_ASSERT_MASTER_MSG, dlm->key, in dlm_do_assert_master()
1689 if (tmpret < 0) { in dlm_do_assert_master()
1691 "0x%x) to node %u\n", tmpret, in dlm_do_assert_master()
1693 if (!dlm_is_host_down(tmpret)) { in dlm_do_assert_master()
1694 mlog(ML_ERROR, "unhandled error=%d!\n", tmpret); in dlm_do_assert_master()
1700 ret = tmpret; in dlm_do_assert_master()
Ddlmrecovery.c953 int ret, tmpret; in dlm_send_all_done_msg() local
964 sizeof(done_msg), send_to, &tmpret); in dlm_send_all_done_msg()
973 ret = tmpret; in dlm_send_all_done_msg()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-diolan-u2c.c111 int tmpret; in diolan_usb_transfer() local
113 tmpret = usb_bulk_msg(dev->usb_dev, in diolan_usb_transfer()
126 ret = tmpret; in diolan_usb_transfer()
/kernel/linux/linux-5.10/fs/ocfs2/
Daops.c1192 int tmpret; in ocfs2_write_cluster() local
1200 tmpret = ocfs2_prepare_page_for_write(inode, &p_blkno, wc, in ocfs2_write_cluster()
1204 if (tmpret) { in ocfs2_write_cluster()
1205 mlog_errno(tmpret); in ocfs2_write_cluster()
1207 ret = tmpret; in ocfs2_write_cluster()