Lines Matching refs:status

58 	int status = 0;
64 status = -EBUSY;
67 return status;
104 if (READ_ONCE(link->status) == DL_STATE_SUPPLIER_UNBIND) {
190 int status = 0;
204 status = -EPROTO;
208 return status;
213 int status;
215 status = san_acpi_notify_event(dev, SAN_DSM_EVENT_FN_ADP1_STAT, NULL);
216 if (status)
217 return status;
226 status = san_acpi_notify_event(dev, SAN_DSM_EVENT_FN_BAT1_STAT, NULL);
227 if (status)
228 return status;
294 int status;
298 status = san_evt_bat_bix(dev, event);
302 status = san_evt_bat_bst(dev, event);
306 status = san_evt_bat_adp(dev, event);
311 * TODO: Implement support for battery protection status change
317 status = san_evt_bat_dptf(dev, event);
324 if (status) {
382 int status;
386 status = san_evt_tmp_trip(dev, event);
393 if (status) {
435 u8 status; /* _SSH communication status. */
448 u8 status; /* GSB AttribRawProcess status. */
480 b->status = 0x00;
512 static void gsb_rqsx_response_error(struct gsb_buffer *gsb, int status)
514 gsb->status = 0x00;
516 gsb->data.out.status = (u8)(-status);
522 gsb->status = 0x00;
524 gsb->data.out.status = 0x00;
542 * we are either in laptop or studio mode (base status 0x01 or
569 int status = 0;
593 status = __ssam_retry(ssam_request_do_sync_onstack, SAN_REQUEST_NUM_TRIES,
596 if (!status) {
599 dev_err(d->dev, "rqst: failed with error %d\n", status);
600 gsb_rqsx_response_error(buffer, status);
610 int status;
623 status = san_dgpu_notifier_call(&evt);
624 if (!status) {
627 dev_err(d->dev, "rqsg: failed with error %d\n", status);
628 gsb_rqsx_response_error(buffer, status);
681 int status;
699 status = ssam_notifier_register(d->ctrl, &d->nf_bat);
700 if (status)
701 return status;
703 status = ssam_notifier_register(d->ctrl, &d->nf_tmp);
704 if (status)
707 return status;
769 acpi_status status;
771 status = acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT,
775 return status ? -EFAULT : 0;
784 int status;
790 status = san_consumer_links_setup(pdev);
791 if (status)
792 return status;
810 status = san_events_register(pdev);
811 if (status)
814 status = san_set_rqsg_interface_device(&pdev->dev);
815 if (status)
826 return status;