Home
last modified time | relevance | path

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

/drivers/leds/trigger/
Dledtrig-backlight.c27 int old_status; member
44 if (new_status == n->old_status) in fb_notifier_callback()
47 if ((n->old_status == UNBLANK) ^ n->invert) { in fb_notifier_callback()
54 n->old_status = new_status; in fb_notifier_callback()
89 if ((n->old_status == BLANK) ^ n->invert) in bl_trig_invert_store()
117 n->old_status = UNBLANK; in bl_trig_activate()
/drivers/gpu/drm/
Ddrm_crtc_helper.c982 enum drm_connector_status old_status; in output_poll_execute() local
1002 old_status = connector->status; in output_poll_execute()
1005 if (old_status == connector_status_connected && in output_poll_execute()
1010 if (old_status != connector->status) { in output_poll_execute()
1013 old = drm_get_connector_status_name(old_status); in output_poll_execute()
1080 enum drm_connector_status old_status; in drm_helper_hpd_irq_event() local
1093 old_status = connector->status; in drm_helper_hpd_irq_event()
1099 drm_get_connector_status_name(old_status), in drm_helper_hpd_irq_event()
1101 if (old_status != connector->status) in drm_helper_hpd_irq_event()
/drivers/power/
Dwm97xx_battery.c107 int old_status = bat_status; in wm97xx_bat_update() local
119 if (old_status != bat_status) { in wm97xx_bat_update()
120 pr_debug("%s: %i -> %i\n", bat_ps->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()
109 pr_debug("%s: %i -> %i\n", charger->batt_ps.name, old_status, in z2_batt_update()
Dds2782_battery.c282 int old_status = info->status; in ds278x_bat_update() local
287 if ((old_status != info->status) || (old_capacity != info->capacity)) in ds278x_bat_update()
/drivers/acpi/
Dbus.c455 struct acpi_device_status old_status; in acpi_bus_check_device() local
462 old_status = device->status; in acpi_bus_check_device()
477 if (STRUCT_TO_INT(old_status) == STRUCT_TO_INT(device->status)) in acpi_bus_check_device()
483 if ((device->status.present) && !(old_status.present)) { in acpi_bus_check_device()
486 } else if (!(device->status.present) && (old_status.present)) { in acpi_bus_check_device()
/drivers/pcmcia/
Dbcm63xx_pcmcia.h43 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()
/drivers/tty/serial/
Damba-pl010.c74 unsigned int old_status; member
211 delta = status ^ uap->old_status; in pl010_modem_status()
212 uap->old_status = status; in pl010_modem_status()
333 uap->old_status = readb(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; in pl010_startup()
Dsa1100.c92 unsigned int old_status; member
103 changed = status ^ sport->old_status; in sa1100_mctrl_check()
108 sport->old_status = status; in sa1100_mctrl_check()
Dpnx8xxx_uart.c87 changed = status ^ sport->old_status; in pnx8xxx_mctrl_check()
92 sport->old_status = status; in pnx8xxx_mctrl_check()
Dimx.c201 unsigned int old_status; member
300 changed = status ^ sport->old_status; in imx_mctrl_check()
305 sport->old_status = status; in imx_mctrl_check()
Dicom.c674 static char old_status = 0; in check_modem_status() local
683 delta_status = status ^ old_status; in check_modem_status()
698 old_status = status; in check_modem_status()
Damba-pl011.c161 unsigned int old_status; member
1281 delta = status ^ uap->old_status; in pl011_modem_status()
1282 uap->old_status = status; in pl011_modem_status()
1573 uap->old_status = readw(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; in pl011_startup()
/drivers/usb/gadget/
Ddummy_hcd.c171 u32 old_status; member
302 if ((dum_hcd->old_status & in set_link_state_by_speed()
310 if ((dum_hcd->old_status & in set_link_state_by_speed()
331 if ((dum_hcd->old_status & in set_link_state_by_speed()
337 if ((dum_hcd->old_status & in set_link_state_by_speed()
377 if ((dum_hcd->old_status & USB_PORT_STAT_CONNECTION) != 0 && in set_link_state()
378 (dum_hcd->old_status & USB_PORT_STAT_RESET) == 0 && in set_link_state()
397 dum_hcd->old_status = dum_hcd->port_status; in set_link_state()
/drivers/staging/android/
Dsync.c203 int old_status = pt->status; in _sync_pt_has_signaled() local
211 if (pt->status != old_status) in _sync_pt_has_signaled()
/drivers/media/dvb-frontends/
Dit913x-fe.c469 fe_status_t old_status = state->it913x_status; in it913x_fe_read_status() local
497 if (old_status != state->it913x_status) in it913x_fe_read_status()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c13271 u32 old_status = (vars->phy_flags & phy_flag) ? 1 : 0; in bnx2x_analyze_link_error() local
13273 if ((status ^ old_status) == 0) in bnx2x_analyze_link_error()
13288 old_status, status); in bnx2x_analyze_link_error()