Home
last modified time | relevance | path

Searched refs:old_status (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/drivers/leds/trigger/
H A Dledtrig-backlight.c23 int old_status; member
45 if (new_status == n->old_status) in fb_notifier_callback()
48 if ((n->old_status == UNBLANK) ^ n->invert) { in fb_notifier_callback()
55 n->old_status = new_status; in fb_notifier_callback()
86 if ((n->old_status == BLANK) ^ n->invert) in bl_trig_invert_store()
114 n->old_status = UNBLANK; in bl_trig_activate()
/openbmc/linux/block/
H A Dblk-pm.c199 int old_status; in blk_set_runtime_active() local
205 old_status = q->rpm_status; in blk_set_runtime_active()
211 if (old_status != RPM_ACTIVE) in blk_set_runtime_active()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_probe_helper.c562 enum drm_connector_status old_status; in drm_helper_probe_single_connector_modes() local
584 old_status = connector->status; in drm_helper_probe_single_connector_modes()
612 if (old_status != connector->status) { in drm_helper_probe_single_connector_modes()
616 drm_get_connector_status_name(old_status), in drm_helper_probe_single_connector_modes()
766 enum drm_connector_status old_status; in output_poll_execute() local
799 old_status = connector->status; in output_poll_execute()
802 if (old_status == connector_status_connected && in output_poll_execute()
827 connector->status = old_status; in output_poll_execute()
955 enum drm_connector_status old_status; in check_connector_changed() local
963 old_status = connector->status; in check_connector_changed()
[all …]
H A Ddrm_bridge_connector.c116 enum drm_connector_status old_status; in drm_bridge_connector_hpd_cb() local
119 old_status = connector->status; in drm_bridge_connector_hpd_cb()
123 if (old_status == status) in drm_bridge_connector_hpd_cb()
/openbmc/linux/drivers/power/supply/
H A Dwm97xx_battery.c99 int old_status = bat_status; in wm97xx_bat_update() local
109 if (old_status != bat_status) { in wm97xx_bat_update()
110 pr_debug("%s: %i -> %i\n", bat_ps->desc->name, old_status, in wm97xx_bat_update()
H A Daxp20x_usb_power.c73 unsigned int old_status; member
115 if (val != power->old_status) in axp20x_usb_power_poll_vbus()
118 power->old_status = val; in axp20x_usb_power_poll_vbus()
H A Dcros_peripheral_charger.c129 int old_status = port->psy_status; in cros_pchg_get_status() local
166 if (port->psy_status != old_status || in cros_pchg_get_status()
H A Dds2782_battery.c279 int old_status = info->status; in ds278x_bat_update() local
284 if ((old_status != info->status) || (old_capacity != info->capacity)) in ds278x_bat_update()
/openbmc/linux/drivers/pcmcia/
H A Dbcm63xx_pcmcia.h44 unsigned int old_status; member
H A Dbcm63xx_pcmcia.c279 events = (stat ^ skt->old_status) & skt->requested_state.csc_mask; in bcm63xx_pcmcia_poll()
280 skt->old_status = stat; in bcm63xx_pcmcia_poll()
/openbmc/linux/drivers/vdpa/pds/
H A Dvdpa_dev.c450 u8 old_status; in pds_vdpa_set_status() local
453 old_status = pds_vdpa_get_status(vdpa_dev); in pds_vdpa_set_status()
454 dev_dbg(dev, "%s: old %#x new %#x\n", __func__, old_status, status); in pds_vdpa_set_status()
456 if (status & ~old_status & VIRTIO_CONFIG_S_DRIVER_OK) { in pds_vdpa_set_status()
458 status = old_status | VIRTIO_CONFIG_S_FAILED; in pds_vdpa_set_status()
477 if (status & ~old_status & VIRTIO_CONFIG_S_FEATURES_OK) { in pds_vdpa_set_status()
485 if (old_status & ~status & VIRTIO_CONFIG_S_DRIVER_OK) in pds_vdpa_set_status()
/openbmc/linux/drivers/tty/serial/
H A Damba-pl010.c56 unsigned int old_status; member
185 delta = status ^ uap->old_status; in pl010_modem_status()
186 uap->old_status = status; in pl010_modem_status()
308 uap->old_status = readb(port->membase + UART01x_FR) & UART01x_FR_MODEM_ANY; in pl010_startup()
H A Dsa1100.c77 unsigned int old_status; member
89 changed = status ^ sport->old_status; in sa1100_mctrl_check()
94 sport->old_status = status; in sa1100_mctrl_check()
H A Damba-pl011.c261 unsigned int old_status; member
1511 delta = status ^ uap->old_status; in pl011_modem_status()
1512 uap->old_status = status; in pl011_modem_status()
1876 uap->old_status = pl011_read(uap, REG_FR) & UART01x_FR_MODEM_ANY; in pl011_startup()
1905 uap->old_status = 0; in sbsa_uart_startup()
H A Dimx.c202 unsigned int old_status; member
786 sport->old_status |= TIOCM_CTS; in __imx_uart_rtsint()
788 sport->old_status &= ~TIOCM_CTS; in __imx_uart_rtsint()
971 changed = status ^ sport->old_status; in imx_uart_mctrl_check()
976 sport->old_status = status; in imx_uart_mctrl_check()
H A Dicom.c928 static char old_status = 0; in check_modem_status() local
937 delta_status = status ^ old_status; in check_modem_status()
952 old_status = status; in check_modem_status()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_hotplug.c267 enum drm_connector_status old_status; in intel_encoder_hotplug() local
272 old_status = connector->base.status; in intel_encoder_hotplug()
285 drm_get_connector_status_name(old_status), in intel_encoder_hotplug()
/openbmc/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c247 u32 old_status; member
383 if ((dum_hcd->old_status & in set_link_state_by_speed()
391 if ((dum_hcd->old_status & in set_link_state_by_speed()
411 if ((dum_hcd->old_status & in set_link_state_by_speed()
417 if ((dum_hcd->old_status & in set_link_state_by_speed()
458 dum_hcd->old_status & (~dum_hcd->port_status); in set_link_state()
460 (~dum_hcd->old_status) & dum_hcd->port_status; in set_link_state()
486 dum_hcd->old_status = dum_hcd->port_status; in set_link_state()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.c951 enum drm_connector_status old_status; in cdn_dp_pd_event_work() local
1015 old_status = connector->status; in cdn_dp_pd_event_work()
1017 if (old_status != connector->status) in cdn_dp_pd_event_work()
/openbmc/linux/drivers/s390/virtio/
H A Dvirtio_ccw.c953 u8 old_status = vcdev->dma_area->status; in virtio_ccw_get_status() local
961 return old_status; in virtio_ccw_get_status()
982 u8 old_status = vcdev->dma_area->status; in virtio_ccw_set_status() local
1003 vcdev->dma_area->status = old_status; in virtio_ccw_set_status()
/openbmc/linux/drivers/xen/
H A Dgntdev.c839 s16 old_status; in gntdev_copy() local
844 if (__get_user(old_status, batch->status[i])) in gntdev_copy()
847 if (old_status != GNTST_okay) in gntdev_copy()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c487 enum drm_connector_status old_status = connector->status; in nouveau_display_hpd_work() local
521 drm_get_connector_status_name(old_status), in nouveau_display_hpd_work()
/openbmc/linux/sound/pci/ctxfi/
H A Dctmixer.c657 unsigned int status, old_status; in ct_spdif_put() local
664 atc->spdif_out_get_status(atc, &old_status); in ct_spdif_put()
665 change = (old_status != status); in ct_spdif_put()
/openbmc/linux/drivers/staging/ks7010/
H A Dks_hostif.c713 unsigned int old_status = priv->connect_status; in hostif_connect_indication() local
742 is_disconnect_status(old_status)) { in hostif_connect_indication()
753 is_connect_status(old_status)) { in hostif_connect_indication()
803 unsigned int old_status = priv->connect_status; in hostif_stop_confirm() local
821 is_connect_status(old_status)) { in hostif_stop_confirm()
/openbmc/linux/sound/usb/
H A Dmixer_quirks.c560 u8 old_status, new_status; in snd_xonar_u1_switch_put() local
563 old_status = kcontrol->private_value; in snd_xonar_u1_switch_put()
565 new_status = old_status | 0x02; in snd_xonar_u1_switch_put()
567 new_status = old_status & ~0x02; in snd_xonar_u1_switch_put()
568 if (new_status == old_status) in snd_xonar_u1_switch_put()

12