Home
last modified time | relevance | path

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

123

/linux-6.15/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()
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()
540 u8 status1, status2; in adp5061_get_property() local
[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()
/linux-6.15/drivers/rtc/
H A Drtc-s35390a.c146 static int s35390a_read_status(struct s35390a *s35390a, char *status1) in s35390a_read_status() argument
150 ret = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, status1, 1); in s35390a_read_status()
154 if (*status1 & S35390A_FLAG_POC) { in s35390a_read_status()
161 } else if (*status1 & S35390A_FLAG_BLD) in s35390a_read_status()
425 char buf, status1; in s35390a_probe() local
454 err_read = s35390a_read_status(s35390a, &status1); in s35390a_probe()
460 if (status1 & S35390A_FLAG_24H) in s35390a_probe()
465 if (status1 & S35390A_FLAG_INT2) { in s35390a_probe()
490 if (status1 & S35390A_FLAG_INT2) in s35390a_probe()
/linux-6.15/drivers/staging/gpib/tms9914/
H A Dtms9914.c697 int status0, status1; in tms9914_interrupt() local
701 status1 = read_byte(priv, ISR1); in tms9914_interrupt()
707 int status0, int status1) in tms9914_interrupt_have_status() argument
728 if (status1 & HR_SRQ) in tms9914_interrupt_have_status()
731 if (status1 & HR_MA) in tms9914_interrupt_have_status()
735 if (status1 & HR_UNC) { in tms9914_interrupt_have_status()
771 if (status1 & HR_ERR) { in tms9914_interrupt_have_status()
776 if (status1 & HR_IFC) { in tms9914_interrupt_have_status()
781 if (status1 & HR_GET) { in tms9914_interrupt_have_status()
787 if (status1 & HR_DCAS) { in tms9914_interrupt_have_status()
[all …]
/linux-6.15/drivers/media/pci/zoran/
H A 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()
/linux-6.15/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()
/linux-6.15/drivers/staging/gpib/nec7210/
H A Dnec7210.c834 int status1, status2; in nec7210_interrupt() local
837 status1 = read_byte(priv, ISR1); in nec7210_interrupt()
845 struct nec7210_priv *priv, int status1, int status2) in nec7210_interrupt_have_status() argument
873 if (status1 & HR_END) { in nec7210_interrupt_have_status()
880 if ((status1 & HR_DI)) { in nec7210_interrupt_have_status()
898 if ((status1 & HR_DO)) { in nec7210_interrupt_have_status()
924 if (status1 & HR_CPT) in nec7210_interrupt_have_status()
927 if (status1 & HR_ERR) in nec7210_interrupt_have_status()
930 if (status1 & HR_DEC) { in nec7210_interrupt_have_status()
940 if (status1 & HR_DET) in nec7210_interrupt_have_status()
[all …]
/linux-6.15/drivers/scsi/aic7xxx/
H A Daic7xxx_pci.c1167 u_int status1; in ahc_pci_test_register_access() local
1220 status1, /*bytes*/1); in ahc_pci_test_register_access()
1231 if ((status1 & STA) != 0) 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
1937 if (status1 & DPE) { in ahc_pci_intr()
1942 if (status1 & SSE) { in ahc_pci_intr()
1945 if (status1 & RMA) { in ahc_pci_intr()
1948 if (status1 & RTA) { in ahc_pci_intr()
1951 if (status1 & STA) { in ahc_pci_intr()
[all …]
/linux-6.15/drivers/net/wireless/ath/ath9k/
H A Dar9003_mac.h57 u32 status1; member
101 u32 status1; member
H A Dmac.h294 u32 status1; member
306 u32 status1; member
333 #define ds_txstatus1 u.tx.status1
344 #define ds_rxstatus1 u.rx.status1
/linux-6.15/drivers/mmc/host/
H A 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-6.15/arch/arm/boot/dts/ti/omap/
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";
/linux-6.15/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-17x.c301 static void vfe_isr_read(struct vfe_device *vfe, u32 *status0, u32 *status1) in vfe_isr_read() argument
304 *status1 = readl_relaxed(vfe->base + VFE_IRQ_STATUS_1); in vfe_isr_read()
307 writel_relaxed(*status1, vfe->base + VFE_IRQ_CLEAR_1); in vfe_isr_read()
331 u32 status0, status1, vfe_bus_status[VFE_LINE_NUM_MAX]; in vfe_isr() local
335 status1 = readl_relaxed(vfe->base + VFE_IRQ_STATUS_1); in vfe_isr()
338 writel_relaxed(status1, vfe->base + VFE_IRQ_CLEAR_1); in vfe_isr()
/linux-6.15/sound/soc/codecs/
H A Dcs35l56-shared.c434 unsigned int status1 = 0, status8 = 0, status20 = 0; in cs35l56_irq() local
459 regmap_read(cs35l56_base->regmap, CS35L56_IRQ1_EINT_1, &status1); in cs35l56_irq()
461 status1 &= ~mask1; in cs35l56_irq()
462 regmap_write(cs35l56_base->regmap, CS35L56_IRQ1_EINT_1, status1); in cs35l56_irq()
475 dev_dbg(cs35l56_base->dev, "%s: %#x %#x\n", __func__, status1, status8); in cs35l56_irq()
478 if (!status1 && !status8 && !status20) in cs35l56_irq()
481 if (status1 & CS35L56_AMP_SHORT_ERR_EINT1_MASK) in cs35l56_irq()
/linux-6.15/drivers/media/i2c/
H A Dadv7180.c277 static v4l2_std_id adv7180_std_to_v4l2(u8 status1) in adv7180_std_to_v4l2() argument
280 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_std_to_v4l2()
283 switch (status1 & ADV7180_STATUS1_AUTOD_MASK) { in adv7180_std_to_v4l2()
328 static u32 adv7180_status_to_v4l2(u8 status1) in adv7180_status_to_v4l2() argument
330 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_status_to_v4l2()
339 int status1 = adv7180_read(state, ADV7180_REG_STATUS1); in __adv7180_status() local
341 if (status1 < 0) in __adv7180_status()
342 return status1; in __adv7180_status()
345 *status = adv7180_status_to_v4l2(status1); in __adv7180_status()
347 *std = adv7180_std_to_v4l2(status1); in __adv7180_status()
/linux-6.15/sound/usb/
H A Dmixer_quirks.c2219 u32 *status1) in snd_rme_get_status1() argument
2236 u32 status1; in snd_rme_rate_get() local
2246 idx = SND_RME_CLK_SYSTEM(status1); in snd_rme_rate_get()
2251 idx = SND_RME_CLK_AES(status1); in snd_rme_rate_get()
2256 idx = SND_RME_CLK_SPDIF(status1); in snd_rme_rate_get()
2270 u32 status1; in snd_rme_sync_state_get() local
2279 if (status1 & SND_RME_CLK_AES_SYNC) in snd_rme_sync_state_get()
2300 u32 status1; in snd_rme_spdif_if_get() local
2313 u32 status1; in snd_rme_spdif_format_get() local
2326 u32 status1; in snd_rme_sync_source_get() local
[all …]
/linux-6.15/drivers/tty/serial/8250/
H A 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
1015 if (status1 == UART_IIR_FIFO_ENABLED_16750) in autoconfig_16550a()
1043 status1 = serial8250_in_MCR(up); in autoconfig_16550a()
1047 if (!((status2 ^ status1) & UART_MCR_LOOP)) { in autoconfig_16550a()
1053 serial8250_out_MCR(up, status1); in autoconfig_16550a()
1055 if ((status2 ^ status1) & UART_MCR_LOOP) { in autoconfig_16550a()
1095 if (status1 == UART_IIR_FIFO_ENABLED_16550A && in autoconfig_16550a()
[all …]
/linux-6.15/arch/x86/math-emu/
H A 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-6.15/drivers/staging/gpib/hp_82335/
H A Dhp82335.c356 int status1, status2; in hp82335_interrupt() local
363 status1 = read_byte(&priv->tms9914_priv, ISR0); in hp82335_interrupt()
366 retval = tms9914_interrupt_have_status(board, &priv->tms9914_priv, status1, status2); in hp82335_interrupt()
/linux-6.15/drivers/platform/x86/
H A 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-6.15/drivers/net/hamradio/
H A D6pack.c111 u8 status1; member
142 if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) { in sp_xmit_on_air()
505 sp->status1 = 1; in resync_tnc()
596 sp->status1 = 1; in sixpack_open()
876 sp->status1 = cmd & SIXP_PRIO_DATA_MASK; in decode_prio_command()
/linux-6.15/drivers/iio/accel/
H A Dadxl380.c899 static int adxl380_get_status(struct adxl380_state *st, u8 *status0, u8 *status1) in adxl380_get_status() argument
910 *status1 = st->transf_buf[1]; in adxl380_get_status()
930 u8 status1) in adxl380_push_event() argument
932 if (FIELD_GET(ADXL380_STATUS_1_ACT_MSK, status1)) in adxl380_push_event()
938 if (FIELD_GET(ADXL380_STATUS_1_INACT_MSK, status1)) in adxl380_push_event()
943 if (FIELD_GET(ADXL380_STATUS_1_SINGLE_TAP_MSK, status1)) in adxl380_push_event()
949 if (FIELD_GET(ADXL380_STATUS_1_DOUBLE_TAP_MSK, status1)) in adxl380_push_event()
960 u8 status0, status1; in adxl380_irq_handler() local
967 ret = adxl380_get_status(st, &status0, &status1); in adxl380_irq_handler()
971 adxl380_push_event(indio_dev, iio_get_time_ns(indio_dev), status1); in adxl380_irq_handler()
/linux-6.15/sound/soc/renesas/rcar/
H A Dsrc.c461 u32 status0, status1; in rsnd_src_error_occurred() local
475 status1 = rsnd_mod_read(mod, SCU_SYS_STATUS1); in rsnd_src_error_occurred()
476 if ((status0 & val0) || (status1 & val1)) { in rsnd_src_error_occurred()
478 rsnd_mod_name(mod), status0, status1); in rsnd_src_error_occurred()
/linux-6.15/drivers/scsi/qla2xxx/
H A Dqla_target.c2274 ctio->u.status1.scsi_status = in qlt_24xx_send_task_mgmt_ctio()
2331 ctio->u.status1.scsi_status = in qlt_send_resp_ctio()
2336 if (ctio->u.status1.residual != 0) in qlt_send_resp_ctio()
2337 ctio->u.status1.scsi_status |= in qlt_send_resp_ctio()
2883 ctio->u.status1.flags &= in qlt_24xx_init_ctio_to_isp()
2885 ctio->u.status1.flags |= in qlt_24xx_init_ctio_to_isp()
2887 ctio->u.status1.scsi_status |= in qlt_24xx_init_ctio_to_isp()
2889 ctio->u.status1.sense_length = in qlt_24xx_init_ctio_to_isp()
2902 ctio->u.status1.flags &= in qlt_24xx_init_ctio_to_isp()
2904 ctio->u.status1.flags |= in qlt_24xx_init_ctio_to_isp()
[all …]

123