Home
last modified time | relevance | path

Searched refs:status1 (Results 1 – 25 of 68) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/
H A Dvehicle_ad_7181.c198 static v4l2_std_id adv7181_std_to_v4l2(u8 status1) in adv7181_std_to_v4l2() argument
201 if (!(status1 & ADV7181_STATUS1_IN_LOCK)) in adv7181_std_to_v4l2()
204 switch (status1 & ADV7181_STATUS1_AUTOD_MASK) { in adv7181_std_to_v4l2()
225 static u32 adv7181_status_to_v4l2(u8 status1) in adv7181_status_to_v4l2() argument
227 if (!(status1 & ADV7181_STATUS1_IN_LOCK)) in adv7181_status_to_v4l2()
237 unsigned char status1 = 0; in adv7181_vehicle_status() local
239 status1 = vehicle_generic_sensor_read(ad, ADV7181_STATUS1_REG); in adv7181_vehicle_status()
240 if (status1) in adv7181_vehicle_status()
241 return status1; in adv7181_vehicle_status()
244 *status = adv7181_status_to_v4l2(status1); in adv7181_vehicle_status()
[all …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dadp5061.c158 u8 *status1, u8 *status2) in adp5061_get_status() argument
169 *status1 = buf[0]; in adp5061_get_status()
423 u8 status1, status2; in adp5061_get_chg_type() local
426 ret = adp5061_get_status(st, &status1, &status2); in adp5061_get_chg_type()
430 chg_type = ADP5061_CHG_STATUS_1_CHG_STATUS(status1); in adp5061_get_chg_type()
442 u8 status1, status2; in adp5061_get_charger_status() local
445 ret = adp5061_get_status(st, &status1, &status2); in adp5061_get_charger_status()
449 switch (ADP5061_CHG_STATUS_1_CHG_STATUS(status1)) { in adp5061_get_charger_status()
475 u8 status1, status2; in adp5061_get_battery_status() local
478 ret = adp5061_get_status(st, &status1, &status2); in adp5061_get_battery_status()
[all …]
H A Dtps65090-charger.c142 uint8_t status1 = 0; in tps65090_charger_isr() local
146 &status1); in tps65090_charger_isr()
234 uint8_t status1 = 0; in tps65090_charger_probe() local
285 &status1); in tps65090_charger_probe()
292 if (status1 != 0) { in tps65090_charger_probe()
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-s35390a.c148 static int s35390a_read_status(struct s35390a *s35390a, char *status1) in s35390a_read_status() argument
152 ret = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, status1, 1); in s35390a_read_status()
156 if (*status1 & S35390A_FLAG_POC) { in s35390a_read_status()
163 } else if (*status1 & S35390A_FLAG_BLD) in s35390a_read_status()
432 char buf, status1; in s35390a_probe() local
461 err_read = s35390a_read_status(s35390a, &status1); in s35390a_probe()
467 if (status1 & S35390A_FLAG_24H) in s35390a_probe()
472 if (status1 & S35390A_FLAG_INT2) { in s35390a_probe()
497 if (status1 & S35390A_FLAG_INT2) in s35390a_probe()
/OK3568_Linux_fs/kernel/drivers/staging/media/zoran/
H A Dzr36050.c91 ptr->status1 = zr36050_read(ptr, ZR050_STATUS_1); in zr36050_read_status1()
94 return ptr->status1; in zr36050_read_status1()
129 ptr->name, ptr->status1); in zr36050_wait_end()
165 if ((ptr->status1 & 0x4) == 0) { in zr36050_basic_test()
448 ptr->name, ptr->status1); in zr36050_init()
450 if ((ptr->status1 & 0x4) == 0) { in zr36050_init()
517 ptr->name, ptr->status1); in zr36050_init()
519 if ((ptr->status1 & 0x4) == 0) { in zr36050_init()
609 *ival = ptr->status1; in zr36050_control()
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Dbcm3510.c62 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()
/OK3568_Linux_fs/kernel/drivers/staging/fieldbus/anybuss/
H A Darcx-anybus.c232 u8 status1, cap; in controller_probe() local
253 status1 = readb(cd->cpld_base + CPLD_STATUS1); in controller_probe()
257 'A' + ((status1 >> 5) & 0x7), in controller_probe()
258 (status1 >> 2) & 0x7); in controller_probe()
269 if (status1 & CPLD_STATUS1_AB) { in controller_probe()
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dam571x-idk.dts47 label = "status1:red:usr";
53 label = "status1:green:usr";
59 label = "status1:blue:mmc0";
H A Dam572x-idk.dts54 label = "status1:red:cpu1";
61 label = "status1:green:usr";
67 label = "status1:blue:mmc0";
/OK3568_Linux_fs/kernel/sound/usb/
H A Dmixer_quirks.c1893 u32 *status1) in snd_rme_get_status1() argument
1902 err = snd_rme_read_value(chip, SND_RME_GET_STATUS1, status1); in snd_rme_get_status1()
1910 u32 status1; in snd_rme_rate_get() local
1915 err = snd_rme_get_status1(kcontrol, &status1); in snd_rme_rate_get()
1920 idx = SND_RME_CLK_SYSTEM(status1); in snd_rme_rate_get()
1925 idx = SND_RME_CLK_AES(status1); in snd_rme_rate_get()
1930 idx = SND_RME_CLK_SPDIF(status1); in snd_rme_rate_get()
1944 u32 status1; in snd_rme_sync_state_get() local
1948 err = snd_rme_get_status1(kcontrol, &status1); in snd_rme_sync_state_get()
1953 if (status1 & SND_RME_CLK_AES_SYNC) in snd_rme_sync_state_get()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/runtime/cases/
H A Dx32lib.py20 status1 = subprocess.call(cmd, shell=True)
26 self.assertTrue(status1 == 0 and status2 == 0, msg=msg)
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-stu300.c225 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()
/OK3568_Linux_fs/kernel/drivers/scsi/aic7xxx/
H A Daic7xxx_pci.c1167 u_int status1; in ahc_pci_test_register_access() local
1217 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access()
1220 status1, /*bytes*/1); in ahc_pci_test_register_access()
1229 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access()
1231 if ((status1 & STA) != 0) in ahc_pci_test_register_access()
1238 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access()
1241 status1, /*bytes*/1); in ahc_pci_test_register_access()
1924 u_int status1; in ahc_pci_intr() local
1930 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_intr()
1937 if (status1 & DPE) { in ahc_pci_intr()
[all …]
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dwmt-sdmmc.c374 u32 status1; in wmt_mci_regular_isr() local
382 status1 = readb(priv->sdmmc_base + SDMMC_STS1); in wmt_mci_regular_isr()
404 if (status1 & STS1_CMDRSP_DONE) { in wmt_mci_regular_isr()
407 } else if ((status1 & STS1_RSP_TIMEOUT) || in wmt_mci_regular_isr()
408 (status1 & STS1_DATA_TIMEOUT)) { in wmt_mci_regular_isr()
425 if (status1 & STS1_CMDRSP_DONE) { in wmt_mci_regular_isr()
432 if ((status1 & STS1_RSP_TIMEOUT) || in wmt_mci_regular_isr()
433 (status1 & STS1_DATA_TIMEOUT)) { in wmt_mci_regular_isr()
456 writeb(status1, priv->sdmmc_base + SDMMC_STS1); in wmt_mci_regular_isr()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dam572x-idk-common.dtsi74 label = "status1:red:cpu1";
81 label = "status1:green:usr";
87 label = "status1:blue:mmc0";
H A Dam571x-idk.dts74 label = "status1:red:usr";
80 label = "status1:green:usr";
86 label = "status1:blue:mmc0";
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/
H A Dar9003_mac.h57 u32 status1; member
101 u32 status1; member
H A Dar9003_mac.c381 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()
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dadv7180.c268 static v4l2_std_id adv7180_std_to_v4l2(u8 status1) in adv7180_std_to_v4l2() argument
271 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_std_to_v4l2()
274 switch (status1 & ADV7180_STATUS1_AUTOD_MASK) { in adv7180_std_to_v4l2()
319 static u32 adv7180_status_to_v4l2(u8 status1) in adv7180_status_to_v4l2() argument
321 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_status_to_v4l2()
330 int status1 = adv7180_read(state, ADV7180_REG_STATUS1); in __adv7180_status() local
332 if (status1 < 0) in __adv7180_status()
333 return status1; in __adv7180_status()
336 *status = adv7180_status_to_v4l2(status1); in __adv7180_status()
338 *std = adv7180_std_to_v4l2(status1); in __adv7180_status()
/OK3568_Linux_fs/kernel/sound/soc/sh/rcar/
H A Dsrc.c399 u32 status0, status1; in rsnd_src_error_occurred() local
413 status1 = rsnd_mod_read(mod, SCU_SYS_STATUS1); in rsnd_src_error_occurred()
414 if ((status0 & val0) || (status1 & val1)) { in rsnd_src_error_occurred()
416 rsnd_mod_name(mod), status0, status1); in rsnd_src_error_occurred()
/OK3568_Linux_fs/kernel/drivers/tty/serial/8250/
H A D8250_port.c978 unsigned char scratch, status1, status2; in autoconfig_8250() local
984 status1 = serial_in(up, UART_SCR); in autoconfig_8250()
989 if (status1 == 0xa5 && status2 == 0x5a) in autoconfig_8250()
1014 unsigned char status1, status2; in autoconfig_16550a() local
1038 status1 = serial_in(up, UART_IIR) >> 5; in autoconfig_16550a()
1042 if (status1 == 7) in autoconfig_16550a()
1070 status1 = serial8250_in_MCR(up); in autoconfig_16550a()
1074 if (!((status2 ^ status1) & UART_MCR_LOOP)) { in autoconfig_16550a()
1076 serial8250_out_MCR(up, status1 ^ UART_MCR_LOOP); in autoconfig_16550a()
1080 serial8250_out_MCR(up, status1); in autoconfig_16550a()
[all …]
/OK3568_Linux_fs/kernel/drivers/rkflash/
H A Dsfc_nand.c436 u8 status, status1; in sfc_nand_get_ecc_status2() local
445 ret = sfc_nand_read_feature(0xF0, &status1); in sfc_nand_get_ecc_status2()
457 ecc = (ecc << 2) | ((status1 >> 4) & 0x03); in sfc_nand_get_ecc_status2()
485 u8 status, status1; in sfc_nand_get_ecc_status3() local
494 ret = sfc_nand_read_feature(0xF0, &status1); in sfc_nand_get_ecc_status3()
506 ecc = (ecc << 2) | ((status1 >> 4) & 0x03); in sfc_nand_get_ecc_status3()
/OK3568_Linux_fs/u-boot/drivers/rkflash/
H A Dsfc_nand.c451 u8 status, status1; in sfc_nand_get_ecc_status2() local
460 ret = sfc_nand_read_feature(0xF0, &status1); in sfc_nand_get_ecc_status2()
472 ecc = (ecc << 2) | ((status1 >> 4) & 0x03); in sfc_nand_get_ecc_status2()
500 u8 status, status1; in sfc_nand_get_ecc_status3() local
509 ret = sfc_nand_read_feature(0xF0, &status1); in sfc_nand_get_ecc_status3()
521 ecc = (ecc << 2) | ((status1 >> 4) & 0x03); in sfc_nand_get_ecc_status3()
/OK3568_Linux_fs/kernel/arch/x86/math-emu/
H A Dfpu_entry.c264 unsigned short status1 = partial_status; in math_emulate() local
322 partial_status = status1; in math_emulate()
381 status1 & in math_emulate()
434 partial_status = status1; /* Undo any denorm tag, in math_emulate()
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dcompal-laptop.c495 u8 status1 = ec_read_u8(BAT_STATUS1); in bat_status() local
501 if (status1 & BAT_S1_FULL) in bat_status()
539 u8 status1 = ec_read_u8(BAT_STATUS1); in bat_capacity_level() local
543 || status1 & BAT_S1_EMPTY in bat_capacity_level()
548 if (status1 & BAT_S1_FULL) in bat_capacity_level()

123