/drivers/acpi/acpica/ |
H A D | evgpe.c | 341 u32 status_reg; local 388 acpi_hw_read(&status_reg, 406 status_reg, enable_reg)); 410 enabled_status_byte = (u8) (status_reg & enable_reg);
|
/drivers/input/keyboard/ |
H A D | mcs_touchkey.c | 42 unsigned int status_reg; member in struct:mcs_touchkey_chip 69 val = i2c_smbus_read_byte_data(client, chip->status_reg); 131 data->chip.status_reg = MCS5000_TOUCHKEY_STATUS; 136 data->chip.status_reg = MCS5080_TOUCHKEY_STATUS;
|
/drivers/media/video/ |
H A D | saa7191.c | 556 u8 status_reg; local 559 if (saa7191_read_status(sd, &status_reg)) 561 if ((status_reg & SAA7191_STATUS_HLCK) == 0) 563 if (!(status_reg & SAA7191_STATUS_CODE))
|
/drivers/staging/media/go7007/ |
H A D | saa7134-go7007.c | 192 u16 status_reg; local 200 gpio_read(dev, HPI_ADDR_INTR_STATUS, &status_reg); 201 if (!(status_reg & 0x0010)) 208 status_reg); 348 u16 status_reg; local 370 gpio_read(dev, HPI_ADDR_INTR_STATUS, &status_reg); 371 if (!(status_reg & 0x0002)) 376 "status reg = 0x%04x\n", status_reg);
|
H A D | go7007-usb.c | 616 u16 status_reg; local 628 0, HPI_STATUS_ADDR, &status_reg, 629 sizeof(status_reg), timeout); 632 __le16_to_cpus(&status_reg); 633 if (!(status_reg & 0x0010)) 640 status_reg);
|
/drivers/usb/host/ |
H A D | ehci-hub.c | 471 u32 __iomem *status_reg; local 475 status_reg = &ehci->regs->port_status[portnum]; 484 port_status = ehci_readl(ehci, status_reg); 492 ehci_writel(ehci, port_status, status_reg); 505 u32 __iomem *status_reg, 528 ehci_writel(ehci, port_status, status_reg); 667 u32 __iomem *status_reg = &ehci->regs->port_status[ local 701 temp = ehci_readl(ehci, status_reg); 712 ehci_writel(ehci, temp & ~PORT_PE, status_reg); 716 status_reg); 502 check_reset_complete( struct ehci_hcd *ehci, int index, u32 __iomem *status_reg, int port_status ) argument [all...] |
H A D | ehci-tegra.c | 141 u32 __iomem *status_reg; local 146 status_reg = &ehci->regs->port_status[(wIndex & 0xff) - 1]; 156 temp = ehci_readl(ehci, status_reg) & ~PORT_RWC_BITS; 157 ehci_writel(ehci, temp & ~PORT_PE, status_reg); 162 temp = ehci_readl(ehci, status_reg); 171 temp = ehci_readl(ehci, status_reg); 179 ehci_writel(ehci, temp | PORT_SUSPEND, status_reg); 185 if (handshake(ehci, status_reg, PORT_SUSPEND, 197 return tegra_ehci_internal_port_reset(ehci, status_reg); 209 temp = ehci_readl(ehci, status_reg); [all...] |
H A D | xhci-hub.c | 466 static void xhci_hub_report_link_state(u32 *status, u32 status_reg) argument 468 u32 pls = status_reg & PORT_PLS_MASK; 479 if (status_reg & PORT_CAS) {
|
/drivers/mfd/ |
H A D | twl4030-madc.c | 469 * @status_reg - ctrl register 474 u8 status_reg) 483 ret = twl_i2c_read_u8(TWL4030_MODULE_MADC, ®, status_reg); 487 status_reg); 472 twl4030_madc_wait_conversion_ready(struct twl4030_madc_data *madc, unsigned int timeout_ms, u8 status_reg) argument
|
/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_hw.c | 914 u32 status_reg; local 920 status_reg = IXGB_READ_REG(hw, STATUS); 923 (status_reg & IXGB_STATUS_LU)) { 926 (status_reg & IXGB_STATUS_LU)) { 1086 u32 status_reg; local 1088 status_reg = IXGB_READ_REG(hw, STATUS); 1090 hw->bus.type = (status_reg & IXGB_STATUS_PCIX_MODE) ? 1094 hw->bus.speed = (status_reg & IXGB_STATUS_PCI_SPD) ? 1097 switch (status_reg & IXGB_STATUS_PCIX_SPD_MASK) { 1113 hw->bus.width = (status_reg [all...] |
/drivers/hwmon/ |
H A D | coretemp.c | 77 * @status_reg: One of IA32_THERM_STATUS or IA32_PACKAGE_THERM_STATUS, 91 u32 status_reg; member in struct:temp_data 144 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); 179 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); 416 tdata->status_reg = pkg_flag ? MSR_IA32_PACKAGE_THERM_STATUS : 461 err = rdmsr_safe_on_cpu(cpu, tdata->status_reg, &eax, &edx);
|
H A D | max6639.c | 111 int status_reg; local 120 status_reg = i2c_smbus_read_byte_data(client, 122 if (status_reg < 0) { 123 ret = ERR_PTR(status_reg); 127 data->status = status_reg;
|
/drivers/mmc/host/ |
H A D | imxmmc.c | 60 unsigned int status_reg; member in struct:imxmci_host 636 host->status_reg = stat; 651 host->status_reg = stat; 670 host->status_reg = stat; 702 host->status_reg = STATUS_TIME_OUT_RESP | STATUS_TIME_OUT_READ | 714 stat |= host->status_reg; 749 stat |= host->status_reg; 1035 host->status_reg=0;
|
/drivers/block/paride/ |
H A D | pcd.c | 339 static inline int status_reg(struct pcd_unit *cd) function 359 while ((((r = status_reg(cd)) & go) || (stop && (!(r & stop)))) 551 while ((k++ < PCD_RESET_TMO) && (status_reg(cd) & IDE_BUSY)) 776 return (((status_reg(pcd_current) & (IDE_BUSY | IDE_DRQ)) == IDE_DRQ));
|
H A D | pg.c | 262 static inline int status_reg(struct pg *dev) function 294 while ((((r = status_reg(dev)) & go) || (stop && (!(r & stop)))) 400 while ((k++ < PG_RESET_TMO) && (status_reg(dev) & STAT_BUSY))
|
H A D | pt.c | 251 static inline int status_reg(struct pi_adapter *pi) function 277 while ((((r = status_reg(pi)) & go) || (stop && (!(r & stop)))) 463 while ((k++ < PT_RESET_TMO) && (status_reg(pi) & STAT_BUSY))
|
H A D | pd.c | 250 static inline int status_reg(struct pd_unit *disk) function 304 r = status_reg(disk); 539 return !(status_reg(pd_current) & STAT_BUSY);
|
H A D | pf.c | 388 static inline int status_reg(struct pf_unit *pf) function 408 while ((((r = status_reg(pf)) & go) || (stop && (!(r & stop)))) 548 while ((k++ < PF_RESET_TMO) && (status_reg(pf) & STAT_BUSY)) 766 return (((status_reg(pf_current) & (STAT_BUSY | pf_mask)) == pf_mask));
|
/drivers/net/ethernet/toshiba/ |
H A D | spider_net.c | 1407 * @status_reg: interrupt status register 0 (GHIINT0STS) 1413 spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg, argument 1420 if (status_reg) 1422 if (status_reg & (1<<i)) 1621 status_reg, error_reg1, error_reg2); 1644 u32 status_reg, error_reg1, error_reg2; local 1646 status_reg = spider_net_read_reg(card, SPIDER_NET_GHIINT0STS); 1650 if (!(status_reg & SPIDER_NET_INT0_MASK_VALUE) && 1655 if (status_reg & SPIDER_NET_RXINT ) { 1660 if (status_reg [all...] |
/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fusion.c | 2127 u32 host_diag, abs_state, status_reg, reset_adapter; local 2160 status_reg = instance->instancet->read_fw_status_reg( 2162 abs_state = status_reg & MFI_STATE_MASK; 2163 reset_adapter = status_reg & MFI_RESET_ADAPTER;
|
/drivers/scsi/qla2xxx/ |
H A D | qla_bsg.h | 182 uint8_t status_reg; member in struct:qla_status_reg
|
/drivers/usb/storage/ |
H A D | shuttle_usbat.c | 525 unsigned char status_reg, 584 command[cmdlen-5] = status_reg; 519 usbat_hp8200e_rw_block_test(struct us_data *us, unsigned char access, unsigned char *registers, unsigned char *data_out, unsigned short num_registers, unsigned char data_reg, unsigned char status_reg, unsigned char timeout, unsigned char qualifier, int direction, void *buf, unsigned short len, int use_sg, int minutes) argument
|
/drivers/scsi/ |
H A D | sym53c416.c | 333 unsigned char status_reg, pio_int_reg, int_reg; local 338 status_reg = inb(base + STATUS_REG); 364 if(status_reg & GE) /* Gross Error */ 374 if(status_reg & PE) /* Parity Error */ 408 switch(status_reg & PHBITS) /* Filter SCSI phase out of status reg */
|
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 1559 u_short status_reg; local 1587 pci_read_config_word(pdev, PCI_STATUS, &status_reg); 1589 if (!(status_reg & PCI_STATUS_66MHZ)) 1592 if (status_reg & PCI_STATUS_66MHZ) { 1593 status_reg = PCI_STATUS_66MHZ; 1594 pci_write_config_word(pdev, PCI_STATUS, status_reg); 1595 pci_read_config_word(pdev, PCI_STATUS, &status_reg); 1878 u_short status_reg; local 1886 pci_read_config_word(pdev, PCI_STATUS, &status_reg); 1887 if (!(chip->features & FE_66MHZ) && (status_reg [all...] |
/drivers/staging/comedi/drivers/ |
H A D | me4000.h | 337 unsigned long status_reg; member in struct:me4000_ao_context 349 unsigned long status_reg; member in struct:me4000_ai_context
|