Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/media/video/
Dadv7180.c102 static v4l2_std_id adv7180_std_to_v4l2(u8 status1) in adv7180_std_to_v4l2() argument
104 switch (status1 & ADV7180_STATUS1_AUTOD_MASK) { in adv7180_std_to_v4l2()
149 static u32 adv7180_status_to_v4l2(u8 status1) in adv7180_status_to_v4l2() argument
151 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_status_to_v4l2()
160 int status1 = i2c_smbus_read_byte_data(client, ADV7180_STATUS1_REG); in __adv7180_status() local
162 if (status1 < 0) in __adv7180_status()
163 return status1; in __adv7180_status()
166 *status = adv7180_status_to_v4l2(status1); in __adv7180_status()
168 *std = adv7180_std_to_v4l2(status1); in __adv7180_status()
/linux-3.4.99/drivers/staging/comedi/drivers/
Dcb_das16_cs.c87 unsigned short status1; member
296 devpriv->status1 &= ~0xf320; in das16cs_ai_rinsn()
297 devpriv->status1 |= (aref == AREF_DIFF) ? 0 : 0x0020; in das16cs_ai_rinsn()
298 outw(devpriv->status1, dev->iobase + 4); in das16cs_ai_rinsn()
493 unsigned short status1; in das16cs_ao_winsn() local
501 outw(devpriv->status1, dev->iobase + 4); in das16cs_ao_winsn()
504 status1 = devpriv->status1 & ~0xf; in das16cs_ao_winsn()
506 status1 |= 0x0001; in das16cs_ao_winsn()
508 status1 |= 0x0008; in das16cs_ao_winsn()
511 outw(status1, dev->iobase + 4); in das16cs_ao_winsn()
[all …]
/linux-3.4.99/drivers/staging/tidspbridge/rmgr/
Dnldr.c631 bool status1 = false; in nldr_get_fxn_addr() local
655 status1 = in nldr_get_fxn_addr()
657 if (!status1) in nldr_get_fxn_addr()
658 status1 = in nldr_get_fxn_addr()
663 if (!status1) { in nldr_get_fxn_addr()
665 status1 = in nldr_get_fxn_addr()
669 if (!status1) { in nldr_get_fxn_addr()
670 status1 = in nldr_get_fxn_addr()
675 if (status1) { in nldr_get_fxn_addr()
682 if (!status1) { in nldr_get_fxn_addr()
[all …]
Dmgr.c177 int status1 = 0; in mgr_enum_processor_info() local
226 while (status1 == 0) { in mgr_enum_processor_info()
227 status1 = dcd_enumerate_object(temp_index++, in mgr_enum_processor_info()
230 if (status1 != 0) in mgr_enum_processor_info()
Dnode.c1105 int status1 = 0; in node_create() local
1218 status1 = hnode_mgr->nldr_fxns.unload(hnode->nldr_node_obj, in node_create()
1222 if (status1) in node_create()
1224 __func__, status1); in node_create()
1369 int status1 = 0; in node_delete() local
1415 status1 = in node_delete()
1467 status1 = in node_delete()
1472 if (status1) in node_delete()
1474 " 0x%x\n", __func__, status1); in node_delete()
1476 status1 = in node_delete()
[all …]
/linux-3.4.99/drivers/media/video/zoran/
Dzr36050.c120 ptr->status1 = zr36050_read(ptr, ZR050_STATUS_1); in zr36050_read_status1()
123 return ptr->status1; in zr36050_read_status1()
160 ptr->name, ptr->status1); in zr36050_wait_end()
197 if ((ptr->status1 & 0x4) == 0) { in zr36050_basic_test()
489 ptr->name, ptr->status1); in zr36050_init()
491 if ((ptr->status1 & 0x4) == 0) { in zr36050_init()
559 ptr->name, ptr->status1); in zr36050_init()
561 if ((ptr->status1 & 0x4) == 0) { in zr36050_init()
661 *ival = ptr->status1; in zr36050_control()
Dzr36050.h39 __u8 status1; member
/linux-3.4.99/drivers/media/dvb/frontends/
Dbcm3510.c59 struct bcm3510_hab_cmd_status1 status1; member
272 …bcm3510_do_hab_cmd(st, CMD_STATUS, MSGID_STATUS1, NULL,0, (u8 *)&st->status1, sizeof(st->status1)); in bcm3510_refresh_state()
285 if (st->status1.STATUS1.RECEIVER_LOCK) in bcm3510_read_status()
288 if (st->status1.STATUS1.FEC_LOCK) in bcm3510_read_status()
291 if (st->status1.STATUS1.OUT_PLL_LOCK) in bcm3510_read_status()
345 *snr = st->status1.SNR_EST0*1000 + ((st->status1.SNR_EST1*1000) >> 8); in bcm3510_read_snr()
561 memset(&st->status1,0,sizeof(st->status1)); in bcm3510_set_frontend()
/linux-3.4.99/drivers/i2c/busses/
Di2c-stu300.c229 u32 status1; in stu300_event_occurred() local
233 status1 = stu300_r8(dev->virtbase + I2C_SR1); in stu300_event_occurred()
235 if (!(status1 & I2C_SR1_EVF_IND)) in stu300_event_occurred()
258 if (status1 & I2C_SR1_ADSL_IND) in stu300_event_occurred()
265 if (status1 & I2C_SR1_BTF_IND) { in stu300_event_occurred()
274 if (status1 & I2C_SR1_SB_IND) in stu300_event_occurred()
285 if (status1 & I2C_SR1_ADD10_IND) in stu300_event_occurred()
299 mr_event, status1, status2); in stu300_event_occurred()
/linux-3.4.99/drivers/net/wireless/ath/ath9k/
Dar9003_mac.h57 u32 status1; member
101 u32 status1; member
Dar9003_mac.c353 ts->desc_id = MS(ads->status1, AR_TxDescId); in ar9003_hw_proc_txdesc()
456 rxs->rs_rssi_ctl0 = MS(rxsp->status1, AR_RxRSSIAnt00); in ath9k_hw_process_rxdesc_edma()
457 rxs->rs_rssi_ctl1 = MS(rxsp->status1, AR_RxRSSIAnt01); in ath9k_hw_process_rxdesc_edma()
458 rxs->rs_rssi_ctl2 = MS(rxsp->status1, AR_RxRSSIAnt02); in ath9k_hw_process_rxdesc_edma()
468 rxs->rs_rate = MS(rxsp->status1, AR_RxRate); in ath9k_hw_process_rxdesc_edma()
Dmac.h290 u32 status1; member
302 u32 status1; member
329 #define ds_txstatus1 u.tx.status1
340 #define ds_rxstatus1 u.rx.status1
/linux-3.4.99/drivers/scsi/aic7xxx/
Daic7xxx_pci.c1174 u_int status1; in ahc_pci_test_register_access() local
1224 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access()
1227 status1, /*bytes*/1); in ahc_pci_test_register_access()
1236 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access()
1238 if ((status1 & STA) != 0) in ahc_pci_test_register_access()
1245 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_test_register_access()
1248 status1, /*bytes*/1); in ahc_pci_test_register_access()
1931 u_int status1; in ahc_pci_intr() local
1937 status1 = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_intr()
1944 if (status1 & DPE) { in ahc_pci_intr()
[all …]
/linux-3.4.99/drivers/video/
Dsh_mobile_hdmi.c917 u8 status1, status2, mask1, mask2; in sh_hdmi_hotplug() local
928 status1 = hdmi_read(hdmi, HDMI_INTERRUPT_STATUS_1); in sh_hdmi_hotplug()
940 irq, status1, mask1, status2, mask2); in sh_hdmi_hotplug()
942 if (!((status1 & mask1) | (status2 & mask2))) { in sh_hdmi_hotplug()
944 } else if (status1 & 0xc0) { in sh_hdmi_hotplug()
966 } else if (!(status1 & 0x80)) { in sh_hdmi_hotplug()
974 } else if (status1 & 2) { in sh_hdmi_hotplug()
980 } else if (status1 & 4) { in sh_hdmi_hotplug()
/linux-3.4.99/drivers/platform/x86/
Dcompal-laptop.c514 u8 status1 = ec_read_u8(BAT_STATUS1); in bat_status() local
520 if (status1 & BAT_S1_FULL) in bat_status()
558 u8 status1 = ec_read_u8(BAT_STATUS1); in bat_capacity_level() local
562 || status1 & BAT_S1_EMPTY in bat_capacity_level()
567 if (status1 & BAT_S1_FULL) in bat_capacity_level()
/linux-3.4.99/drivers/net/hamradio/
D6pack.c116 unsigned char status1; member
147 if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) { in sp_xmit_on_air()
543 sp->status1 = 1; in resync_tnc()
646 sp->status1 = 1; in sixpack_open()
957 sp->status1 = cmd & SIXP_PRIO_DATA_MASK; in decode_prio_command()
/linux-3.4.99/drivers/tty/serial/8250/
D8250.c853 unsigned char scratch, status1, status2; in autoconfig_8250() local
859 status1 = serial_in(up, UART_SCR); in autoconfig_8250()
864 if (status1 == 0xa5 && status2 == 0x5a) in autoconfig_8250()
906 unsigned char status1, status2; in autoconfig_16550a() local
949 status1 = serial_in(up, UART_MCR); in autoconfig_16550a()
953 if (!((status2 ^ status1) & UART_MCR_LOOP)) { in autoconfig_16550a()
955 serial_out(up, UART_MCR, status1 ^ UART_MCR_LOOP); in autoconfig_16550a()
959 serial_out(up, UART_MCR, status1); in autoconfig_16550a()
961 if ((status2 ^ status1) & UART_MCR_LOOP) { in autoconfig_16550a()
989 status1 = serial_in(up, UART_IIR) >> 5; in autoconfig_16550a()
[all …]
/linux-3.4.99/arch/x86/math-emu/
Dfpu_entry.c306 unsigned short status1 = partial_status; in math_emulate() local
364 partial_status = status1; in math_emulate()
423 status1 & in math_emulate()
476 partial_status = status1; /* Undo any denorm tag, in math_emulate()
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmsmac/
Ddma.h52 u32 status1; /* active descriptor, xmt error */ member
/linux-3.4.99/drivers/dma/
Dcoh901318.c781 u32 status1; in dma_irq_handler() local
789 status1 = readl(virtbase + COH901318_INT_STATUS1); in dma_irq_handler()
792 if (unlikely(status1 == 0 && status2 == 0)) { in dma_irq_handler()
801 while (status1) { in dma_irq_handler()
803 i = ffs(status1) - 1; in dma_irq_handler()
810 status1 &= ~(1 << i); in dma_irq_handler()
/linux-3.4.99/drivers/mtd/nand/
Ddocg4.c501 uint16_t status1 = readw(docptr + DOC_IOSPACE_DATA); in read_progstatus() local
506 __func__, status1, status2, status3); in read_progstatus()
508 if (status1 != DOCG4_PROGSTATUS_GOOD in read_progstatus()
513 "%02x, %02x, %02x\n", status1, status2, status3); in read_progstatus()
/linux-3.4.99/drivers/tty/serial/
Dsunsu.c1028 unsigned char status1, status2, scratch, scratch2, scratch3; in sunsu_autoconfig() local
1080 status1 = serial_inp(up, UART_MSR) & 0xF0; in sunsu_autoconfig()
1082 if (status1 != 0x90) in sunsu_autoconfig()
1142 status1 = serial_in(up, UART_SCR); in sunsu_autoconfig()
1147 if ((status1 != 0xa5) || (status2 != 0x5a)) in sunsu_autoconfig()
/linux-3.4.99/include/linux/
Dmemstick.h39 unsigned char status1; member
/linux-3.4.99/sound/pci/cs46xx/
Dcs46xx_lib.c1163 u32 status1; in snd_cs46xx_interrupt() local
1174 status1 = snd_cs46xx_peekBA0(chip, BA0_HISR); in snd_cs46xx_interrupt()
1175 if ((status1 & 0x7fffffff) == 0) { in snd_cs46xx_interrupt()
1185 if ( status1 & (1 << i) ) { in snd_cs46xx_interrupt()
1212 if ((status1 & HISR_VC0) && chip->playback_pcm) { in snd_cs46xx_interrupt()
1216 if ((status1 & HISR_VC1) && chip->pcm) { in snd_cs46xx_interrupt()
1222 if ((status1 & HISR_MIDI) && chip->rmidi) { in snd_cs46xx_interrupt()
/linux-3.4.99/sound/pci/rme9652/
Dhdspm.c5084 unsigned int status1, status2, status3, control, i; in snd_hdspm_proc_read_raydat() local
5087 status1 = hdspm_read(hdspm, HDSPM_RD_STATUS_1); /* s1 */ in snd_hdspm_proc_read_raydat()
5093 snd_iprintf(buffer, "STATUS1: 0x%08x\n", status1); in snd_hdspm_proc_read_raydat()
5113 (status1 & lock) ? 1 : 0, in snd_hdspm_proc_read_raydat()
5114 (status1 & sync) ? 1 : 0, in snd_hdspm_proc_read_raydat()
5122 (status1 & 0x1000000) ? 1 : 0, in snd_hdspm_proc_read_raydat()
5123 (status1 & 0x2000000) ? 1 : 0, in snd_hdspm_proc_read_raydat()
5124 texts_freq[(status1 >> 16) & 0xF]); in snd_hdspm_proc_read_raydat()
5127 (status1 & 0x4000000) ? 1 : 0, in snd_hdspm_proc_read_raydat()
5128 (status1 & 0x8000000) ? 1 : 0, in snd_hdspm_proc_read_raydat()
[all …]

12