/drivers/staging/comedi/drivers/ |
D | cb_das16_cs.c | 89 unsigned short status1; member 121 devpriv->status1 &= ~0xf320; in das16cs_ai_rinsn() 122 devpriv->status1 |= (aref == AREF_DIFF) ? 0 : 0x0020; in das16cs_ai_rinsn() 123 outw(devpriv->status1, dev->iobase + DAS16CS_MISC1); in das16cs_ai_rinsn() 278 unsigned short status1; in das16cs_ao_winsn() local 286 outw(devpriv->status1, dev->iobase + DAS16CS_MISC1); in das16cs_ao_winsn() 289 status1 = devpriv->status1 & ~0xf; in das16cs_ao_winsn() 291 status1 |= 0x0001; in das16cs_ao_winsn() 293 status1 |= 0x0008; in das16cs_ao_winsn() 295 outw(status1, dev->iobase + DAS16CS_MISC1); in das16cs_ao_winsn() [all …]
|
/drivers/staging/tidspbridge/rmgr/ |
D | nldr.c | 631 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 …]
|
D | mgr.c | 177 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()
|
D | node.c | 1114 int status1 = 0; in node_create() local 1227 status1 = hnode_mgr->nldr_fxns.unload(hnode->nldr_node_obj, in node_create() 1231 if (status1) in node_create() 1233 __func__, status1); in node_create() 1378 int status1 = 0; in node_delete() local 1424 status1 = in node_delete() 1476 status1 = in node_delete() 1481 if (status1) in node_delete() 1483 " 0x%x\n", __func__, status1); in node_delete() 1485 status1 = in node_delete() [all …]
|
/drivers/media/i2c/ |
D | adv7180.c | 136 static v4l2_std_id adv7180_std_to_v4l2(u8 status1) in adv7180_std_to_v4l2() argument 139 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_std_to_v4l2() 142 switch (status1 & ADV7180_STATUS1_AUTOD_MASK) { in adv7180_std_to_v4l2() 187 static u32 adv7180_status_to_v4l2(u8 status1) in adv7180_status_to_v4l2() argument 189 if (!(status1 & ADV7180_STATUS1_IN_LOCK)) in adv7180_status_to_v4l2() 198 int status1 = i2c_smbus_read_byte_data(client, ADV7180_STATUS1_REG); in __adv7180_status() local 200 if (status1 < 0) in __adv7180_status() 201 return status1; in __adv7180_status() 204 *status = adv7180_status_to_v4l2(status1); in __adv7180_status() 206 *std = adv7180_std_to_v4l2(status1); in __adv7180_status()
|
/drivers/media/pci/zoran/ |
D | zr36050.c | 120 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()
|
D | zr36050.h | 39 __u8 status1; member
|
/drivers/power/ |
D | tps65090-charger.c | 129 uint8_t status1 = 0; in tps65090_charger_isr() local 133 &status1); in tps65090_charger_isr() 200 uint8_t status1 = 0; in tps65090_charger_probe() local 265 &status1); in tps65090_charger_probe() 272 if (status1 != 0) { in tps65090_charger_probe()
|
/drivers/media/dvb-frontends/ |
D | bcm3510.c | 59 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()
|
/drivers/i2c/busses/ |
D | i2c-stu300.c | 225 u32 status1; in stu300_event_occurred() local 229 status1 = stu300_r8(dev->virtbase + I2C_SR1); in stu300_event_occurred() 231 if (!(status1 & I2C_SR1_EVF_IND)) in stu300_event_occurred() 254 if (status1 & I2C_SR1_ADSL_IND) in stu300_event_occurred() 261 if (status1 & I2C_SR1_BTF_IND) { in stu300_event_occurred() 270 if (status1 & I2C_SR1_SB_IND) in stu300_event_occurred() 281 if (status1 & I2C_SR1_ADD10_IND) in stu300_event_occurred() 295 mr_event, status1, status2); in stu300_event_occurred()
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx_pci.c | 1174 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 …]
|
/drivers/mmc/host/ |
D | wmt-sdmmc.c | 390 u32 status1; in wmt_mci_regular_isr() local 398 status1 = readb(priv->sdmmc_base + SDMMC_STS1); in wmt_mci_regular_isr() 420 if (status1 & STS1_CMDRSP_DONE) { in wmt_mci_regular_isr() 423 } else if ((status1 & STS1_RSP_TIMEOUT) || in wmt_mci_regular_isr() 424 (status1 & STS1_DATA_TIMEOUT)) { in wmt_mci_regular_isr() 441 if (status1 & STS1_CMDRSP_DONE) { in wmt_mci_regular_isr() 448 if ((status1 & STS1_RSP_TIMEOUT) || in wmt_mci_regular_isr() 449 (status1 & STS1_DATA_TIMEOUT)) { in wmt_mci_regular_isr() 472 writeb(status1, priv->sdmmc_base + SDMMC_STS1); in wmt_mci_regular_isr()
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_mac.h | 57 u32 status1; member 101 u32 status1; member
|
D | ar9003_mac.c | 375 ts->desc_id = MS(ads->status1, AR_TxDescId); in ar9003_hw_proc_txdesc() 478 rxs->rs_rssi_ctl0 = MS(rxsp->status1, AR_RxRSSIAnt00); in ath9k_hw_process_rxdesc_edma() 479 rxs->rs_rssi_ctl1 = MS(rxsp->status1, AR_RxRSSIAnt01); in ath9k_hw_process_rxdesc_edma() 480 rxs->rs_rssi_ctl2 = MS(rxsp->status1, AR_RxRSSIAnt02); in ath9k_hw_process_rxdesc_edma() 490 rxs->rs_rate = MS(rxsp->status1, AR_RxRate); in ath9k_hw_process_rxdesc_edma()
|
D | mac.h | 292 u32 status1; member 304 u32 status1; member 331 #define ds_txstatus1 u.tx.status1 342 #define ds_rxstatus1 u.rx.status1
|
/drivers/tty/serial/8250/ |
D | 8250_core.c | 810 unsigned char scratch, status1, status2; in autoconfig_8250() local 816 status1 = serial_in(up, UART_SCR); in autoconfig_8250() 821 if (status1 == 0xa5 && status2 == 0x5a) in autoconfig_8250() 863 unsigned char status1, status2; in autoconfig_16550a() local 878 status1 = serial_in(up, UART_EXAR_DVID); in autoconfig_16550a() 879 if (status1 == 0x82 || status1 == 0x84 || status1 == 0x88) { in autoconfig_16550a() 927 status1 = serial_in(up, UART_MCR); in autoconfig_16550a() 931 if (!((status2 ^ status1) & UART_MCR_LOOP)) { in autoconfig_16550a() 933 serial_out(up, UART_MCR, status1 ^ UART_MCR_LOOP); in autoconfig_16550a() 937 serial_out(up, UART_MCR, status1); in autoconfig_16550a() [all …]
|
/drivers/scsi/qla2xxx/ |
D | qla_target.c | 1252 ctio->u.status1.flags = in qlt_24xx_retry_term_exchange() 1255 ctio->u.status1.ox_id = entry->fcp_hdr_le.ox_id; in qlt_24xx_retry_term_exchange() 1416 ctio->u.status1.flags = (atio->u.isp24.attr << 9) | in qlt_24xx_send_task_mgmt_ctio() 1419 ctio->u.status1.ox_id = swab16(atio->u.isp24.fcp_hdr.ox_id); in qlt_24xx_send_task_mgmt_ctio() 1420 ctio->u.status1.scsi_status = in qlt_24xx_send_task_mgmt_ctio() 1422 ctio->u.status1.response_len = __constant_cpu_to_le16(8); in qlt_24xx_send_task_mgmt_ctio() 1423 ctio->u.status1.sense_data[0] = resp_code; in qlt_24xx_send_task_mgmt_ctio() 1975 (uint32_t)sizeof(ctio->u.status1.sense_data)); in qlt_24xx_init_ctio_to_isp() 1996 ctio->u.status1.flags |= __constant_cpu_to_le16( in qlt_24xx_init_ctio_to_isp() 2001 ctio->u.status1.flags &= in qlt_24xx_init_ctio_to_isp() [all …]
|
/drivers/video/ |
D | sh_mobile_hdmi.c | 1029 u8 status1, status2, mask1, mask2; in sh_hdmi_hotplug() local 1040 status1 = hdmi_read(hdmi, HDMI_INTERRUPT_STATUS_1); in sh_hdmi_hotplug() 1052 irq, status1, mask1, status2, mask2); in sh_hdmi_hotplug() 1054 if (!((status1 & mask1) | (status2 & mask2))) { in sh_hdmi_hotplug() 1056 } else if (status1 & 0xc0) { in sh_hdmi_hotplug() 1078 } else if (!(status1 & 0x80)) { in sh_hdmi_hotplug() 1086 } else if (status1 & 2) { in sh_hdmi_hotplug() 1092 } else if (status1 & 4) { in sh_hdmi_hotplug()
|
/drivers/platform/x86/ |
D | compal-laptop.c | 514 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()
|
/drivers/net/hamradio/ |
D | 6pack.c | 116 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()
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
D | dma.h | 52 u32 status1; /* active descriptor, xmt error */ member
|
/drivers/tty/serial/ |
D | sunsu.c | 1028 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()
|
/drivers/mtd/nand/ |
D | docg4.c | 526 uint16_t status1 = readw(docptr + DOC_IOSPACE_DATA); in read_progstatus() local 531 __func__, status1, status2, status3); in read_progstatus() 533 if (status1 != DOCG4_PROGSTATUS_GOOD in read_progstatus() 538 "%02x, %02x, %02x\n", status1, status2, status3); in read_progstatus()
|
/drivers/dma/ |
D | coh901318.c | 1989 u32 status1; in dma_irq_handler() local 1997 status1 = readl(virtbase + COH901318_INT_STATUS1); in dma_irq_handler() 2000 if (unlikely(status1 == 0 && status2 == 0)) { in dma_irq_handler() 2009 while (status1) { in dma_irq_handler() 2011 i = ffs(status1) - 1; in dma_irq_handler() 2018 status1 &= ~(1 << i); in dma_irq_handler()
|
/drivers/usb/storage/ |
D | ene_ub6250.c | 414 u8 status1; member 827 info->MS_Lib.blkext[i].status1 = MS_REG_ST1_DEFAULT; in ms_lib_clear_writebuf() 910 ExtraDat->status1 = 0x00; /* Not yet,fireware support */ in ms_read_readpage() 1362 ExtraDat->status1 = 0x00; /* Not yet, waiting for fireware support */ in ms_lib_read_extra() 2004 if (extdat.status1 & (MS_REG_ST1_DTER | MS_REG_ST1_EXER | MS_REG_ST1_FGER)) in ms_card_init()
|