pti_tty_data 456 drivers/misc/pti.c struct pti_tty *pti_tty_data; pti_tty_data 460 drivers/misc/pti.c pti_tty_data = kmalloc(sizeof(struct pti_tty), GFP_KERNEL); pti_tty_data 461 drivers/misc/pti.c if (pti_tty_data == NULL) pti_tty_data 465 drivers/misc/pti.c pti_tty_data->mc = pti_request_masterchannel(0, NULL); pti_tty_data 467 drivers/misc/pti.c pti_tty_data->mc = pti_request_masterchannel(2, NULL); pti_tty_data 469 drivers/misc/pti.c if (pti_tty_data->mc == NULL) { pti_tty_data 470 drivers/misc/pti.c kfree(pti_tty_data); pti_tty_data 473 drivers/misc/pti.c tty->driver_data = pti_tty_data; pti_tty_data 487 drivers/misc/pti.c struct pti_tty *pti_tty_data = tty->driver_data; pti_tty_data 488 drivers/misc/pti.c if (pti_tty_data == NULL) pti_tty_data 490 drivers/misc/pti.c pti_release_masterchannel(pti_tty_data->mc); pti_tty_data 491 drivers/misc/pti.c kfree(pti_tty_data); pti_tty_data 511 drivers/misc/pti.c struct pti_tty *pti_tty_data = tty->driver_data; pti_tty_data 512 drivers/misc/pti.c if ((pti_tty_data != NULL) && (pti_tty_data->mc != NULL)) { pti_tty_data 513 drivers/misc/pti.c pti_write_to_aperture(pti_tty_data->mc, (u8 *)buf, len);