Searched refs:pia (Results 1 – 3 of 3) sorted by relevance
77 #define pia(dev) ((struct pia *)(dev->base)) macro84 dummy = pia(p)->pprb; /* clears irq bit */ in mfc3_write_data()86 pia(p)->pprb = data; in mfc3_write_data()92 return pia(p)->pprb; in mfc3_read_data()126 pia(p)->ppra = (pia(p)->ppra & 0x1f) | control_pc_to_mfc3(control); in mfc3_write_control()132 return control_mfc3_to_pc(pia(p)->ppra & 0xe0); in mfc3_read_control()167 status = status_mfc3_to_pc(pia(p)->ppra & 0x1f); in mfc3_read_status()180 if (pia(this_port[i])->crb & 128) { /* Board caused interrupt */ in mfc3_interrupt()181 dummy = pia(this_port[i])->pprb; /* clear irq bit */ in mfc3_interrupt()189 pia(p)->crb |= PIA_C1_ENABLE_IRQ; in mfc3_enable_irq()[all …]
115 unsigned char buf[8], *pia; in amdgpu_fru_get_product_info() local183 pia = kzalloc(size, GFP_KERNEL); in amdgpu_fru_get_product_info()184 if (!pia) in amdgpu_fru_get_product_info()188 len = amdgpu_eeprom_read(adev->pm.fru_eeprom_i2c_bus, addr, pia, size); in amdgpu_fru_get_product_info()190 kfree(pia); in amdgpu_fru_get_product_info()196 csum += pia[size - 1]; in amdgpu_fru_get_product_info()199 kfree(pia); in amdgpu_fru_get_product_info()210 memcpy(fru_info->manufacturer_name, pia + addr + 1, in amdgpu_fru_get_product_info()212 pia[addr] & 0x3F)); in amdgpu_fru_get_product_info()217 addr += 1 + (pia[addr] & 0x3F); in amdgpu_fru_get_product_info()[all …]
24 struct pia { struct