Searched refs:status1 (Results 1 - 25 of 46) sorted by relevance

12

/linux-master/drivers/rtc/
H A Drtc-s35390a.c148 static int s35390a_read_status(struct s35390a *s35390a, char *status1) argument
152 ret = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, status1, 1);
156 if (*status1 & S35390A_FLAG_POC) {
163 } else if (*status1 & S35390A_FLAG_BLD)
426 char buf, status1; local
455 err_read = s35390a_read_status(s35390a, &status1);
461 if (status1 & S35390A_FLAG_24H)
466 if (status1 & S35390A_FLAG_INT2) {
491 if (status1 & S35390A_FLAG_INT2)
/linux-master/drivers/power/supply/
H A Dadp5061.c158 u8 *status1, u8 *status2)
169 *status1 = buf[0];
423 u8 status1, status2; local
426 ret = adp5061_get_status(st, &status1, &status2);
430 chg_type = ADP5061_CHG_STATUS_1_CHG_STATUS(status1);
442 u8 status1, status2; local
445 ret = adp5061_get_status(st, &status1, &status2);
449 switch (ADP5061_CHG_STATUS_1_CHG_STATUS(status1)) {
475 u8 status1, status2; local
478 ret = adp5061_get_status(st, &status1,
157 adp5061_get_status(struct adp5061_state *st, u8 *status1, u8 *status2) argument
540 u8 status1, status2; local
[all...]
H A Dtps65090-charger.c142 uint8_t status1 = 0; local
146 &status1);
234 uint8_t status1 = 0; local
285 &status1);
292 if (status1 != 0) {
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dar9003_mac.h57 u32 status1; member in struct:ar9003_rxs
101 u32 status1; member in struct:ar9003_txs
H A Dmac.h294 u32 status1; member in struct:ar5416_desc::__anon1766::__anon1767
306 u32 status1; member in struct:ar5416_desc::__anon1766::__anon1768
333 #define ds_txstatus1 u.tx.status1
344 #define ds_rxstatus1 u.rx.status1
H A Dar9003_mac.c382 ts->desc_id = MS(ads->status1, AR_TxDescId);
506 rxs->rs_rssi_ctl[0] = MS(rxsp->status1, AR_RxRSSIAnt00);
507 rxs->rs_rssi_ctl[1] = MS(rxsp->status1, AR_RxRSSIAnt01);
508 rxs->rs_rssi_ctl[2] = MS(rxsp->status1, AR_RxRSSIAnt02);
518 rxs->rs_rate = MS(rxsp->status1, AR_RxRate);
/linux-master/drivers/staging/fieldbus/anybuss/
H A Darcx-anybus.c235 u8 status1, cap; local
256 status1 = readb(cd->cpld_base + CPLD_STATUS1);
260 'A' + ((status1 >> 5) & 0x7),
261 (status1 >> 2) & 0x7);
272 if (status1 & CPLD_STATUS1_AB) {
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddma.h52 u32 status1; /* active descriptor, xmt error */ member in struct:dma64regs
/linux-master/drivers/media/dvb-frontends/
H A Dbcm3510.c62 struct bcm3510_hab_cmd_status1 status1; member in struct:bcm3510_state
285 bcm3510_do_hab_cmd(st, CMD_STATUS, MSGID_STATUS1, NULL,0, (u8 *)&st->status1, sizeof(st->status1));
298 if (st->status1.STATUS1.RECEIVER_LOCK)
301 if (st->status1.STATUS1.FEC_LOCK)
304 if (st->status1.STATUS1.OUT_PLL_LOCK)
358 *snr = st->status1.SNR_EST0*1000 + ((st->status1.SNR_EST1*1000) >> 8);
575 memset(&st->status1,0,sizeof(st->status1));
[all...]
/linux-master/drivers/scsi/aic7xxx/
H A Daic7xxx_pci.c1167 u_int status1; local
1217 status1 = ahc_pci_read_config(ahc->dev_softc,
1220 status1, /*bytes*/1);
1229 status1 = ahc_pci_read_config(ahc->dev_softc,
1231 if ((status1 & STA) != 0)
1238 status1 = ahc_pci_read_config(ahc->dev_softc,
1241 status1, /*bytes*/1);
1924 u_int status1; local
1930 status1 = ahc_pci_read_config(ahc->dev_softc,
1937 if (status1
[all...]
/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-170.c317 static void vfe_isr_read(struct vfe_device *vfe, u32 *status0, u32 *status1) argument
320 *status1 = readl_relaxed(vfe->base + VFE_IRQ_STATUS_1);
323 writel_relaxed(*status1, vfe->base + VFE_IRQ_CLEAR_1);
347 u32 status0, status1, vfe_bus_status[VFE_LINE_NUM_MAX]; local
351 status1 = readl_relaxed(vfe->base + VFE_IRQ_STATUS_1);
354 writel_relaxed(status1, vfe->base + VFE_IRQ_CLEAR_1);
/linux-master/drivers/media/pci/zoran/
H A Dzr36050.c74 ptr->status1 = zr36050_read(ptr, ZR050_STATUS_1);
77 return ptr->status1;
107 ptr->name, ptr->status1);
142 if ((ptr->status1 & 0x4) == 0) {
431 ptr->name, ptr->status1);
433 if ((ptr->status1 & 0x4) == 0) {
500 ptr->name, ptr->status1);
502 if ((ptr->status1 & 0x4) == 0) {
600 *ival = ptr->status1;
H A Dzr36050.h20 __u8 status1; member in struct:zr36050
/linux-master/drivers/mmc/host/
H A Dwmt-sdmmc.c373 u32 status1; local
381 status1 = readb(priv->sdmmc_base + SDMMC_STS1);
403 if (status1 & STS1_CMDRSP_DONE) {
406 } else if ((status1 & STS1_RSP_TIMEOUT) ||
407 (status1 & STS1_DATA_TIMEOUT)) {
424 if (status1 & STS1_CMDRSP_DONE) {
431 if ((status1 & STS1_RSP_TIMEOUT) ||
432 (status1 & STS1_DATA_TIMEOUT)) {
455 writeb(status1, priv->sdmmc_base + SDMMC_STS1);
/linux-master/drivers/media/i2c/
H A Dadv7180.c276 static v4l2_std_id adv7180_std_to_v4l2(u8 status1) argument
279 if (!(status1 & ADV7180_STATUS1_IN_LOCK))
282 switch (status1 & ADV7180_STATUS1_AUTOD_MASK) {
327 static u32 adv7180_status_to_v4l2(u8 status1) argument
329 if (!(status1 & ADV7180_STATUS1_IN_LOCK))
338 int status1 = adv7180_read(state, ADV7180_REG_STATUS1); local
340 if (status1 < 0)
341 return status1;
344 *status = adv7180_status_to_v4l2(status1);
346 *std = adv7180_std_to_v4l2(status1);
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_port.c936 unsigned char scratch, status1, status2; local
942 status1 = serial_in(up, UART_SCR);
947 if (status1 == 0xa5 && status2 == 0x5a)
972 unsigned char status1, status2; local
1000 status1 = serial_in(up, UART_IIR) & UART_IIR_FIFO_ENABLED_16750;
1004 if (status1 == UART_IIR_FIFO_ENABLED_16750)
1032 status1 = serial8250_in_MCR(up);
1036 if (!((status2 ^ status1) & UART_MCR_LOOP)) {
1038 serial8250_out_MCR(up, status1 ^ UART_MCR_LOOP);
1042 serial8250_out_MCR(up, status1);
1145 unsigned char status1, scratch, scratch2, scratch3; local
[all...]
/linux-master/sound/soc/codecs/
H A Dcs35l56-shared.c391 unsigned int status1 = 0, status8 = 0, status20 = 0; local
416 regmap_read(cs35l56_base->regmap, CS35L56_IRQ1_EINT_1, &status1);
418 status1 &= ~mask1;
419 regmap_write(cs35l56_base->regmap, CS35L56_IRQ1_EINT_1, status1);
432 dev_dbg(cs35l56_base->dev, "%s: %#x %#x\n", __func__, status1, status8);
435 if (!status1 && !status8 && !status20)
438 if (status1 & CS35L56_AMP_SHORT_ERR_EINT1_MASK)
/linux-master/arch/x86/math-emu/
H A Dfpu_entry.c265 unsigned short status1 = partial_status; local
323 partial_status = status1;
382 status1 &
435 partial_status = status1; /* Undo any denorm tag,
/linux-master/sound/soc/sh/rcar/
H A Dsrc.c409 u32 status0, status1; local
423 status1 = rsnd_mod_read(mod, SCU_SYS_STATUS1);
424 if ((status0 & val0) || (status1 & val1)) {
426 rsnd_mod_name(mod), status0, status1);
/linux-master/sound/usb/
H A Dmixer_quirks.c2216 u32 *status1)
2225 err = snd_rme_read_value(chip, SND_RME_GET_STATUS1, status1);
2233 u32 status1; local
2238 err = snd_rme_get_status1(kcontrol, &status1);
2243 idx = SND_RME_CLK_SYSTEM(status1);
2248 idx = SND_RME_CLK_AES(status1);
2253 idx = SND_RME_CLK_SPDIF(status1);
2267 u32 status1; local
2271 err = snd_rme_get_status1(kcontrol, &status1);
2276 if (status1
2215 snd_rme_get_status1(struct snd_kcontrol *kcontrol, u32 *status1) argument
2297 u32 status1; local
2310 u32 status1; local
2323 u32 status1; local
2338 u32 status1; local
[all...]
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_target.c1978 ctio->u.status1.flags = cpu_to_le16(tmp);
1979 ctio->u.status1.ox_id = entry->fcp_hdr_le.ox_id;
1983 le16_to_cpu(ctio->u.status1.flags),
1984 le16_to_cpu(ctio->u.status1.ox_id),
2271 ctio->u.status1.flags = cpu_to_le16(temp);
2273 ctio->u.status1.ox_id = cpu_to_le16(temp);
2274 ctio->u.status1.scsi_status =
2276 ctio->u.status1.response_len = cpu_to_le16(8);
2277 ctio->u.status1.sense_data[0] = resp_code;
2328 ctio->u.status1
[all...]
/linux-master/drivers/iio/accel/
H A Dadxl372.c575 u8 *status1, u8 *status2,
590 *status1 = (val >> 24) & 0x0F;
639 u8 status1, status2; local
643 ret = adxl372_get_status(st, &status1, &status2, &fifo_entries);
650 ADXL372_STATUS_1_FIFO_FULL(status1)) {
574 adxl372_get_status(struct adxl372_state *st, u8 *status1, u8 *status2, u16 *fifo_entries) argument
/linux-master/drivers/iio/adc/
H A Dqcom-spmi-adc5.c201 u8 status1; local
205 ret = adc5_read(adc, ADC5_USR_STATUS1, &status1,
206 sizeof(status1));
210 status1 &= ADC5_USR_STATUS1_REQ_STS_EOC_MASK;
211 if (status1 == ADC5_USR_STATUS1_EOC)
/linux-master/drivers/net/hamradio/
H A D6pack.c117 unsigned char status1; member in struct:sixpack
148 if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) {
511 sp->status1 = 1;
607 sp->status1 = 1;
896 sp->status1 = cmd & SIXP_PRIO_DATA_MASK;
/linux-master/drivers/platform/x86/
H A Dcompal-laptop.c493 u8 status1 = ec_read_u8(BAT_STATUS1); local
499 if (status1 & BAT_S1_FULL)
537 u8 status1 = ec_read_u8(BAT_STATUS1); local
541 || status1 & BAT_S1_EMPTY
546 if (status1 & BAT_S1_FULL)

Completed in 320 milliseconds

12