Home
last modified time | relevance | path

Searched refs:pci_status (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.6/drivers/media/pci/cx23885/
Dcx23885-core.c1785 u32 pci_status, pci_mask; in cx23885_irq() local
1794 pci_status = cx_read(PCI_INT_STAT); in cx23885_irq()
1796 if ((pci_status & pci_mask) == 0) { in cx23885_irq()
1798 pci_status, pci_mask); in cx23885_irq()
1811 if (((pci_status & pci_mask) == 0) && in cx23885_irq()
1821 pci_status, pci_mask); in cx23885_irq()
1831 if (pci_status & (PCI_MSK_RISC_RD | PCI_MSK_RISC_WR | in cx23885_irq()
1838 if (pci_status & PCI_MSK_RISC_RD) in cx23885_irq()
1842 if (pci_status & PCI_MSK_RISC_WR) in cx23885_irq()
1846 if (pci_status & PCI_MSK_AL_RD) in cx23885_irq()
[all …]
Dcimax2.c371 int netup_ci_slot_status(struct cx23885_dev *dev, u32 pci_status) in netup_ci_slot_status() argument
378 if (0 == (pci_status & (PCI_MSK_GPIO0 | PCI_MSK_GPIO1))) in netup_ci_slot_status()
381 if (pci_status & PCI_MSK_GPIO0) { in netup_ci_slot_status()
388 if (pci_status & PCI_MSK_GPIO1) { in netup_ci_slot_status()
Dcimax2.h27 extern int netup_ci_slot_status(struct cx23885_dev *dev, u32 pci_status);
/Linux-v6.6/arch/powerpc/platforms/512x/
Dmpc5121_ads_cpld.c37 u8 pci_status; member
105 hwirq = cpld_pic_get_irq(0, PCI_IGNORE, &cpld_regs->pci_status, in cpld_pic_cascade()
/Linux-v6.6/drivers/scsi/aic7xxx/
Daic79xx_pci.c783 uint8_t pci_status[8]; in ahd_pci_intr() local
806 pci_status[i] = ahd_inb(ahd, reg); in ahd_pci_intr()
808 ahd_outb(ahd, reg, pci_status[i]); in ahd_pci_intr()
819 if ((pci_status[i] & (0x1 << bit)) != 0) { in ahd_pci_intr()
/Linux-v6.6/drivers/media/pci/cx25821/
Dcx25821-alsa.c354 u32 status, pci_status; in cx25821_irq() local
387 pci_status = cx_read(PCI_INT_STAT); in cx25821_irq()
390 cx_write(PCI_INT_STAT, pci_status); in cx25821_irq()
Dcx25821-core.c1206 u32 pci_status; in cx25821_irq() local
1211 pci_status = cx_read(PCI_INT_STAT); in cx25821_irq()
1213 if (pci_status == 0) in cx25821_irq()
1217 if (pci_status & mask[i]) { in cx25821_irq()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c277 if (dev->pci_status == MLX5_PCI_STATUS_DISABLED) { in mlx5_pci_enable_device()
280 dev->pci_status = MLX5_PCI_STATUS_ENABLED; in mlx5_pci_enable_device()
292 if (dev->pci_status == MLX5_PCI_STATUS_ENABLED) { in mlx5_pci_disable_device()
294 dev->pci_status = MLX5_PCI_STATUS_DISABLED; in mlx5_pci_disable_device()
1980 __dev->pci_status, ##__VA_ARGS__); \
2009 __func__, dev->state, dev->pci_status, res, result2str(res)); in mlx5_pci_err_detected()
2049 __func__, dev->state, dev->pci_status); in mlx5_pci_slot_reset()
2072 __func__, dev->state, dev->pci_status, err, res, result2str(res)); in mlx5_pci_slot_reset()
/Linux-v6.6/drivers/ata/
Dsata_sx4.c1214 u32 addr, spd0, pci_status; in pdc20621_dimm_init() local
1268 pci_status = (0x8a001824 | (fparam << 16)); in pdc20621_dimm_init()
1270 pci_status = PCI_PLL_INIT; in pdc20621_dimm_init()
1273 dev_dbg(host->dev, "pci_status: 0x%x\n", pci_status); in pdc20621_dimm_init()
1274 writel(pci_status, mmio + PDC_CTL_STATUS); in pdc20621_dimm_init()
/Linux-v6.6/sound/pci/
Dbt87x.c272 int pci_status = pci_status_get_and_clear_errors(chip->pci); in snd_bt87x_pci_error() local
274 if (pci_status != PCI_STATUS_DETECTED_PARITY) in snd_bt87x_pci_error()
277 status & ERROR_INTERRUPTS, pci_status); in snd_bt87x_pci_error()
/Linux-v6.6/drivers/ssb/
Dpci.c88 u16 pci_status; in ssb_pci_xtal() local
135 err = pci_read_config_word(bus->host_pci, PCI_STATUS, &pci_status); in ssb_pci_xtal()
138 pci_status &= ~PCI_STATUS_SIG_TARGET_ABORT; in ssb_pci_xtal()
139 err = pci_write_config_word(bus->host_pci, PCI_STATUS, pci_status); in ssb_pci_xtal()
/Linux-v6.6/drivers/mmc/host/
Dvia-sdmmc.c875 u8 pci_status; in via_sdc_isr() local
885 pci_status = readb(addrbase + VIA_CRDR_PCIINTSTATUS); in via_sdc_isr()
886 if (!(pci_status & VIA_CRDR_PCIINTSTATUS_SDC)) { in via_sdc_isr()
/Linux-v6.6/drivers/net/ethernet/realtek/
D8139cp.c616 u16 pci_status; in cp_interrupt() local
618 pci_read_config_word(cp->pdev, PCI_STATUS, &pci_status); in cp_interrupt()
619 pci_write_config_word(cp->pdev, PCI_STATUS, pci_status); in cp_interrupt()
621 status, pci_status); in cp_interrupt()
/Linux-v6.6/drivers/net/ethernet/dec/tulip/
Dde2104x.c527 u16 pci_status; in de_interrupt() local
529 pci_read_config_word(de->pdev, PCI_STATUS, &pci_status); in de_interrupt()
530 pci_write_config_word(de->pdev, PCI_STATUS, pci_status); in de_interrupt()
533 status, pci_status); in de_interrupt()
/Linux-v6.6/drivers/net/ethernet/marvell/
Dskge.c3319 u16 pci_status, pci_cmd; in skge_error_irq() local
3322 pci_read_config_word(pdev, PCI_STATUS, &pci_status); in skge_error_irq()
3325 pci_cmd, pci_status); in skge_error_irq()
3328 pci_status &= PCI_STATUS_ERROR_BITS; in skge_error_irq()
3332 pci_write_config_word(pdev, PCI_STATUS, pci_status); in skge_error_irq()
3524 u16 ctst, pci_status; in skge_reset() local
3538 pci_read_config_word(hw->pdev, PCI_STATUS, &pci_status); in skge_reset()
3540 pci_status | PCI_STATUS_ERROR_BITS); in skge_reset()
/Linux-v6.6/drivers/nvme/host/
Dpci.c1257 u16 pci_status; in nvme_warn_reset() local
1261 &pci_status); in nvme_warn_reset()
1265 csts, pci_status); in nvme_warn_reset()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Dmain.c3368 if (dev->persist->pci_status == MLX4_PCI_STATUS_DISABLED) { in mlx4_pci_enable_device()
3371 dev->persist->pci_status = MLX4_PCI_STATUS_ENABLED; in mlx4_pci_enable_device()
3383 if (dev->persist->pci_status == MLX4_PCI_STATUS_ENABLED) { in mlx4_pci_disable_device()
3385 dev->persist->pci_status = MLX4_PCI_STATUS_DISABLED; in mlx4_pci_disable_device()
/Linux-v6.6/include/linux/mlx5/
Ddriver.h766 enum mlx5_pci_status pci_status; member
/Linux-v6.6/include/linux/mlx4/
Ddevice.h870 enum mlx4_pci_status pci_status; member
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/
Dnetdev.c1099 u16 pci_status; in e1000_print_hw_hang() local
1134 pci_read_config_word(adapter->pdev, PCI_STATUS, &pci_status); in e1000_print_hw_hang()
1155 phy_status, phy_1000t_status, phy_ext_status, pci_status); in e1000_print_hw_hang()