Lines Matching +full:0 +full:x10e

24 #define PCI_DEVICE_ID_INTEL_BAYTRAIL		0x0F00
25 #define PCI_DEVICE_ID_INTEL_BRASWELL 0x2280
26 #define PCI_DEVICE_ID_INTEL_QUARK_X1000 0x0958
27 #define PCI_DEVICE_ID_INTEL_TANGIER 0x1170
49 if (result < 0) in iosf_mbi_pci_read_mdr()
54 if (result < 0) in iosf_mbi_pci_read_mdr()
58 if (result < 0) in iosf_mbi_pci_read_mdr()
61 return 0; in iosf_mbi_pci_read_mdr()
76 if (result < 0) in iosf_mbi_pci_write_mdr()
82 if (result < 0) in iosf_mbi_pci_write_mdr()
87 if (result < 0) in iosf_mbi_pci_write_mdr()
90 return 0; in iosf_mbi_pci_write_mdr()
163 if (ret < 0) { in iosf_mbi_modify()
200 #define PUNIT_SEMAPHORE_BYT 0x7
201 #define PUNIT_SEMAPHORE_CHT 0x10e
202 #define PUNIT_SEMAPHORE_BIT BIT(0)
218 while (iosf_mbi_pmic_i2c_access_count != 0) { in iosf_mbi_punit_acquire()
221 iosf_mbi_pmic_i2c_access_count == 0); in iosf_mbi_punit_acquire()
239 do_wakeup = iosf_mbi_pmic_punit_access_count == 0; in iosf_mbi_punit_release()
259 return 0; in iosf_mbi_get_sem()
265 iosf_mbi_sem_address, 0, PUNIT_SEMAPHORE_BIT)) in iosf_mbi_reset_semaphore()
289 * we wait for iosf_mbi_pmic_punit_access_count to become 0.
315 int ret = 0; in iosf_mbi_block_punit_i2c_access()
323 while (iosf_mbi_pmic_punit_access_count != 0) { in iosf_mbi_block_punit_i2c_access()
326 iosf_mbi_pmic_punit_access_count == 0); in iosf_mbi_block_punit_i2c_access()
330 if (iosf_mbi_pmic_i2c_access_count > 0) in iosf_mbi_block_punit_i2c_access()
341 cpu_latency_qos_update_request(&iosf_mbi_pm_qos, 0); in iosf_mbi_block_punit_i2c_access()
351 /* host driver waits for bit 0 to be set in semaphore register */ in iosf_mbi_block_punit_i2c_access()
388 if (iosf_mbi_pmic_i2c_access_count == 0) { in iosf_mbi_unblock_punit_i2c_access()
427 WARN_ON(iosf_mbi_pmic_punit_access_count == 0); in iosf_mbi_assert_punit_acquired()
441 return 0; in mcr_get()
446 u8 command = ((u32)val & 0xFF000000) >> 24, in mcr_set()
447 port = ((u32)val & 0x00FF0000) >> 16, in mcr_set()
448 offset = ((u32)val & 0x0000FF00) >> 8; in mcr_set()
507 if (ret < 0) { in iosf_mbi_probe()
515 return 0; in iosf_mbi_probe()
521 { PCI_DEVICE_DATA(INTEL, QUARK_X1000, 0) },
522 { PCI_DEVICE_DATA(INTEL, TANGIER, 0) },
523 { 0, },