Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/net/mptcp/
Dpm.c117 enum mptcp_pm_status new_status) in mptcp_pm_schedule_work() argument
120 BIT(new_status)); in mptcp_pm_schedule_work()
121 if (msk->pm.status & BIT(new_status)) in mptcp_pm_schedule_work()
124 msk->pm.status |= BIT(new_status); in mptcp_pm_schedule_work()
/linux-5.19.10/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1930 u_int new_status; in ahc_linux_queue_cmd_complete() local
1936 new_status = DID_OK; in ahc_linux_queue_cmd_complete()
1939 new_status = DID_ABORT; in ahc_linux_queue_cmd_complete()
1942 new_status = DID_BUS_BUSY; in ahc_linux_queue_cmd_complete()
1946 new_status = DID_BAD_TARGET; in ahc_linux_queue_cmd_complete()
1949 new_status = DID_NO_CONNECT; in ahc_linux_queue_cmd_complete()
1953 new_status = DID_RESET; in ahc_linux_queue_cmd_complete()
1956 new_status = DID_PARITY; in ahc_linux_queue_cmd_complete()
1959 new_status = DID_TIME_OUT; in ahc_linux_queue_cmd_complete()
1973 new_status = DID_ERROR; in ahc_linux_queue_cmd_complete()
[all …]
Daic79xx_osm.c2012 int new_status = DID_OK; in ahd_linux_queue_cmd_complete() local
2028 new_status = DID_OK; in ahd_linux_queue_cmd_complete()
2031 new_status = DID_ERROR; in ahd_linux_queue_cmd_complete()
2051 new_status = DID_ABORT; in ahd_linux_queue_cmd_complete()
2054 new_status = DID_BUS_BUSY; in ahd_linux_queue_cmd_complete()
2058 new_status = DID_BAD_TARGET; in ahd_linux_queue_cmd_complete()
2061 new_status = DID_NO_CONNECT; in ahd_linux_queue_cmd_complete()
2065 new_status = DID_RESET; in ahd_linux_queue_cmd_complete()
2068 new_status = DID_PARITY; in ahd_linux_queue_cmd_complete()
2072 new_status = DID_TIME_OUT; in ahd_linux_queue_cmd_complete()
[all …]
/linux-5.19.10/drivers/net/ethernet/via/
Dvia-velocity.c3377 u32 new_status = 0; in velocity_set_link_ksettings() local
3383 new_status |= ((cmd->base.autoneg) ? VELOCITY_AUTONEG_ENABLE : 0); in velocity_set_link_ksettings()
3384 new_status |= ((speed == SPEED_1000) ? VELOCITY_SPEED_1000 : 0); in velocity_set_link_ksettings()
3385 new_status |= ((speed == SPEED_100) ? VELOCITY_SPEED_100 : 0); in velocity_set_link_ksettings()
3386 new_status |= ((speed == SPEED_10) ? VELOCITY_SPEED_10 : 0); in velocity_set_link_ksettings()
3387 new_status |= ((cmd->base.duplex == DUPLEX_FULL) ? in velocity_set_link_ksettings()
3390 if ((new_status & VELOCITY_AUTONEG_ENABLE) && in velocity_set_link_ksettings()
3391 (new_status != (curr_status | VELOCITY_AUTONEG_ENABLE))) { in velocity_set_link_ksettings()
3396 if (new_status & VELOCITY_AUTONEG_ENABLE) in velocity_set_link_ksettings()
3398 else if ((new_status & VELOCITY_SPEED_1000) && in velocity_set_link_ksettings()
[all …]
/linux-5.19.10/arch/parisc/math-emu/
Dfpudispatch.c1451 update_status_cbit(status, new_status, fpu_type, y_field) in update_status_cbit() argument
1452 u_int *status, new_status; in update_status_cbit()
1468 (new_status & 0xffc007ff); /* all other bits*/
1471 ((new_status & 0x04000000) >> (y_field+4)) |
1472 (new_status & ~0x04000000 & /* other bits */
1478 *status = new_status;
/linux-5.19.10/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-5.19.10/drivers/target/
Dtarget_core_configfs.c2855 int new_status, ret; in target_tg_pt_gp_alua_access_status_store() local
2868 new_status = (int)tmp; in target_tg_pt_gp_alua_access_status_store()
2870 if ((new_status != ALUA_STATUS_NONE) && in target_tg_pt_gp_alua_access_status_store()
2871 (new_status != ALUA_STATUS_ALTERED_BY_EXPLICIT_STPG) && in target_tg_pt_gp_alua_access_status_store()
2872 (new_status != ALUA_STATUS_ALTERED_BY_IMPLICIT_ALUA)) { in target_tg_pt_gp_alua_access_status_store()
2874 new_status); in target_tg_pt_gp_alua_access_status_store()
2878 tg_pt_gp->tg_pt_gp_alua_access_status = new_status; in target_tg_pt_gp_alua_access_status_store()
/linux-5.19.10/sound/usb/
Dmixer_quirks.c559 u8 old_status, new_status; in snd_xonar_u1_switch_put() local
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()
570 kcontrol->private_value = new_status; in snd_xonar_u1_switch_put()
571 err = snd_xonar_u1_switch_update(list->mixer, new_status); in snd_xonar_u1_switch_put()
/linux-5.19.10/drivers/usb/gadget/udc/
Dbcm63xx_udc.c1949 static void bcm63xx_update_wedge(struct bcm63xx_udc *udc, bool new_status) in bcm63xx_update_wedge() argument
1954 bcm63xx_set_stall(udc, &udc->bep[i], new_status); in bcm63xx_update_wedge()
1955 if (!new_status) in bcm63xx_update_wedge()