Home
last modified time | relevance | path

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

123

/Linux-v6.6/drivers/power/supply/
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 …]
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()
/Linux-v6.6/drivers/rtc/
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()
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()
/Linux-v6.6/drivers/media/pci/zoran/
Dzr36050.c74 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()
Dzr36050.h20 __u8 status1; member
/Linux-v6.6/drivers/staging/fieldbus/anybuss/
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()
/Linux-v6.6/drivers/media/dvb-frontends/
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()
/Linux-v6.6/sound/soc/codecs/
Dcs35l56-shared.c334 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()
/Linux-v6.6/drivers/scsi/aic7xxx/
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 …]
/Linux-v6.6/drivers/net/wireless/ath/ath9k/
Dar9003_mac.h57 u32 status1; member
101 u32 status1; member
Dmac.h294 u32 status1; member
306 u32 status1; member
333 #define ds_txstatus1 u.tx.status1
344 #define ds_rxstatus1 u.rx.status1
Dar9003_mac.c382 ts->desc_id = MS(ads->status1, AR_TxDescId); in ar9003_hw_proc_txdesc()
506 rxs->rs_rssi_ctl[0] = MS(rxsp->status1, AR_RxRSSIAnt00); in ath9k_hw_process_rxdesc_edma()
507 rxs->rs_rssi_ctl[1] = MS(rxsp->status1, AR_RxRSSIAnt01); in ath9k_hw_process_rxdesc_edma()
508 rxs->rs_rssi_ctl[2] = MS(rxsp->status1, AR_RxRSSIAnt02); in ath9k_hw_process_rxdesc_edma()
518 rxs->rs_rate = MS(rxsp->status1, AR_RxRate); in ath9k_hw_process_rxdesc_edma()
/Linux-v6.6/sound/usb/
Dmixer_quirks.c2216 u32 *status1) in snd_rme_get_status1() argument
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 & SND_RME_CLK_AES_SYNC) in snd_rme_sync_state_get()
[all …]
/Linux-v6.6/drivers/mmc/host/
Dwmt-sdmmc.c373 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()
/Linux-v6.6/arch/arm/boot/dts/ti/omap/
Dam572x-idk-common.dtsi74 label = "status1:red:cpu1";
81 label = "status1:green:usr";
87 label = "status1:blue:mmc0";
Dam571x-idk.dts74 label = "status1:red:usr";
80 label = "status1:green:usr";
86 label = "status1:blue:mmc0";
/Linux-v6.6/drivers/media/i2c/
Dadv7180.c275 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()
/Linux-v6.6/drivers/media/platform/qcom/camss/
Dcamss-vfe-170.c317 static void vfe_isr_read(struct vfe_device *vfe, u32 *status0, u32 *status1) in vfe_isr_read() argument
320 *status1 = readl_relaxed(vfe->base + VFE_IRQ_STATUS_1); in vfe_isr_read()
323 writel_relaxed(*status1, vfe->base + VFE_IRQ_CLEAR_1); in vfe_isr_read()
347 u32 status0, status1, vfe_bus_status[3]; in vfe_isr() local
351 status1 = readl_relaxed(vfe->base + VFE_IRQ_STATUS_1); in vfe_isr()
354 writel_relaxed(status1, vfe->base + VFE_IRQ_CLEAR_1); in vfe_isr()
/Linux-v6.6/drivers/tty/serial/8250/
D8250_port.c947 unsigned char scratch, status1, status2; in autoconfig_8250() local
953 status1 = serial_in(up, UART_SCR); in autoconfig_8250()
958 if (status1 == 0xa5 && status2 == 0x5a) in autoconfig_8250()
983 unsigned char status1, status2; in autoconfig_16550a() local
1011 status1 = serial_in(up, UART_IIR) & (UART_IIR_64BYTE_FIFO | in autoconfig_16550a()
1016 if (status1 == (UART_IIR_64BYTE_FIFO | UART_IIR_FIFO_ENABLED)) in autoconfig_16550a()
1044 status1 = serial8250_in_MCR(up); in autoconfig_16550a()
1048 if (!((status2 ^ status1) & UART_MCR_LOOP)) { in autoconfig_16550a()
1050 serial8250_out_MCR(up, status1 ^ UART_MCR_LOOP); in autoconfig_16550a()
1054 serial8250_out_MCR(up, status1); in autoconfig_16550a()
[all …]
/Linux-v6.6/sound/soc/sh/rcar/
Dsrc.c408 u32 status0, status1; in rsnd_src_error_occurred() local
422 status1 = rsnd_mod_read(mod, SCU_SYS_STATUS1); in rsnd_src_error_occurred()
423 if ((status0 & val0) || (status1 & val1)) { in rsnd_src_error_occurred()
425 rsnd_mod_name(mod), status0, status1); in rsnd_src_error_occurred()
/Linux-v6.6/arch/x86/math-emu/
Dfpu_entry.c265 unsigned short status1 = partial_status; in math_emulate() local
323 partial_status = status1; in math_emulate()
382 status1 & in math_emulate()
435 partial_status = status1; /* Undo any denorm tag, in math_emulate()
/Linux-v6.6/drivers/platform/x86/
Dcompal-laptop.c493 u8 status1 = ec_read_u8(BAT_STATUS1); in bat_status() local
499 if (status1 & BAT_S1_FULL) in bat_status()
537 u8 status1 = ec_read_u8(BAT_STATUS1); in bat_capacity_level() local
541 || status1 & BAT_S1_EMPTY in bat_capacity_level()
546 if (status1 & BAT_S1_FULL) in bat_capacity_level()
/Linux-v6.6/drivers/scsi/qla2xxx/
Dqla_target.c1968 ctio->u.status1.flags = cpu_to_le16(tmp); in qlt_24xx_retry_term_exchange()
1969 ctio->u.status1.ox_id = entry->fcp_hdr_le.ox_id; in qlt_24xx_retry_term_exchange()
1973 le16_to_cpu(ctio->u.status1.flags), in qlt_24xx_retry_term_exchange()
1974 le16_to_cpu(ctio->u.status1.ox_id), in qlt_24xx_retry_term_exchange()
2261 ctio->u.status1.flags = cpu_to_le16(temp); in qlt_24xx_send_task_mgmt_ctio()
2263 ctio->u.status1.ox_id = cpu_to_le16(temp); in qlt_24xx_send_task_mgmt_ctio()
2264 ctio->u.status1.scsi_status = in qlt_24xx_send_task_mgmt_ctio()
2266 ctio->u.status1.response_len = cpu_to_le16(8); in qlt_24xx_send_task_mgmt_ctio()
2267 ctio->u.status1.sense_data[0] = resp_code; in qlt_24xx_send_task_mgmt_ctio()
2318 ctio->u.status1.flags = cpu_to_le16(temp); in qlt_send_resp_ctio()
[all …]
/Linux-v6.6/drivers/iio/adc/
Dqcom-spmi-adc5.c201 u8 status1; in adc5_poll_wait_eoc() local
205 ret = adc5_read(adc, ADC5_USR_STATUS1, &status1, in adc5_poll_wait_eoc()
206 sizeof(status1)); in adc5_poll_wait_eoc()
210 status1 &= ADC5_USR_STATUS1_REQ_STS_EOC_MASK; in adc5_poll_wait_eoc()
211 if (status1 == ADC5_USR_STATUS1_EOC) in adc5_poll_wait_eoc()
/Linux-v6.6/drivers/net/hamradio/
D6pack.c117 unsigned char status1; member
148 if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) { in sp_xmit_on_air()
511 sp->status1 = 1; in resync_tnc()
607 sp->status1 = 1; in sixpack_open()
896 sp->status1 = cmd & SIXP_PRIO_DATA_MASK; in decode_prio_command()

123