Home
last modified time | relevance | path

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

/drivers/parport/
Dparport_mfc3.c81 #define pia(dev) ((struct pia *)(dev->base)) macro
88 dummy = pia(p)->pprb; /* clears irq bit */ in mfc3_write_data()
90 pia(p)->pprb = data; in mfc3_write_data()
96 return pia(p)->pprb; in mfc3_read_data()
131 pia(p)->ppra = (pia(p)->ppra & 0x1f) | control_pc_to_mfc3(control); in mfc3_write_control()
137 return control_mfc3_to_pc(pia(p)->ppra & 0xe0); in mfc3_read_control()
172 status = status_mfc3_to_pc(pia(p)->ppra & 0x1f); in mfc3_read_status()
185 if (pia(this_port[i])->crb & 128) { /* Board caused interrupt */ in mfc3_interrupt()
186 dummy = pia(this_port[i])->pprb; /* clear irq bit */ in mfc3_interrupt()
194 pia(p)->crb |= PIA_C1_ENABLE_IRQ; in mfc3_enable_irq()
[all …]
/drivers/block/paride/
Dpg.c209 struct pi_adapter pia; /* interface to paride layer */ member
251 dev->pi = &dev->pia; in pg_init_units()
Dpd.c224 struct pi_adapter pia; /* interface to paride layer */ member
865 disk->pi = &disk->pia; in pd_detect()
Dpf.c231 struct pi_adapter pia; /* interface to paride layer */ member
291 pf->pi = &pf->pia; in pf_init_units()
Dpcd.c193 struct pi_adapter pia; /* interface to paride layer */ member
304 cd->pi = &cd->pia; in pcd_init_units()
Dpt.c217 struct pi_adapter pia; /* interface to paride layer */ member
618 tape->pi = &tape->pia; in pt_detect()