Home
last modified time | relevance | path

Searched refs:new_status (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/drivers/watchdog/
Dwdt.c204 unsigned char new_status; in wdt_get_status() local
209 new_status = inb_p(WDT_SR); in wdt_get_status()
212 if (new_status & WDC_SR_ISOI0) in wdt_get_status()
214 if (new_status & WDC_SR_ISII1) in wdt_get_status()
217 if (!(new_status & WDC_SR_TGOOD)) in wdt_get_status()
219 if (!(new_status & WDC_SR_PSUOVER)) in wdt_get_status()
221 if (!(new_status & WDC_SR_PSUUNDR)) in wdt_get_status()
224 if (!(new_status & WDC_SR_FANGOOD)) in wdt_get_status()
Dwdt_pci.c240 unsigned char new_status; in wdtpci_get_status() local
244 new_status = inb(WDT_SR); in wdtpci_get_status()
248 if (new_status & WDC_SR_ISOI0) in wdtpci_get_status()
250 if (new_status & WDC_SR_ISII1) in wdtpci_get_status()
253 if (!(new_status & WDC_SR_TGOOD)) in wdtpci_get_status()
255 if (!(new_status & WDC_SR_PSUOVER)) in wdtpci_get_status()
257 if (!(new_status & WDC_SR_PSUUNDR)) in wdtpci_get_status()
260 if (!(new_status & WDC_SR_FANGOOD)) in wdtpci_get_status()
Dwdt977.c230 int new_status; in wdt977_get_status() local
243 new_status = inb_p(IO_DATA_PORT); in wdt977_get_status()
251 if (new_status & 1) in wdt977_get_status()
Dw83977f_wdt.c254 int new_status; in wdt_get_status() local
267 new_status = inb_p(IO_DATA_PORT); in wdt_get_status()
275 if (new_status & 1) in wdt_get_status()
Dsch311x_wdt.c194 unsigned char new_status; in sch311x_wdt_get_status() local
210 new_status = inb(sch311x_wdt_data.runtime_reg + WDT_CTRL); in sch311x_wdt_get_status()
211 if (new_status & 0x01) in sch311x_wdt_get_status()
/Linux-v5.4/drivers/leds/trigger/
Dledtrig-backlight.c36 int new_status; in fb_notifier_callback() local
43 new_status = *blank ? BLANK : UNBLANK; in fb_notifier_callback()
45 if (new_status == n->old_status) in fb_notifier_callback()
55 n->old_status = new_status; in fb_notifier_callback()
/Linux-v5.4/drivers/input/keyboard/
Ddavinci_keyscan.c111 u32 prev_status, new_status, changed; in davinci_ks_interrupt() local
121 new_status = __raw_readl(davinci_ks->base + DAVINCI_KEYSCAN_CURRENTST); in davinci_ks_interrupt()
123 changed = prev_status ^ new_status; in davinci_ks_interrupt()
133 release = (new_status >> i) & 0x1; in davinci_ks_interrupt()
/Linux-v5.4/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1948 u_int new_status; in ahc_linux_queue_cmd_complete() local
1954 new_status = DID_OK; in ahc_linux_queue_cmd_complete()
1957 new_status = DID_ABORT; in ahc_linux_queue_cmd_complete()
1960 new_status = DID_BUS_BUSY; in ahc_linux_queue_cmd_complete()
1964 new_status = DID_BAD_TARGET; in ahc_linux_queue_cmd_complete()
1967 new_status = DID_NO_CONNECT; in ahc_linux_queue_cmd_complete()
1971 new_status = DID_RESET; in ahc_linux_queue_cmd_complete()
1974 new_status = DID_PARITY; in ahc_linux_queue_cmd_complete()
1977 new_status = DID_TIME_OUT; in ahc_linux_queue_cmd_complete()
1991 new_status = DID_ERROR; in ahc_linux_queue_cmd_complete()
[all …]
Daic79xx_osm.c2030 int new_status = DID_OK; in ahd_linux_queue_cmd_complete() local
2045 new_status = DID_OK; in ahd_linux_queue_cmd_complete()
2048 new_status = DID_ERROR; in ahd_linux_queue_cmd_complete()
2074 new_status = DID_ABORT; in ahd_linux_queue_cmd_complete()
2077 new_status = DID_BUS_BUSY; in ahd_linux_queue_cmd_complete()
2081 new_status = DID_BAD_TARGET; in ahd_linux_queue_cmd_complete()
2084 new_status = DID_NO_CONNECT; in ahd_linux_queue_cmd_complete()
2088 new_status = DID_RESET; in ahd_linux_queue_cmd_complete()
2091 new_status = DID_PARITY; in ahd_linux_queue_cmd_complete()
2095 new_status = DID_TIME_OUT; in ahd_linux_queue_cmd_complete()
[all …]
/Linux-v5.4/drivers/net/ethernet/via/
Dvia-velocity.c3365 u32 new_status = 0; in velocity_set_link_ksettings() local
3371 new_status |= ((cmd->base.autoneg) ? VELOCITY_AUTONEG_ENABLE : 0); in velocity_set_link_ksettings()
3372 new_status |= ((speed == SPEED_1000) ? VELOCITY_SPEED_1000 : 0); in velocity_set_link_ksettings()
3373 new_status |= ((speed == SPEED_100) ? VELOCITY_SPEED_100 : 0); in velocity_set_link_ksettings()
3374 new_status |= ((speed == SPEED_10) ? VELOCITY_SPEED_10 : 0); in velocity_set_link_ksettings()
3375 new_status |= ((cmd->base.duplex == DUPLEX_FULL) ? in velocity_set_link_ksettings()
3378 if ((new_status & VELOCITY_AUTONEG_ENABLE) && in velocity_set_link_ksettings()
3379 (new_status != (curr_status | VELOCITY_AUTONEG_ENABLE))) { in velocity_set_link_ksettings()
3384 if (new_status & VELOCITY_AUTONEG_ENABLE) in velocity_set_link_ksettings()
3386 else if ((new_status & VELOCITY_SPEED_1000) && in velocity_set_link_ksettings()
[all …]
/Linux-v5.4/arch/parisc/math-emu/
Dfpudispatch.c1401 update_status_cbit(status, new_status, fpu_type, y_field) in update_status_cbit() argument
1402 u_int *status, new_status; in update_status_cbit()
1418 (new_status & 0xffc007ff); /* all other bits*/
1421 ((new_status & 0x04000000) >> (y_field+4)) |
1422 (new_status & ~0x04000000 & /* other bits */
1428 *status = new_status;
/Linux-v5.4/sound/usb/
Dmixer_quirks.c556 u8 old_status, new_status; in snd_xonar_u1_switch_put() local
561 new_status = old_status | 0x02; in snd_xonar_u1_switch_put()
563 new_status = old_status & ~0x02; in snd_xonar_u1_switch_put()
564 if (new_status == old_status) in snd_xonar_u1_switch_put()
567 kcontrol->private_value = new_status; in snd_xonar_u1_switch_put()
568 err = snd_xonar_u1_switch_update(list->mixer, new_status); in snd_xonar_u1_switch_put()
/Linux-v5.4/drivers/target/
Dtarget_core_configfs.c2739 int new_status, ret; in target_tg_pt_gp_alua_access_status_store() local
2754 new_status = (int)tmp; in target_tg_pt_gp_alua_access_status_store()
2756 if ((new_status != ALUA_STATUS_NONE) && in target_tg_pt_gp_alua_access_status_store()
2757 (new_status != ALUA_STATUS_ALTERED_BY_EXPLICIT_STPG) && in target_tg_pt_gp_alua_access_status_store()
2758 (new_status != ALUA_STATUS_ALTERED_BY_IMPLICIT_ALUA)) { in target_tg_pt_gp_alua_access_status_store()
2760 new_status); in target_tg_pt_gp_alua_access_status_store()
2764 tg_pt_gp->tg_pt_gp_alua_access_status = new_status; in target_tg_pt_gp_alua_access_status_store()
/Linux-v5.4/drivers/usb/usbip/
Dvhci_hcd.c119 static void dump_port_status_diff(u32 prev_status, u32 new_status, bool usb3) in dump_port_status_diff() argument
128 pr_debug("status prev -> new: %08x -> %08x\n", prev_status, new_status); in dump_port_status_diff()
131 u32 new = new_status & bit; in dump_port_status_diff()
/Linux-v5.4/drivers/usb/gadget/udc/
Dbcm63xx_udc.c1951 static void bcm63xx_update_wedge(struct bcm63xx_udc *udc, bool new_status) in bcm63xx_update_wedge() argument
1956 bcm63xx_set_stall(udc, &udc->bep[i], new_status); in bcm63xx_update_wedge()
1957 if (!new_status) in bcm63xx_update_wedge()