Home
last modified time | relevance | path

Searched refs:pia (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/parport/
Dparport_mfc3.c77 #define pia(dev) ((struct pia *)(dev->base)) macro
84 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 …]
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fru_eeprom.c115 unsigned char buf[8], *pia; in amdgpu_fru_get_product_info() local
183 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 …]
/linux-6.12.1/include/linux/
Dmc6821.h24 struct pia { struct