Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/leds/trigger/
Dledtrig-backlight.c27 int old_status; member
49 if (new_status == n->old_status) in fb_notifier_callback()
52 if ((n->old_status == UNBLANK) ^ n->invert) { in fb_notifier_callback()
59 n->old_status = new_status; in fb_notifier_callback()
90 if ((n->old_status == BLANK) ^ n->invert) in bl_trig_invert_store()
118 n->old_status = UNBLANK; in bl_trig_activate()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_probe_helper.c397 enum drm_connector_status old_status; in drm_helper_probe_single_connector_modes() local
419 old_status = connector->status; in drm_helper_probe_single_connector_modes()
447 if (old_status != connector->status) { in drm_helper_probe_single_connector_modes()
451 drm_get_connector_status_name(old_status), in drm_helper_probe_single_connector_modes()
574 enum drm_connector_status old_status; in output_poll_execute() local
600 old_status = connector->status; in output_poll_execute()
603 if (old_status == connector_status_connected && in output_poll_execute()
610 if (old_status != connector->status) { in output_poll_execute()
627 connector->status = old_status; in output_poll_execute()
631 old = drm_get_connector_status_name(old_status); in output_poll_execute()
[all …]
/Linux-v4.19/drivers/power/supply/
Dwm97xx_battery.c102 int old_status = bat_status; in wm97xx_bat_update() local
113 if (old_status != bat_status) { in wm97xx_bat_update()
114 pr_debug("%s: %i -> %i\n", bat_ps->desc->name, old_status, in wm97xx_bat_update()
Dz2_battery.c95 int old_status = charger->bat_status; in z2_batt_update() local
108 if (old_status != charger->bat_status) { in z2_batt_update()
110 old_status, in z2_batt_update()
Dds2782_battery.c283 int old_status = info->status; in ds278x_bat_update() local
288 if ((old_status != info->status) || (old_capacity != info->capacity)) in ds278x_bat_update()
/Linux-v4.19/drivers/gpu/drm/omapdrm/
Domap_connector.c42 enum drm_connector_status old_status; in omap_connector_hpd_cb() local
45 old_status = connector->status; in omap_connector_hpd_cb()
49 if (old_status != status) in omap_connector_hpd_cb()
/Linux-v4.19/drivers/pcmcia/
Dbcm63xx_pcmcia.h44 unsigned int old_status; member
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()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_hotplug.c253 enum drm_connector_status old_status; in intel_encoder_hotplug() local
256 old_status = connector->base.status; in intel_encoder_hotplug()
261 if (old_status == connector->base.status) in intel_encoder_hotplug()
267 drm_get_connector_status_name(old_status), in intel_encoder_hotplug()
/Linux-v4.19/include/linux/
Dserial_pnx8xxx.h29 unsigned int old_status; member
/Linux-v4.19/drivers/tty/serial/
Damba-pl010.c60 unsigned int old_status; member
211 delta = status ^ uap->old_status; in pl010_modem_status()
212 uap->old_status = status; in pl010_modem_status()
338 uap->old_status = readb(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; in pl010_startup()
Dsa1100.c79 unsigned int old_status; member
90 changed = status ^ sport->old_status; in sa1100_mctrl_check()
95 sport->old_status = status; in sa1100_mctrl_check()
Dpnx8xxx_uart.c83 changed = status ^ sport->old_status; in pnx8xxx_mctrl_check()
88 sport->old_status = status; in pnx8xxx_mctrl_check()
Damba-pl011.c268 unsigned int old_status; member
1440 delta = status ^ uap->old_status; in pl011_modem_status()
1441 uap->old_status = status; in pl011_modem_status()
1786 uap->old_status = pl011_read(uap, REG_FR) & UART01x_FR_MODEM_ANY; in pl011_startup()
1815 uap->old_status = 0; in sbsa_uart_startup()
Dicom.c666 static char old_status = 0; in check_modem_status() local
675 delta_status = status ^ old_status; in check_modem_status()
690 old_status = status; in check_modem_status()
Dimx.c197 unsigned int old_status; member
838 changed = status ^ sport->old_status; in imx_uart_mctrl_check()
843 sport->old_status = status; in imx_uart_mctrl_check()
/Linux-v4.19/drivers/usb/gadget/udc/
Ddummy_hcd.c244 u32 old_status; member
379 if ((dum_hcd->old_status & in set_link_state_by_speed()
387 if ((dum_hcd->old_status & in set_link_state_by_speed()
407 if ((dum_hcd->old_status & in set_link_state_by_speed()
413 if ((dum_hcd->old_status & in set_link_state_by_speed()
453 dum_hcd->old_status & (~dum_hcd->port_status); in set_link_state()
455 (~dum_hcd->old_status) & dum_hcd->port_status; in set_link_state()
481 dum_hcd->old_status = dum_hcd->port_status; in set_link_state()
/Linux-v4.19/sound/usb/
Dmixer_quirks.c567 u8 old_status, new_status; in snd_xonar_u1_switch_put() local
570 old_status = kcontrol->private_value; in snd_xonar_u1_switch_put()
572 new_status = old_status | 0x02; in snd_xonar_u1_switch_put()
574 new_status = old_status & ~0x02; in snd_xonar_u1_switch_put()
575 if (new_status == old_status) in snd_xonar_u1_switch_put()
/Linux-v4.19/drivers/s390/virtio/
Dvirtio_ccw.c896 u8 old_status = *vcdev->status; in virtio_ccw_get_status() local
904 return old_status; in virtio_ccw_get_status()
925 u8 old_status = *vcdev->status; in virtio_ccw_set_status() local
942 *vcdev->status = old_status; in virtio_ccw_set_status()
/Linux-v4.19/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c928 enum drm_connector_status old_status; in cdn_dp_pd_event_work() local
992 old_status = connector->status; in cdn_dp_pd_event_work()
994 if (old_status != connector->status) in cdn_dp_pd_event_work()
/Linux-v4.19/sound/pci/ctxfi/
Dctmixer.c661 unsigned int status, old_status; in ct_spdif_put() local
668 atc->spdif_out_get_status(atc, &old_status); in ct_spdif_put()
669 change = (old_status != status); in ct_spdif_put()
/Linux-v4.19/drivers/xen/
Dgntdev.c889 s16 old_status; in gntdev_copy() local
894 if (__get_user(old_status, batch->status[i])) in gntdev_copy()
897 if (old_status != GNTST_okay) in gntdev_copy()
/Linux-v4.19/drivers/staging/ks7010/
Dks_hostif.c658 unsigned int old_status = priv->connect_status; in hostif_connect_indication() local
687 is_disconnect_status(old_status)) { in hostif_connect_indication()
698 is_connect_status(old_status)) { in hostif_connect_indication()
748 unsigned int old_status = priv->connect_status; in hostif_stop_confirm() local
766 is_connect_status(old_status)) { in hostif_stop_confirm()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c1086 i40e_status old_status = status; in i40e_nvmupd_state_writing() local
1101 status = old_status; in i40e_nvmupd_state_writing()
/Linux-v4.19/drivers/net/ethernet/cortina/
Dgemini.c295 union gmac_status status, old_status; in gmac_speed_set() local
300 old_status.bits32 = status.bits32; in gmac_speed_set()
344 if (old_status.bits32 == status.bits32) in gmac_speed_set()

12