/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
H A D | signal_test_013.cpp | 101 int *status1 = nullptr; in TestSigMultiPthread() local 122 pthread_join(thread, reinterpret_cast<void **>(&status1)); in TestSigMultiPthread() 123 if ((int)(intptr_t)status1 != 0) { in TestSigMultiPthread() 126 pthread_join(thread1, reinterpret_cast<void **>(&status1)); in TestSigMultiPthread() 127 if ((int)(intptr_t)status1 != 0) { in TestSigMultiPthread() 130 pthread_join(thread2, reinterpret_cast<void **>(&status1)); in TestSigMultiPthread() 131 if ((int)(intptr_t)status1 != 0) { in TestSigMultiPthread()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | adp5061.c | 158 u8 *status1, u8 *status2) in adp5061_get_status() 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, in adp5061_get_battery_status() 157 adp5061_get_status(struct adp5061_state *st, u8 *status1, u8 *status2) adp5061_get_status() argument 537 u8 status1, status2; adp5061_get_property() local [all...] |
H A D | tps65090-charger.c | 142 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()
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | adp5061.c | 158 u8 *status1, u8 *status2) in adp5061_get_status() 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, in adp5061_get_battery_status() 157 adp5061_get_status(struct adp5061_state *st, u8 *status1, u8 *status2) adp5061_get_status() argument 540 u8 status1, status2; adp5061_get_property() local [all...] |
H A D | tps65090-charger.c | 142 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()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-s35390a.c | 148 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()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-s35390a.c | 148 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() 426 char buf, status1; in s35390a_probe() local 455 err_read = s35390a_read_status(s35390a, &status1); in s35390a_probe() 461 if (status1 & S35390A_FLAG_24H) in s35390a_probe() 466 if (status1 & S35390A_FLAG_INT2) { in s35390a_probe() 491 if (status1 & S35390A_FLAG_INT2) in s35390a_probe()
|
/kernel/linux/linux-5.10/drivers/staging/fieldbus/anybuss/ |
H A D | arcx-anybus.c | 232 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()
|
/kernel/linux/linux-6.6/drivers/staging/fieldbus/anybuss/ |
H A D | arcx-anybus.c | 232 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()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A 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() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A 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() [all...] |
/kernel/linux/linux-5.10/sound/usb/ |
H A D | mixer_quirks.c | 1893 u32 *status1) in snd_rme_get_status1() 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 in snd_rme_sync_state_get() 1892 snd_rme_get_status1(struct snd_kcontrol *kcontrol, u32 *status1) snd_rme_get_status1() argument 1974 u32 status1; snd_rme_spdif_if_get() local 1987 u32 status1; snd_rme_spdif_format_get() local 2000 u32 status1; snd_rme_sync_source_get() local 2015 u32 status1; snd_rme_current_freq_get() local [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | cs35l56-shared.c | 334 unsigned int status1 = 0, status8 = 0, status20 = 0; in cs35l56_irq() local 359 regmap_read(cs35l56_base->regmap, CS35L56_IRQ1_EINT_1, &status1); in cs35l56_irq() 361 status1 &= ~mask1; in cs35l56_irq() 362 regmap_write(cs35l56_base->regmap, CS35L56_IRQ1_EINT_1, status1); in cs35l56_irq() 375 dev_dbg(cs35l56_base->dev, "%s: %#x %#x\n", __func__, status1, status8); in cs35l56_irq() 378 if (!status1 && !status8 && !status20) in cs35l56_irq() 381 if (status1 & CS35L56_AMP_SHORT_ERR_EINT1_MASK) in cs35l56_irq()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | wmt-sdmmc.c | 374 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()
|
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
H A D | zr36050.c | 91 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()
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | wmt-sdmmc.c | 373 u32 status1; in wmt_mci_regular_isr() local 381 status1 = readb(priv->sdmmc_base + SDMMC_STS1); in wmt_mci_regular_isr() 403 if (status1 & STS1_CMDRSP_DONE) { in wmt_mci_regular_isr() 406 } else if ((status1 & STS1_RSP_TIMEOUT) || in wmt_mci_regular_isr() 407 (status1 & STS1_DATA_TIMEOUT)) { in wmt_mci_regular_isr() 424 if (status1 & STS1_CMDRSP_DONE) { in wmt_mci_regular_isr() 431 if ((status1 & STS1_RSP_TIMEOUT) || in wmt_mci_regular_isr() 432 (status1 & STS1_DATA_TIMEOUT)) { in wmt_mci_regular_isr() 455 writeb(status1, priv->sdmmc_base + SDMMC_STS1); in wmt_mci_regular_isr()
|
/kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
H A D | zr36050.c | 74 ptr->status1 = zr36050_read(ptr, ZR050_STATUS_1); in zr36050_read_status1() 77 return ptr->status1; in zr36050_read_status1() 107 ptr->name, ptr->status1); in zr36050_wait_end() 142 if ((ptr->status1 & 0x4) == 0) { in zr36050_basic_test() 431 ptr->name, ptr->status1); in zr36050_init() 433 if ((ptr->status1 & 0x4) == 0) { in zr36050_init() 500 ptr->name, ptr->status1); in zr36050_init() 502 if ((ptr->status1 & 0x4) == 0) { in zr36050_init() 600 *ival = ptr->status1; in zr36050_control()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_pci.c | 1167 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 in ahc_pci_intr() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_pci.c | 1167 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 in ahc_pci_intr() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_mac.h | 57 u32 status1; member 101 u32 status1; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_mac.h | 57 u32 status1; member 101 u32 status1; member
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | adv7180.c | 268 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() [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | adv7180.c | 275 static v4l2_std_id adv7180_std_to_v4l2(u8 status1) in adv7180_std_to_v4l2() argument 278 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_std_to_v4l2() 281 switch (status1 & ADV7180_STATUS1_AUTOD_MASK) { in adv7180_std_to_v4l2() 326 static u32 adv7180_status_to_v4l2(u8 status1) in adv7180_status_to_v4l2() argument 328 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_status_to_v4l2() 337 int status1 = adv7180_read(state, ADV7180_REG_STATUS1); in __adv7180_status() local 339 if (status1 < 0) in __adv7180_status() 340 return status1; in __adv7180_status() 343 *status = adv7180_status_to_v4l2(status1); in __adv7180_status() 345 *std = adv7180_std_to_v4l2(status1); in __adv7180_status() [all...] |
/kernel/linux/linux-6.6/sound/usb/ |
H A D | mixer_quirks.c | 2216 u32 *status1) in snd_rme_get_status1() 2225 err = snd_rme_read_value(chip, SND_RME_GET_STATUS1, status1); in snd_rme_get_status1() 2233 u32 status1; in snd_rme_rate_get() local 2238 err = snd_rme_get_status1(kcontrol, &status1); in snd_rme_rate_get() 2243 idx = SND_RME_CLK_SYSTEM(status1); in snd_rme_rate_get() 2248 idx = SND_RME_CLK_AES(status1); in snd_rme_rate_get() 2253 idx = SND_RME_CLK_SPDIF(status1); in snd_rme_rate_get() 2267 u32 status1; in snd_rme_sync_state_get() local 2271 err = snd_rme_get_status1(kcontrol, &status1); in snd_rme_sync_state_get() 2276 if (status1 in snd_rme_sync_state_get() 2215 snd_rme_get_status1(struct snd_kcontrol *kcontrol, u32 *status1) snd_rme_get_status1() argument 2297 u32 status1; snd_rme_spdif_if_get() local 2310 u32 status1; snd_rme_spdif_format_get() local 2323 u32 status1; snd_rme_sync_source_get() local 2338 u32 status1; snd_rme_current_freq_get() local [all...] |