Lines Matching refs:ioport
3947 struct sony_pic_ioport *ioport = kzalloc(sizeof(*ioport), GFP_KERNEL); in sony_pic_read_possible_resource() local
3948 if (!ioport) in sony_pic_read_possible_resource()
3951 list_add(&ioport->list, &dev->ioports); in sony_pic_read_possible_resource()
3994 struct sony_pic_ioport *ioport = in sony_pic_read_possible_resource() local
4001 if (!ioport->io1.minimum) { in sony_pic_read_possible_resource()
4002 memcpy(&ioport->io1, io, sizeof(*io)); in sony_pic_read_possible_resource()
4003 dprintk("IO1 at 0x%.4x (0x%.2x)\n", ioport->io1.minimum, in sony_pic_read_possible_resource()
4004 ioport->io1.address_length); in sony_pic_read_possible_resource()
4006 else if (!ioport->io2.minimum) { in sony_pic_read_possible_resource()
4007 memcpy(&ioport->io2, io, sizeof(*io)); in sony_pic_read_possible_resource()
4008 dprintk("IO2 at 0x%.4x (0x%.2x)\n", ioport->io2.minimum, in sony_pic_read_possible_resource()
4009 ioport->io2.address_length); in sony_pic_read_possible_resource()
4085 struct sony_pic_ioport *ioport, struct sony_pic_irq *irq) in sony_pic_enable() argument
4108 if (!ioport || !irq) in sony_pic_enable()
4125 memcpy(&resource->res1.data.io, &ioport->io1, in sony_pic_enable()
4130 memcpy(&resource->res2.data.io, &ioport->io2, in sony_pic_enable()
4149 memcpy(&resource->res1.data.io, &ioport->io1, in sony_pic_enable()