Searched refs:lpcdev (Results 1 – 3 of 3) sorted by relevance
/drivers/bus/ |
D | hisi_lpc.c | 101 static int hisi_lpc_target_in(struct hisi_lpc_dev *lpcdev, in hisi_lpc_target_in() argument 110 if (!buf || !opcnt || !para || !para->csize || !lpcdev) in hisi_lpc_target_in() 121 spin_lock_irqsave(&lpcdev->cycle_lock, flags); in hisi_lpc_target_in() 123 writel_relaxed(opcnt, lpcdev->membase + LPC_REG_OP_LEN); in hisi_lpc_target_in() 124 writel_relaxed(cmd_word, lpcdev->membase + LPC_REG_CMD); in hisi_lpc_target_in() 125 writel_relaxed(addr, lpcdev->membase + LPC_REG_ADDR); in hisi_lpc_target_in() 128 lpcdev->membase + LPC_REG_STARTUP_SIGNAL); in hisi_lpc_target_in() 131 ret = wait_lpc_idle(lpcdev->membase, waitcnt); in hisi_lpc_target_in() 133 spin_unlock_irqrestore(&lpcdev->cycle_lock, flags); in hisi_lpc_target_in() 137 readsb(lpcdev->membase + LPC_REG_RDATA, buf, opcnt); in hisi_lpc_target_in() [all …]
|
/drivers/video/fbdev/sis/ |
D | sis.h | 509 struct pci_dev *lpcdev; member
|
D | sis_main.c | 1050 if(!ivideo->lpcdev) return 0; in sisfb_read_lpc_pci_dword() 1052 pci_read_config_dword(ivideo->lpcdev, reg, &val); in sisfb_read_lpc_pci_dword() 1072 if(!ivideo->lpcdev) return 0; in sisfb_read_mio_pci_word() 1074 pci_read_config_word(ivideo->lpcdev, reg, &val); in sisfb_read_mio_pci_word() 6057 ivideo->lpcdev = pci_get_device(PCI_VENDOR_ID_SI, 0x0008, NULL); in sisfb_probe() 6067 ivideo->lpcdev = pci_get_slot(ivideo->nbridge->bus, (2 << 3)); in sisfb_probe() 6243 pci_dev_put(ivideo->lpcdev); in sisfb_probe() 6536 pci_dev_put(ivideo->lpcdev); in sisfb_remove()
|