Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/drivers/gpu/drm/
Ddrm_probe_helper.c495 enum drm_connector_status old_status; in drm_helper_probe_single_connector_modes() local
517 old_status = connector->status; in drm_helper_probe_single_connector_modes()
545 if (old_status != connector->status) { in drm_helper_probe_single_connector_modes()
549 drm_get_connector_status_name(old_status), in drm_helper_probe_single_connector_modes()
697 enum drm_connector_status old_status; in output_poll_execute() local
727 old_status = connector->status; in output_poll_execute()
730 if (old_status == connector_status_connected && in output_poll_execute()
755 connector->status = old_status; in output_poll_execute()
759 old = drm_get_connector_status_name(old_status); in output_poll_execute()
873 enum drm_connector_status old_status; in check_connector_changed() local
[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-6.1.9/block/
Dblk-pm.c201 int old_status; in blk_set_runtime_active() local
207 old_status = q->rpm_status; in blk_set_runtime_active()
213 if (old_status != RPM_ACTIVE) in blk_set_runtime_active()
/linux-6.1.9/drivers/power/supply/
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()
Dz2_battery.c92 int old_status = charger->bat_status; in z2_batt_update() local
102 if (old_status != charger->bat_status) { in z2_batt_update()
104 old_status, in z2_batt_update()
Daxp20x_usb_power.c71 unsigned int old_status; member
113 if (val != power->old_status) in axp20x_usb_power_poll_vbus()
116 power->old_status = val; in axp20x_usb_power_poll_vbus()
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()
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-6.1.9/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-6.1.9/drivers/tty/serial/
Damba-pl010.c56 unsigned int old_status; member
206 delta = status ^ uap->old_status; in pl010_modem_status()
207 uap->old_status = status; in pl010_modem_status()
329 uap->old_status = readb(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()
Damba-pl011.c259 unsigned int old_status; member
1515 delta = status ^ uap->old_status; in pl011_modem_status()
1516 uap->old_status = status; in pl011_modem_status()
1880 uap->old_status = pl011_read(uap, REG_FR) & UART01x_FR_MODEM_ANY; in pl011_startup()
1909 uap->old_status = 0; in sbsa_uart_startup()
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()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c952 enum drm_connector_status old_status; in cdn_dp_pd_event_work() local
1016 old_status = connector->status; in cdn_dp_pd_event_work()
1018 if (old_status != connector->status) in cdn_dp_pd_event_work()
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_display.c491 enum drm_connector_status old_status = connector->status; in nouveau_display_hpd_work() local
505 drm_get_connector_status_name(old_status), in nouveau_display_hpd_work()
/linux-6.1.9/drivers/s390/virtio/
Dvirtio_ccw.c936 u8 old_status = vcdev->dma_area->status; in virtio_ccw_get_status() local
944 return old_status; in virtio_ccw_get_status()
965 u8 old_status = vcdev->dma_area->status; in virtio_ccw_set_status() local
986 vcdev->dma_area->status = old_status; in virtio_ccw_set_status()
/linux-6.1.9/drivers/xen/
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()
/linux-6.1.9/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-6.1.9/drivers/staging/ks7010/
Dks_hostif.c714 unsigned int old_status = priv->connect_status; in hostif_connect_indication() local
743 is_disconnect_status(old_status)) { in hostif_connect_indication()
754 is_connect_status(old_status)) { in hostif_connect_indication()
804 unsigned int old_status = priv->connect_status; in hostif_stop_confirm() local
822 is_connect_status(old_status)) { in hostif_stop_confirm()
/linux-6.1.9/sound/usb/
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()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c1190 i40e_status old_status = status; in i40e_nvmupd_state_writing() local
1205 status = old_status; in i40e_nvmupd_state_writing()

12