/linux-2.6.39/drivers/usb/host/ |
D | ehci-hub.c | 501 u32 __iomem *status_reg; in set_owner() local 505 status_reg = &ehci->regs->port_status[portnum]; in set_owner() 514 port_status = ehci_readl(ehci, status_reg); in set_owner() 522 ehci_writel(ehci, port_status, status_reg); in set_owner() 587 u32 __iomem *status_reg, in check_reset_complete() argument 610 ehci_writel(ehci, port_status, status_reg); in check_reset_complete() 748 u32 __iomem *status_reg = &ehci->regs->port_status[ in ehci_hub_control() local 782 temp = ehci_readl(ehci, status_reg); in ehci_hub_control() 793 ehci_writel(ehci, temp & ~PORT_PE, status_reg); in ehci_hub_control() 797 status_reg); in ehci_hub_control() [all …]
|
D | ehci-tegra.c | 72 u32 __iomem *status_reg; in tegra_ehci_hub_control() local 77 status_reg = &ehci->regs->port_status[(wIndex & 0xff) - 1]; in tegra_ehci_hub_control() 87 temp = ehci_readl(ehci, status_reg) & ~PORT_RWC_BITS; in tegra_ehci_hub_control() 88 ehci_writel(ehci, temp & ~PORT_PE, status_reg); in tegra_ehci_hub_control() 93 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control() 102 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control() 110 ehci_writel(ehci, temp | PORT_SUSPEND, status_reg); in tegra_ehci_hub_control() 116 if (handshake(ehci, status_reg, PORT_SUSPEND, in tegra_ehci_hub_control() 133 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control() 149 ehci_writel(ehci, temp | PORT_RESUME, status_reg); in tegra_ehci_hub_control() [all …]
|
D | oxu210hp-hcd.c | 422 u32 __iomem *status_reg, int port_status) in check_reset_complete() argument 3157 u32 __iomem *status_reg = &oxu->regs->port_status[wIndex - 1]; in oxu_hub_control() local 3186 temp = readl(status_reg); in oxu_hub_control() 3197 writel(temp & ~PORT_PE, status_reg); in oxu_hub_control() 3200 writel((temp & ~PORT_RWC_BITS) | PORT_PEC, status_reg); in oxu_hub_control() 3210 writel(temp | PORT_RESUME, status_reg); in oxu_hub_control() 3221 status_reg); in oxu_hub_control() 3224 writel((temp & ~PORT_RWC_BITS) | PORT_CSC, status_reg); in oxu_hub_control() 3227 writel((temp & ~PORT_RWC_BITS) | PORT_OCC, status_reg); in oxu_hub_control() 3250 temp = readl(status_reg); in oxu_hub_control() [all …]
|
/linux-2.6.39/arch/avr32/mach-at32ap/ |
D | intc.c | 62 unsigned long status_reg; in do_IRQ() local 79 status_reg = sysreg_read(SR); in do_IRQ() 80 status_reg &= ~(SYSREG_BIT(I0M) | SYSREG_BIT(I1M) in do_IRQ() 82 sysreg_write(SR, status_reg); in do_IRQ()
|
/linux-2.6.39/drivers/staging/go7007/ |
D | saa7134-go7007.c | 192 u16 status_reg; in saa7134_go7007_write_interrupt() local 200 gpio_read(dev, HPI_ADDR_INTR_STATUS, &status_reg); in saa7134_go7007_write_interrupt() 201 if (!(status_reg & 0x0010)) in saa7134_go7007_write_interrupt() 208 status_reg); in saa7134_go7007_write_interrupt() 348 u16 status_reg; in saa7134_go7007_send_firmware() local 370 gpio_read(dev, HPI_ADDR_INTR_STATUS, &status_reg); in saa7134_go7007_send_firmware() 371 if (!(status_reg & 0x0002)) in saa7134_go7007_send_firmware() 376 "status reg = 0x%04x\n", status_reg); in saa7134_go7007_send_firmware()
|
D | go7007-usb.c | 616 u16 status_reg; in go7007_usb_ezusb_write_interrupt() local 628 0, HPI_STATUS_ADDR, &status_reg, in go7007_usb_ezusb_write_interrupt() 629 sizeof(status_reg), timeout); in go7007_usb_ezusb_write_interrupt() 632 __le16_to_cpus(&status_reg); in go7007_usb_ezusb_write_interrupt() 633 if (!(status_reg & 0x0010)) in go7007_usb_ezusb_write_interrupt() 640 status_reg); in go7007_usb_ezusb_write_interrupt()
|
/linux-2.6.39/arch/arm/mach-spear3xx/ |
D | spear310.c | 177 .status_reg = INT_STS_MASK_REG, 208 .status_reg = INT_STS_MASK_REG, 227 .status_reg = INT_STS_MASK_REG, 252 .status_reg = INT_STS_MASK_REG,
|
D | spear320.c | 410 .status_reg = INT_STS_MASK_REG, 443 .status_reg = INT_STS_MASK_REG, 504 .status_reg = INT_STS_MASK_REG,
|
/linux-2.6.39/drivers/net/ixgb/ |
D | ixgb_hw.c | 913 u32 status_reg; in ixgb_check_for_link() local 919 status_reg = IXGB_READ_REG(hw, STATUS); in ixgb_check_for_link() 922 (status_reg & IXGB_STATUS_LU)) { in ixgb_check_for_link() 925 (status_reg & IXGB_STATUS_LU)) { in ixgb_check_for_link() 1085 u32 status_reg; in ixgb_get_bus_info() local 1087 status_reg = IXGB_READ_REG(hw, STATUS); in ixgb_get_bus_info() 1089 hw->bus.type = (status_reg & IXGB_STATUS_PCIX_MODE) ? in ixgb_get_bus_info() 1093 hw->bus.speed = (status_reg & IXGB_STATUS_PCI_SPD) ? in ixgb_get_bus_info() 1096 switch (status_reg & IXGB_STATUS_PCIX_SPD_MASK) { in ixgb_get_bus_info() 1112 hw->bus.width = (status_reg & IXGB_STATUS_BUS64) ? in ixgb_get_bus_info()
|
/linux-2.6.39/drivers/input/keyboard/ |
D | mcs_touchkey.c | 42 unsigned int status_reg; member 69 val = i2c_smbus_read_byte_data(client, chip->status_reg); in mcs_touchkey_interrupt() 131 data->chip.status_reg = MCS5000_TOUCHKEY_STATUS; in mcs_touchkey_probe() 136 data->chip.status_reg = MCS5080_TOUCHKEY_STATUS; in mcs_touchkey_probe()
|
/linux-2.6.39/drivers/acpi/acpica/ |
D | evgpe.c | 341 u32 status_reg; in acpi_ev_gpe_detect() local 388 acpi_hw_read(&status_reg, in acpi_ev_gpe_detect() 406 status_reg, enable_reg)); in acpi_ev_gpe_detect() 410 enabled_status_byte = (u8) (status_reg & enable_reg); in acpi_ev_gpe_detect()
|
/linux-2.6.39/drivers/net/ |
D | spider_net.c | 1416 spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg, in spider_net_handle_error_irq() argument 1423 if (status_reg) in spider_net_handle_error_irq() 1425 if (status_reg & (1<<i)) in spider_net_handle_error_irq() 1624 status_reg, error_reg1, error_reg2); in spider_net_handle_error_irq() 1647 u32 status_reg, error_reg1, error_reg2; in spider_net_interrupt() local 1649 status_reg = spider_net_read_reg(card, SPIDER_NET_GHIINT0STS); in spider_net_interrupt() 1653 if (!(status_reg & SPIDER_NET_INT0_MASK_VALUE) && in spider_net_interrupt() 1658 if (status_reg & SPIDER_NET_RXINT ) { in spider_net_interrupt() 1663 if (status_reg & SPIDER_NET_TXINT) in spider_net_interrupt() 1666 if (status_reg & SPIDER_NET_LINKINT) in spider_net_interrupt() [all …]
|
/linux-2.6.39/arch/arm/plat-spear/include/plat/ |
D | shirq.h | 50 u32 status_reg; member
|
/linux-2.6.39/drivers/hwmon/ |
D | max6639.c | 111 int status_reg; in max6639_update_device() local 120 status_reg = i2c_smbus_read_byte_data(client, in max6639_update_device() 122 if (status_reg < 0) { in max6639_update_device() 123 ret = ERR_PTR(status_reg); in max6639_update_device() 127 data->status = status_reg; in max6639_update_device()
|
/linux-2.6.39/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 1555 u_short status_reg; in sym_set_workarounds() local 1583 pci_read_config_word(pdev, PCI_STATUS, &status_reg); in sym_set_workarounds() 1585 if (!(status_reg & PCI_STATUS_66MHZ)) in sym_set_workarounds() 1588 if (status_reg & PCI_STATUS_66MHZ) { in sym_set_workarounds() 1589 status_reg = PCI_STATUS_66MHZ; in sym_set_workarounds() 1590 pci_write_config_word(pdev, PCI_STATUS, status_reg); in sym_set_workarounds() 1591 pci_read_config_word(pdev, PCI_STATUS, &status_reg); in sym_set_workarounds() 1874 u_short status_reg; in sym2_reset_workarounds() local 1882 pci_read_config_word(pdev, PCI_STATUS, &status_reg); in sym2_reset_workarounds() 1883 if (!(chip->features & FE_66MHZ) && (status_reg & PCI_STATUS_66MHZ)) { in sym2_reset_workarounds() [all …]
|
/linux-2.6.39/drivers/staging/comedi/drivers/ |
D | me4000.h | 337 unsigned long status_reg; member 349 unsigned long status_reg; member
|
/linux-2.6.39/drivers/media/video/ |
D | saa7191.c | 556 u8 status_reg; in saa7191_g_input_status() local 559 if (saa7191_read_status(sd, &status_reg)) in saa7191_g_input_status() 561 if ((status_reg & SAA7191_STATUS_HLCK) == 0) in saa7191_g_input_status() 563 if (!(status_reg & SAA7191_STATUS_CODE)) in saa7191_g_input_status()
|
/linux-2.6.39/drivers/mmc/host/ |
D | imxmmc.c | 60 unsigned int status_reg; member 636 host->status_reg = stat; in imxmci_dma_irq() 651 host->status_reg = stat; in imxmci_irq() 670 host->status_reg = stat; in imxmci_tasklet_fnc() 702 host->status_reg = STATUS_TIME_OUT_RESP | STATUS_TIME_OUT_READ | in imxmci_tasklet_fnc() 714 stat |= host->status_reg; in imxmci_tasklet_fnc() 749 stat |= host->status_reg; in imxmci_tasklet_fnc() 1035 host->status_reg=0; in imxmci_probe()
|
/linux-2.6.39/drivers/scsi/ |
D | sym53c416.c | 334 unsigned char status_reg, pio_int_reg, int_reg; in sym53c416_intr_handle() local 339 status_reg = inb(base + STATUS_REG); in sym53c416_intr_handle() 365 if(status_reg & GE) /* Gross Error */ in sym53c416_intr_handle() 375 if(status_reg & PE) /* Parity Error */ in sym53c416_intr_handle() 409 switch(status_reg & PHBITS) /* Filter SCSI phase out of status reg */ in sym53c416_intr_handle()
|
/linux-2.6.39/drivers/mfd/ |
D | twl4030-madc.c | 474 u8 status_reg) in twl4030_madc_wait_conversion_ready() argument 483 ret = twl_i2c_read_u8(TWL4030_MODULE_MADC, ®, status_reg); in twl4030_madc_wait_conversion_ready() 487 status_reg); in twl4030_madc_wait_conversion_ready()
|
/linux-2.6.39/drivers/block/paride/ |
D | pg.c | 261 static inline int status_reg(struct pg *dev) in status_reg() function 293 while ((((r = status_reg(dev)) & go) || (stop && (!(r & stop)))) in pg_wait() 399 while ((k++ < PG_RESET_TMO) && (status_reg(dev) & STAT_BUSY)) in pg_reset()
|
D | pcd.c | 338 static inline int status_reg(struct pcd_unit *cd) in status_reg() function 358 while ((((r = status_reg(cd)) & go) || (stop && (!(r & stop)))) in pcd_wait() 550 while ((k++ < PCD_RESET_TMO) && (status_reg(cd) & IDE_BUSY)) in pcd_reset() 775 return (((status_reg(pcd_current) & (IDE_BUSY | IDE_DRQ)) == IDE_DRQ)); in pcd_ready()
|
D | pf.c | 386 static inline int status_reg(struct pf_unit *pf) in status_reg() function 406 while ((((r = status_reg(pf)) & go) || (stop && (!(r & stop)))) in pf_wait() 546 while ((k++ < PF_RESET_TMO) && (status_reg(pf) & STAT_BUSY)) in pf_reset() 764 return (((status_reg(pf_current) & (STAT_BUSY | pf_mask)) == pf_mask)); in pf_ready()
|
D | pd.c | 249 static inline int status_reg(struct pd_unit *disk) in status_reg() function 303 r = status_reg(disk); in pd_wait_for() 538 return !(status_reg(pd_current) & STAT_BUSY); in pd_ready()
|
/linux-2.6.39/drivers/net/e1000e/ |
D | ich8lan.c | 1103 u16 status_reg = 0; in e1000_k1_gig_workaround_hv() local 1118 &status_reg); in e1000_k1_gig_workaround_hv() 1122 status_reg &= BM_CS_STATUS_LINK_UP | in e1000_k1_gig_workaround_hv() 1126 if (status_reg == (BM_CS_STATUS_LINK_UP | in e1000_k1_gig_workaround_hv() 1134 &status_reg); in e1000_k1_gig_workaround_hv() 1138 status_reg &= HV_M_STATUS_LINK_UP | in e1000_k1_gig_workaround_hv() 1142 if (status_reg == (HV_M_STATUS_LINK_UP | in e1000_k1_gig_workaround_hv() 1608 u16 status_reg = 0; in e1000_k1_workaround_lv() local 1615 ret_val = e1e_rphy(hw, HV_M_STATUS, &status_reg); in e1000_k1_workaround_lv() 1619 if ((status_reg & (HV_M_STATUS_LINK_UP | HV_M_STATUS_AUTONEG_COMPLETE)) in e1000_k1_workaround_lv() [all …]
|