Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/leds/trigger/
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()
/Linux-v5.10/drivers/gpu/drm/
Ddrm_probe_helper.c426 enum drm_connector_status old_status; in drm_helper_probe_single_connector_modes() local
448 old_status = connector->status; in drm_helper_probe_single_connector_modes()
476 if (old_status != connector->status) { in drm_helper_probe_single_connector_modes()
480 drm_get_connector_status_name(old_status), in drm_helper_probe_single_connector_modes()
624 enum drm_connector_status old_status; in output_poll_execute() local
653 old_status = connector->status; in output_poll_execute()
656 if (old_status == connector_status_connected && in output_poll_execute()
663 if (old_status != connector->status) { in output_poll_execute()
680 connector->status = old_status; in output_poll_execute()
684 old = drm_get_connector_status_name(old_status); in output_poll_execute()
[all …]
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()
/Linux-v5.10/block/
Dblk-pm.c206 int old_status; in blk_set_runtime_active() local
212 old_status = q->rpm_status; in blk_set_runtime_active()
218 if (old_status != RPM_ACTIVE) in blk_set_runtime_active()
/Linux-v5.10/drivers/power/supply/
Dwm97xx_battery.c98 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()
Dz2_battery.c91 int old_status = charger->bat_status; in z2_batt_update() local
104 if (old_status != charger->bat_status) { in z2_batt_update()
106 old_status, in z2_batt_update()
Daxp20x_usb_power.c70 unsigned int old_status; member
112 if (val != power->old_status) in axp20x_usb_power_poll_vbus()
115 power->old_status = val; in axp20x_usb_power_poll_vbus()
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()
/Linux-v5.10/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-v5.10/include/linux/
Dserial_pnx8xxx.h16 unsigned int old_status; member
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_hotplug.c264 enum drm_connector_status old_status; in intel_encoder_hotplug() local
269 old_status = connector->base.status; in intel_encoder_hotplug()
282 drm_get_connector_status_name(old_status), in intel_encoder_hotplug()
/Linux-v5.10/drivers/tty/serial/
Damba-pl010.c56 unsigned int old_status; member
207 delta = status ^ uap->old_status; in pl010_modem_status()
208 uap->old_status = status; in pl010_modem_status()
334 uap->old_status = readb(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; in pl010_startup()
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()
Dpnx8xxx_uart.c79 changed = status ^ sport->old_status; in pnx8xxx_mctrl_check()
84 sport->old_status = status; in pnx8xxx_mctrl_check()
Damba-pl011.c263 unsigned int old_status; member
1432 delta = status ^ uap->old_status; in pl011_modem_status()
1433 uap->old_status = status; in pl011_modem_status()
1776 uap->old_status = pl011_read(uap, REG_FR) & UART01x_FR_MODEM_ANY; in pl011_startup()
1805 uap->old_status = 0; in sbsa_uart_startup()
Dicom.c668 static char old_status = 0; in check_modem_status() local
677 delta_status = status ^ old_status; in check_modem_status()
692 old_status = status; in check_modem_status()
/Linux-v5.10/drivers/usb/gadget/udc/
Ddummy_hcd.c245 u32 old_status; member
380 if ((dum_hcd->old_status & in set_link_state_by_speed()
388 if ((dum_hcd->old_status & in set_link_state_by_speed()
408 if ((dum_hcd->old_status & in set_link_state_by_speed()
414 if ((dum_hcd->old_status & in set_link_state_by_speed()
455 dum_hcd->old_status & (~dum_hcd->port_status); in set_link_state()
457 (~dum_hcd->old_status) & dum_hcd->port_status; in set_link_state()
483 dum_hcd->old_status = dum_hcd->port_status; in set_link_state()
/Linux-v5.10/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c917 enum drm_connector_status old_status; in cdn_dp_pd_event_work() local
981 old_status = connector->status; in cdn_dp_pd_event_work()
983 if (old_status != connector->status) in cdn_dp_pd_event_work()
/Linux-v5.10/drivers/xen/
Dgntdev.c766 s16 old_status; in gntdev_copy() local
771 if (__get_user(old_status, batch->status[i])) in gntdev_copy()
774 if (old_status != GNTST_okay) in gntdev_copy()
/Linux-v5.10/drivers/s390/virtio/
Dvirtio_ccw.c952 u8 old_status = vcdev->dma_area->status; in virtio_ccw_get_status() local
960 return old_status; in virtio_ccw_get_status()
981 u8 old_status = vcdev->dma_area->status; in virtio_ccw_set_status() local
998 vcdev->dma_area->status = old_status; in virtio_ccw_set_status()
/Linux-v5.10/drivers/gpu/drm/nouveau/
Dnouveau_display.c497 enum drm_connector_status old_status = connector->status; in nouveau_display_hpd_work() local
511 drm_get_connector_status_name(old_status), in nouveau_display_hpd_work()
/Linux-v5.10/sound/pci/ctxfi/
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()
/Linux-v5.10/drivers/staging/ks7010/
Dks_hostif.c720 unsigned int old_status = priv->connect_status; in hostif_connect_indication() local
749 is_disconnect_status(old_status)) { in hostif_connect_indication()
760 is_connect_status(old_status)) { in hostif_connect_indication()
810 unsigned int old_status = priv->connect_status; in hostif_stop_confirm() local
828 is_connect_status(old_status)) { in hostif_stop_confirm()
/Linux-v5.10/sound/usb/
Dmixer_quirks.c559 u8 old_status, new_status; in snd_xonar_u1_switch_put() local
562 old_status = kcontrol->private_value; in snd_xonar_u1_switch_put()
564 new_status = old_status | 0x02; in snd_xonar_u1_switch_put()
566 new_status = old_status & ~0x02; in snd_xonar_u1_switch_put()
567 if (new_status == old_status) in snd_xonar_u1_switch_put()

12