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

12

/drivers/staging/comedi/drivers/
H A Dcb_das16_cs.c82 unsigned short status1; member in struct:das16cs_private
121 devpriv->status1 &= ~0xf320;
122 devpriv->status1 |= (aref == AREF_DIFF) ? 0 : 0x0020;
123 outw(devpriv->status1, dev->iobase + DAS16CS_MISC1);
163 unsigned short status1; local
170 outw(devpriv->status1, dev->iobase + DAS16CS_MISC1);
173 status1 = devpriv->status1 & ~0xf;
175 status1 |= 0x0001;
177 status1 |
[all...]
/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 Dar9003_mac.c381 ts->desc_id = MS(ads->status1, AR_TxDescId);
504 rxs->rs_rssi_ctl[0] = MS(rxsp->status1, AR_RxRSSIAnt00);
505 rxs->rs_rssi_ctl[1] = MS(rxsp->status1, AR_RxRSSIAnt01);
506 rxs->rs_rssi_ctl[2] = MS(rxsp->status1, AR_RxRSSIAnt02);
516 rxs->rs_rate = MS(rxsp->status1, AR_RxRate);
H A Dmac.h288 u32 status1; member in struct:ar5416_desc::__anon4247::__anon4248
300 u32 status1; member in struct:ar5416_desc::__anon4247::__anon4249
327 #define ds_txstatus1 u.tx.status1
338 #define ds_rxstatus1 u.rx.status1
/drivers/media/i2c/
H A Dadv7180.c137 static v4l2_std_id adv7180_std_to_v4l2(u8 status1) argument
140 if (!(status1 & ADV7180_STATUS1_IN_LOCK))
143 switch (status1 & ADV7180_STATUS1_AUTOD_MASK) {
188 static u32 adv7180_status_to_v4l2(u8 status1) argument
190 if (!(status1 & ADV7180_STATUS1_IN_LOCK))
199 int status1 = i2c_smbus_read_byte_data(client, ADV7180_STATUS1_REG); local
201 if (status1 < 0)
202 return status1;
205 *status = adv7180_status_to_v4l2(status1);
207 *std = adv7180_std_to_v4l2(status1);
[all...]
/drivers/power/
H A Dtps65090-charger.c153 uint8_t status1 = 0; local
157 &status1);
236 uint8_t status1 = 0; local
290 &status1);
297 if (status1 != 0) {
/drivers/net/wireless/brcm80211/brcmsmac/
H A Ddma.h52 u32 status1; /* active descriptor, xmt error */ member in struct:dma64regs
/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);
574 memset(&st->status1,0,sizeof(st->status1));
[all...]
/drivers/scsi/aic7xxx/
H A Daic7xxx_pci.c1174 u_int status1; local
1224 status1 = ahc_pci_read_config(ahc->dev_softc,
1227 status1, /*bytes*/1);
1236 status1 = ahc_pci_read_config(ahc->dev_softc,
1238 if ((status1 & STA) != 0)
1245 status1 = ahc_pci_read_config(ahc->dev_softc,
1248 status1, /*bytes*/1);
1931 u_int status1; local
1937 status1 = ahc_pci_read_config(ahc->dev_softc,
1944 if (status1
[all...]
/drivers/media/pci/zoran/
H A Dzr36050.c120 ptr->status1 = zr36050_read(ptr, ZR050_STATUS_1);
123 return ptr->status1;
160 ptr->name, ptr->status1);
197 if ((ptr->status1 & 0x4) == 0) {
489 ptr->name, ptr->status1);
491 if ((ptr->status1 & 0x4) == 0) {
559 ptr->name, ptr->status1);
561 if ((ptr->status1 & 0x4) == 0) {
661 *ival = ptr->status1;
H A Dzr36050.h39 __u8 status1; member in struct:zr36050
/drivers/mmc/host/
H A Dwmt-sdmmc.c377 u32 status1; local
385 status1 = readb(priv->sdmmc_base + SDMMC_STS1);
407 if (status1 & STS1_CMDRSP_DONE) {
410 } else if ((status1 & STS1_RSP_TIMEOUT) ||
411 (status1 & STS1_DATA_TIMEOUT)) {
428 if (status1 & STS1_CMDRSP_DONE) {
435 if ((status1 & STS1_RSP_TIMEOUT) ||
436 (status1 & STS1_DATA_TIMEOUT)) {
459 writeb(status1, priv->sdmmc_base + SDMMC_STS1);
/drivers/i2c/busses/
H A Di2c-stu300.c225 u32 status1; local
229 status1 = stu300_r8(dev->virtbase + I2C_SR1);
231 if (!(status1 & I2C_SR1_EVF_IND))
254 if (status1 & I2C_SR1_ADSL_IND)
261 if (status1 & I2C_SR1_BTF_IND) {
270 if (status1 & I2C_SR1_SB_IND)
281 if (status1 & I2C_SR1_ADD10_IND)
295 mr_event, status1, status2);
/drivers/video/fbdev/
H A Dsh_mobile_hdmi.c1030 u8 status1, status2, mask1, mask2; local
1041 status1 = hdmi_read(hdmi, HDMI_INTERRUPT_STATUS_1);
1053 irq, status1, mask1, status2, mask2);
1055 if (!((status1 & mask1) | (status2 & mask2))) {
1057 } else if (status1 & 0xc0) {
1079 } else if (!(status1 & 0x80)) {
1087 } else if (status1 & 2) {
1093 } else if (status1 & 4) {
/drivers/scsi/qla2xxx/
H A Dqla_target.c1165 ctio->u.status1.flags =
1168 ctio->u.status1.ox_id = cpu_to_le16(entry->fcp_hdr_le.ox_id);
1333 ctio->u.status1.flags = (atio->u.isp24.attr << 9) |
1337 ctio->u.status1.ox_id = cpu_to_le16(temp);
1338 ctio->u.status1.scsi_status =
1340 ctio->u.status1.response_len = __constant_cpu_to_le16(8);
1341 ctio->u.status1.sense_data[0] = resp_code;
1907 (uint32_t)sizeof(ctio->u.status1.sense_data));
1928 ctio->u.status1.flags |= __constant_cpu_to_le16(
1933 ctio->u.status1
[all...]
H A Dqla_target.h466 } status1; member in union:ctio7_to_24xx::__anon6110
/drivers/net/hamradio/
H A D6pack.c116 unsigned char status1; member in struct:sixpack
147 if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) {
543 sp->status1 = 1;
647 sp->status1 = 1;
959 sp->status1 = cmd & SIXP_PRIO_DATA_MASK;
/drivers/platform/x86/
H A Dcompal-laptop.c506 u8 status1 = ec_read_u8(BAT_STATUS1); local
512 if (status1 & BAT_S1_FULL)
550 u8 status1 = ec_read_u8(BAT_STATUS1); local
554 || status1 & BAT_S1_EMPTY
559 if (status1 & BAT_S1_FULL)
/drivers/tty/serial/8250/
H A D8250_core.c862 unsigned char scratch, status1, status2; local
868 status1 = serial_in(up, UART_SCR);
873 if (status1 == 0xa5 && status2 == 0x5a)
915 unsigned char status1, status2; local
930 status1 = serial_in(up, UART_EXAR_DVID);
931 if (status1 == 0x82 || status1 == 0x84 || status1 == 0x88) {
979 status1 = serial_in(up, UART_MCR);
983 if (!((status2 ^ status1)
1101 unsigned char status1, scratch, scratch2, scratch3; local
[all...]
/drivers/tty/serial/
H A Dsunsu.c1028 unsigned char status1, status2, scratch, scratch2, scratch3; local
1080 status1 = serial_inp(up, UART_MSR) & 0xF0;
1082 if (status1 != 0x90)
1142 status1 = serial_in(up, UART_SCR);
1147 if ((status1 != 0xa5) || (status2 != 0x5a))
/drivers/dma/
H A Dcoh901318.c2003 u32 status1; local
2011 status1 = readl(virtbase + COH901318_INT_STATUS1);
2014 if (unlikely(status1 == 0 && status2 == 0)) {
2023 while (status1) {
2025 i = ffs(status1) - 1;
2032 status1 &= ~(1 << i);
/drivers/mtd/nand/
H A Ddocg4.c523 uint16_t status1 = readw(docptr + DOC_IOSPACE_DATA); local
528 __func__, status1, status2, status3);
530 if (status1 != DOCG4_PROGSTATUS_GOOD
535 "%02x, %02x, %02x\n", status1, status2, status3);
/drivers/hid/
H A Dhid-cp2112.c125 u8 status1; /* STATUS1_* */ member in struct:cp2112_xfer_status_report
1113 xfer->status0, xfer->status1,
1127 switch (xfer->status1) {
/drivers/usb/storage/
H A Dene_ub6250.c414 u8 status1; member in struct:ms_lib_type_extdat
827 info->MS_Lib.blkext[i].status1 = MS_REG_ST1_DEFAULT;
910 ExtraDat->status1 = 0x00; /* Not yet,fireware support */
1362 ExtraDat->status1 = 0x00; /* Not yet, waiting for fireware support */
2003 if (extdat.status1 & (MS_REG_ST1_DTER | MS_REG_ST1_EXER | MS_REG_ST1_FGER))
/drivers/net/ethernet/packetengines/
H A Dyellowfin.c1093 u8 status1 = buf_addr[data_size-2]; local
1096 if (status1 & 0xC0) dev->stats.rx_length_errors++;

Completed in 618 milliseconds

12