Searched refs:old_status (Results 1 - 23 of 23) sorted by relevance

/linux-4.1.27/drivers/leds/trigger/
H A Dledtrig-backlight.c27 int old_status; member in struct:bl_trig_notifier
49 if (new_status == n->old_status) fb_notifier_callback()
52 if ((n->old_status == UNBLANK) ^ n->invert) { fb_notifier_callback()
59 n->old_status = new_status; fb_notifier_callback()
91 if ((n->old_status == BLANK) ^ n->invert) bl_trig_invert_store()
119 n->old_status = UNBLANK; bl_trig_activate()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_probe_helper.c106 enum drm_connector_status old_status; drm_helper_probe_single_connector_modes_merge_bits() local
125 old_status = connector->status; drm_helper_probe_single_connector_modes_merge_bits()
135 if (old_status != connector->status) { drm_helper_probe_single_connector_modes_merge_bits()
139 old_status, connector->status); drm_helper_probe_single_connector_modes_merge_bits()
305 enum drm_connector_status old_status; output_poll_execute() local
329 old_status = connector->status; output_poll_execute()
332 if (old_status == connector_status_connected && output_poll_execute()
337 if (old_status != connector->status) { output_poll_execute()
354 connector->status = old_status; output_poll_execute()
358 old = drm_get_connector_status_name(old_status); output_poll_execute()
492 enum drm_connector_status old_status; drm_helper_hpd_irq_event() local
505 old_status = connector->status; drm_helper_hpd_irq_event()
511 drm_get_connector_status_name(old_status), drm_helper_hpd_irq_event()
513 if (old_status != connector->status) drm_helper_hpd_irq_event()
H A Ddrm_sysfs.c175 enum drm_connector_status old_status; status_store() local
182 old_status = connector->status; status_store()
206 if (old_status != connector->status) { status_store()
210 old_status, connector->status); status_store()
/linux-4.1.27/drivers/pcmcia/
H A Dbcm63xx_pcmcia.h43 unsigned int old_status; member in struct:bcm63xx_pcmcia_socket
H A Dbcm63xx_pcmcia.c279 events = (stat ^ skt->old_status) & skt->requested_state.csc_mask; bcm63xx_pcmcia_poll()
280 skt->old_status = stat; bcm63xx_pcmcia_poll()
/linux-4.1.27/include/linux/
H A Dserial_pnx8xxx.h29 unsigned int old_status; member in struct:pnx8xxx_port
/linux-4.1.27/drivers/power/
H A Dwm97xx_battery.c107 int old_status = bat_status; wm97xx_bat_update() local
119 if (old_status != bat_status) { wm97xx_bat_update()
120 pr_debug("%s: %i -> %i\n", bat_ps->desc->name, old_status, wm97xx_bat_update()
H A Dz2_battery.c95 int old_status = charger->bat_status; z2_batt_update() local
108 if (old_status != charger->bat_status) { z2_batt_update()
110 old_status, z2_batt_update()
H A Dds2782_battery.c283 int old_status = info->status; ds278x_bat_update() local
288 if ((old_status != info->status) || (old_capacity != info->capacity)) ds278x_bat_update()
/linux-4.1.27/drivers/tty/serial/
H A Damba-pl010.c73 unsigned int old_status; member in struct:uart_amba_port
224 delta = status ^ uap->old_status; pl010_modem_status()
225 uap->old_status = status; pl010_modem_status()
351 uap->old_status = readb(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; pl010_startup()
H A Dsa1100.c92 unsigned int old_status; member in struct:sa1100_port
103 changed = status ^ sport->old_status; sa1100_mctrl_check()
108 sport->old_status = status; sa1100_mctrl_check()
H A Dpnx8xxx_uart.c87 changed = status ^ sport->old_status; pnx8xxx_mctrl_check()
92 sport->old_status = status; pnx8xxx_mctrl_check()
H A Dicom.c681 static char old_status = 0; check_modem_status() local
690 delta_status = status ^ old_status; check_modem_status()
705 old_status = status; check_modem_status()
H A Damba-pl011.c155 unsigned int old_status; member in struct:uart_amba_port
1339 delta = status ^ uap->old_status; pl011_modem_status()
1340 uap->old_status = status; pl011_modem_status()
1657 uap->old_status = readw(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; pl011_startup()
H A Dimx.c198 unsigned int old_status; member in struct:imx_port
316 changed = status ^ sport->old_status; imx_mctrl_check()
321 sport->old_status = status; imx_mctrl_check()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Ddummy_hcd.c171 u32 old_status; member in struct:dummy_hcd
302 if ((dum_hcd->old_status & set_link_state_by_speed()
310 if ((dum_hcd->old_status & set_link_state_by_speed()
331 if ((dum_hcd->old_status & set_link_state_by_speed()
337 if ((dum_hcd->old_status & set_link_state_by_speed()
374 dum_hcd->old_status & (~dum_hcd->port_status); set_link_state()
376 (~dum_hcd->old_status) & dum_hcd->port_status; set_link_state()
400 dum_hcd->old_status = dum_hcd->port_status; set_link_state()
/linux-4.1.27/sound/usb/
H A Dmixer_quirks.c567 u8 old_status, new_status; snd_xonar_u1_switch_put() local
570 old_status = kcontrol->private_value; snd_xonar_u1_switch_put()
572 new_status = old_status | 0x02; snd_xonar_u1_switch_put()
574 new_status = old_status & ~0x02; snd_xonar_u1_switch_put()
575 if (new_status == old_status) snd_xonar_u1_switch_put()
/linux-4.1.27/sound/pci/ctxfi/
H A Dctmixer.c661 unsigned int status, old_status; ct_spdif_put() local
668 atc->spdif_out_get_status(atc, &old_status); ct_spdif_put()
669 change = (old_status != status); ct_spdif_put()
/linux-4.1.27/arch/blackfin/include/asm/
H A Dbfin_serial.h33 unsigned int old_status; member in struct:bfin_serial_port
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c784 i40e_status old_status = status; i40e_nvmupd_state_writing() local
799 status = old_status; i40e_nvmupd_state_writing()
/linux-4.1.27/drivers/s390/kvm/
H A Dvirtio_ccw.c891 u8 old_status = *vcdev->status; virtio_ccw_set_status() local
908 *vcdev->status = old_status; virtio_ccw_set_status()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_irq.c808 enum drm_connector_status old_status; intel_hpd_irq_event() local
811 old_status = connector->status; intel_hpd_irq_event()
814 if (old_status == connector->status) intel_hpd_irq_event()
820 drm_get_connector_status_name(old_status), intel_hpd_irq_event()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c13371 u32 old_status = (vars->phy_flags & phy_flag) ? 1 : 0; bnx2x_analyze_link_error() local
13373 if ((status ^ old_status) == 0) bnx2x_analyze_link_error()
13388 old_status, status); bnx2x_analyze_link_error()

Completed in 1664 milliseconds