/Linux-v4.19/drivers/power/supply/ |
D | adp5061.c | 159 u8 *status1, u8 *status2) in adp5061_get_status() argument 170 *status1 = buf[0]; in adp5061_get_status() 424 u8 status1, status2; in adp5061_get_chg_type() local 427 ret = adp5061_get_status(st, &status1, &status2); in adp5061_get_chg_type() 431 chg_type = adp5061_chg_type[ADP5061_CHG_STATUS_1_CHG_STATUS(status1)]; in adp5061_get_chg_type() 443 u8 status1, status2; in adp5061_get_charger_status() local 446 ret = adp5061_get_status(st, &status1, &status2); in adp5061_get_charger_status() 450 switch (ADP5061_CHG_STATUS_1_CHG_STATUS(status1)) { in adp5061_get_charger_status() 476 u8 status1, status2; in adp5061_get_battery_status() local 479 ret = adp5061_get_status(st, &status1, &status2); in adp5061_get_battery_status() [all …]
|
D | tps65090-charger.c | 152 uint8_t status1 = 0; in tps65090_charger_isr() local 156 &status1); in tps65090_charger_isr() 244 uint8_t status1 = 0; in tps65090_charger_probe() local 295 &status1); in tps65090_charger_probe() 302 if (status1 != 0) { in tps65090_charger_probe()
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-s35390a.c | 151 static int s35390a_read_status(struct s35390a *s35390a, char *status1) in s35390a_read_status() argument 155 ret = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, status1, 1); in s35390a_read_status() 159 if (*status1 & S35390A_FLAG_POC) { in s35390a_read_status() 166 } else if (*status1 & S35390A_FLAG_BLD) in s35390a_read_status() 437 char buf, status1; in s35390a_probe() local 466 err_read = s35390a_read_status(s35390a, &status1); in s35390a_probe() 473 if (status1 & S35390A_FLAG_24H) in s35390a_probe() 478 if (status1 & S35390A_FLAG_INT2) { in s35390a_probe() 505 if (status1 & S35390A_FLAG_INT2) in s35390a_probe()
|
/Linux-v4.19/drivers/staging/media/zoran/ |
D | zr36050.c | 116 ptr->status1 = zr36050_read(ptr, ZR050_STATUS_1); in zr36050_read_status1() 119 return ptr->status1; in zr36050_read_status1() 156 ptr->name, ptr->status1); in zr36050_wait_end() 193 if ((ptr->status1 & 0x4) == 0) { in zr36050_basic_test() 485 ptr->name, ptr->status1); in zr36050_init() 487 if ((ptr->status1 & 0x4) == 0) { in zr36050_init() 555 ptr->name, ptr->status1); in zr36050_init() 557 if ((ptr->status1 & 0x4) == 0) { in zr36050_init() 657 *ival = ptr->status1; in zr36050_control()
|
D | zr36050.h | 35 __u8 status1; member
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | am572x-idk-common.dtsi | 39 label = "status1:red:cpu1"; 46 label = "status1:green:usr"; 52 label = "status1:blue:mmc0";
|
D | am571x-idk.dts | 49 label = "status1:red:usr"; 55 label = "status1:green:usr"; 61 label = "status1:blue:mmc0";
|
D | am335x-icev2.dts | 128 label = "status1:red:mmc0"; 135 label = "status1:green:usr"; 141 label = "status1:yellow:usr";
|
D | keystone-k2g-ice.dts | 158 label = "status1:red:mmc0"; 165 label = "status1:green:usr"; 171 label = "status1:yellow:usr";
|
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | bcm3510.c | 62 struct bcm3510_hab_cmd_status1 status1; member 285 …bcm3510_do_hab_cmd(st, CMD_STATUS, MSGID_STATUS1, NULL,0, (u8 *)&st->status1, sizeof(st->status1)); in bcm3510_refresh_state() 298 if (st->status1.STATUS1.RECEIVER_LOCK) in bcm3510_read_status() 301 if (st->status1.STATUS1.FEC_LOCK) in bcm3510_read_status() 304 if (st->status1.STATUS1.OUT_PLL_LOCK) in bcm3510_read_status() 358 *snr = st->status1.SNR_EST0*1000 + ((st->status1.SNR_EST1*1000) >> 8); in bcm3510_read_snr() 575 memset(&st->status1,0,sizeof(st->status1)); in bcm3510_set_frontend()
|
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-stu300.c | 225 u32 status1; in stu300_event_occurred() local 229 status1 = stu300_r8(dev->virtbase + I2C_SR1); in stu300_event_occurred() 231 if (!(status1 & I2C_SR1_EVF_IND)) in stu300_event_occurred() 254 if (status1 & I2C_SR1_ADSL_IND) in stu300_event_occurred() 261 if (status1 & I2C_SR1_BTF_IND) { in stu300_event_occurred() 270 if (status1 & I2C_SR1_SB_IND) in stu300_event_occurred() 281 if (status1 & I2C_SR1_ADD10_IND) in stu300_event_occurred() 295 mr_event, status1, status2); in stu300_event_occurred()
|
/Linux-v4.19/drivers/scsi/aic7xxx/ |
D | aic7xxx_pci.c | 1174 u_int status1; in ahc_pci_test_register_access() local 1224 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access() 1227 status1, /*bytes*/1); in ahc_pci_test_register_access() 1236 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access() 1238 if ((status1 & STA) != 0) in ahc_pci_test_register_access() 1245 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access() 1248 status1, /*bytes*/1); in ahc_pci_test_register_access() 1931 u_int status1; in ahc_pci_intr() local 1937 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_intr() 1944 if (status1 & DPE) { in ahc_pci_intr() [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | ar9003_mac.h | 57 u32 status1; member 101 u32 status1; member
|
D | ar9003_mac.c | 381 ts->desc_id = MS(ads->status1, AR_TxDescId); in ar9003_hw_proc_txdesc() 505 rxs->rs_rssi_ctl[0] = MS(rxsp->status1, AR_RxRSSIAnt00); in ath9k_hw_process_rxdesc_edma() 506 rxs->rs_rssi_ctl[1] = MS(rxsp->status1, AR_RxRSSIAnt01); in ath9k_hw_process_rxdesc_edma() 507 rxs->rs_rssi_ctl[2] = MS(rxsp->status1, AR_RxRSSIAnt02); in ath9k_hw_process_rxdesc_edma() 517 rxs->rs_rate = MS(rxsp->status1, AR_RxRate); in ath9k_hw_process_rxdesc_edma()
|
D | mac.h | 290 u32 status1; member 302 u32 status1; member 329 #define ds_txstatus1 u.tx.status1 340 #define ds_rxstatus1 u.rx.status1
|
/Linux-v4.19/drivers/mmc/host/ |
D | wmt-sdmmc.c | 378 u32 status1; in wmt_mci_regular_isr() local 386 status1 = readb(priv->sdmmc_base + SDMMC_STS1); in wmt_mci_regular_isr() 408 if (status1 & STS1_CMDRSP_DONE) { in wmt_mci_regular_isr() 411 } else if ((status1 & STS1_RSP_TIMEOUT) || in wmt_mci_regular_isr() 412 (status1 & STS1_DATA_TIMEOUT)) { in wmt_mci_regular_isr() 429 if (status1 & STS1_CMDRSP_DONE) { in wmt_mci_regular_isr() 436 if ((status1 & STS1_RSP_TIMEOUT) || in wmt_mci_regular_isr() 437 (status1 & STS1_DATA_TIMEOUT)) { in wmt_mci_regular_isr() 460 writeb(status1, priv->sdmmc_base + SDMMC_STS1); in wmt_mci_regular_isr()
|
/Linux-v4.19/drivers/tty/serial/8250/ |
D | 8250_port.c | 972 unsigned char scratch, status1, status2; in autoconfig_8250() local 978 status1 = serial_in(up, UART_SCR); in autoconfig_8250() 983 if (status1 == 0xa5 && status2 == 0x5a) in autoconfig_8250() 1008 unsigned char status1, status2; in autoconfig_16550a() local 1023 status1 = serial_in(up, UART_EXAR_DVID); in autoconfig_16550a() 1024 if (status1 == 0x82 || status1 == 0x84 || status1 == 0x88) { in autoconfig_16550a() 1050 status1 = serial_in(up, UART_IIR) >> 5; in autoconfig_16550a() 1054 if (status1 == 7) in autoconfig_16550a() 1082 status1 = serial8250_in_MCR(up); in autoconfig_16550a() 1086 if (!((status2 ^ status1) & UART_MCR_LOOP)) { in autoconfig_16550a() [all …]
|
/Linux-v4.19/drivers/media/i2c/ |
D | adv7180.c | 274 static v4l2_std_id adv7180_std_to_v4l2(u8 status1) in adv7180_std_to_v4l2() argument 277 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_std_to_v4l2() 280 switch (status1 & ADV7180_STATUS1_AUTOD_MASK) { in adv7180_std_to_v4l2() 325 static u32 adv7180_status_to_v4l2(u8 status1) in adv7180_status_to_v4l2() argument 327 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_status_to_v4l2() 336 int status1 = adv7180_read(state, ADV7180_REG_STATUS1); in __adv7180_status() local 338 if (status1 < 0) in __adv7180_status() 339 return status1; in __adv7180_status() 342 *status = adv7180_status_to_v4l2(status1); in __adv7180_status() 344 *std = adv7180_std_to_v4l2(status1); in __adv7180_status()
|
/Linux-v4.19/sound/soc/sh/rcar/ |
D | src.c | 336 u32 status0, status1; in rsnd_src_error_occurred() local 350 status1 = rsnd_mod_read(mod, SCU_SYS_STATUS1); in rsnd_src_error_occurred() 351 if ((status0 & val0) || (status1 & val1)) { in rsnd_src_error_occurred() 354 status0, status1); in rsnd_src_error_occurred()
|
/Linux-v4.19/arch/x86/math-emu/ |
D | fpu_entry.c | 267 unsigned short status1 = partial_status; in math_emulate() local 325 partial_status = status1; in math_emulate() 384 status1 & in math_emulate() 437 partial_status = status1; /* Undo any denorm tag, in math_emulate()
|
/Linux-v4.19/drivers/platform/x86/ |
D | compal-laptop.c | 508 u8 status1 = ec_read_u8(BAT_STATUS1); in bat_status() local 514 if (status1 & BAT_S1_FULL) in bat_status() 552 u8 status1 = ec_read_u8(BAT_STATUS1); in bat_capacity_level() local 556 || status1 & BAT_S1_EMPTY in bat_capacity_level() 561 if (status1 & BAT_S1_FULL) in bat_capacity_level()
|
/Linux-v4.19/drivers/net/hamradio/ |
D | 6pack.c | 116 unsigned char status1; member 147 if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) { in sp_xmit_on_air() 516 sp->status1 = 1; in resync_tnc() 616 sp->status1 = 1; in sixpack_open() 927 sp->status1 = cmd & SIXP_PRIO_DATA_MASK; in decode_prio_command()
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_target.c | 1833 ctio->u.status1.flags = cpu_to_le16(CTIO7_FLAGS_STATUS_MODE_1 | in qlt_24xx_retry_term_exchange() 1835 ctio->u.status1.ox_id = cpu_to_le16(entry->fcp_hdr_le.ox_id); in qlt_24xx_retry_term_exchange() 2168 ctio->u.status1.flags = cpu_to_le16(temp); in qlt_24xx_send_task_mgmt_ctio() 2170 ctio->u.status1.ox_id = cpu_to_le16(temp); in qlt_24xx_send_task_mgmt_ctio() 2171 ctio->u.status1.scsi_status = in qlt_24xx_send_task_mgmt_ctio() 2173 ctio->u.status1.response_len = cpu_to_le16(8); in qlt_24xx_send_task_mgmt_ctio() 2174 ctio->u.status1.sense_data[0] = resp_code; in qlt_24xx_send_task_mgmt_ctio() 2227 ctio->u.status1.flags = cpu_to_le16(temp); in qlt_send_resp_ctio() 2229 ctio->u.status1.ox_id = cpu_to_le16(temp); in qlt_send_resp_ctio() 2230 ctio->u.status1.scsi_status = in qlt_send_resp_ctio() [all …]
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | dma.h | 52 u32 status1; /* active descriptor, xmt error */ member
|
/Linux-v4.19/drivers/tty/serial/ |
D | sunsu.c | 1041 unsigned char status1, status2, scratch, scratch2, scratch3; in sunsu_autoconfig() local 1093 status1 = serial_inp(up, UART_MSR) & 0xF0; in sunsu_autoconfig() 1095 if (status1 != 0x90) in sunsu_autoconfig() 1155 status1 = serial_in(up, UART_SCR); in sunsu_autoconfig() 1160 if ((status1 != 0xa5) || (status2 != 0x5a)) in sunsu_autoconfig()
|