Lines Matching refs:hvcs_struct

91  * hvcs_module_init().  Exposed hvcs_struct.index via a sysfs attribute so that
96 * 1.3.1 -> 1.3.2 Changed method for determining hvcs_struct->index and had it
113 * an hvcs_close(). Removed spinlock protection of hvcs_struct data members in
208 * In order to be somewhat sane this driver always associates the hvcs_struct
246 /* Only allow one hvcs_struct to use the hvcs_pi_buff at a time. */
249 /* One vty-server per hvcs_struct */
250 struct hvcs_struct {
262 * place upon this hvcs_struct instance.
296 static int hvcs_get_pi(struct hvcs_struct *hvcsd);
299 static void hvcs_partner_free(struct hvcs_struct *hvcsd);
308 static inline struct hvcs_struct *from_vio_dev(struct vio_dev *viod)
317 struct hvcs_struct *hvcsd = from_vio_dev(viod);
331 struct hvcs_struct *hvcsd = from_vio_dev(viod);
356 struct hvcs_struct *hvcsd = from_vio_dev(viod);
373 struct hvcs_struct *hvcsd = from_vio_dev(viod);
410 struct hvcs_struct *hvcsd = from_vio_dev(viod);
425 struct hvcs_struct *hvcsd = from_vio_dev(viod);
487 struct hvcs_struct *hvcsd = tty->driver_data;
498 struct hvcs_struct *hvcsd = tty->driver_data;
509 * the hvcs_struct will always be valid in this handler.
513 struct hvcs_struct *hvcsd = dev_instance;
525 static void hvcs_try_write(struct hvcs_struct *hvcsd)
555 static int hvcs_io(struct hvcs_struct *hvcsd)
610 struct hvcs_struct *hvcsd;
666 struct hvcs_struct *hvcsd = container_of(p, struct hvcs_struct, port);
685 printk(KERN_INFO "HVCS: Destroyed hvcs_struct for vty-server@%X.\n",
730 struct hvcs_struct *hvcsd;
770 * This will populate the hvcs_struct's partner info fields for the
781 * the hvcs_struct has been added to the devices list then the user app
799 struct hvcs_struct *hvcsd = dev_get_drvdata(&dev->dev);
815 * simultaneous tty close already cleaned up the hvcs_struct.
840 static void hvcs_set_pi(struct hvcs_partner_info *pi, struct hvcs_struct *hvcsd)
851 * Traverse the list and add the partner info that is found to the hvcs_struct
858 * partner info fields in hvcs_struct with a list of hvcs_partner_info
863 static int hvcs_get_pi(struct hvcs_struct *hvcsd)
900 struct hvcs_struct *hvcsd;
921 static int hvcs_has_pi(struct hvcs_struct *hvcsd)
934 static int hvcs_partner_connect(struct hvcs_struct *hvcsd)
985 static void hvcs_partner_free(struct hvcs_struct *hvcsd)
995 static int hvcs_enable_device(struct hvcs_struct *hvcsd, uint32_t unit_address,
1034 * NOTICE: Do NOT hold either the hvcs_struct.lock or hvcs_structs_lock when
1037 static struct hvcs_struct *hvcs_get_by_index(int index)
1039 struct hvcs_struct *hvcsd;
1060 struct hvcs_struct *hvcsd;
1137 struct hvcs_struct *hvcsd = tty->driver_data;
1155 struct hvcs_struct *hvcsd;
1208 struct hvcs_struct *hvcsd = tty->driver_data;
1222 struct hvcs_struct *hvcsd = tty->driver_data;
1260 struct hvcs_struct *hvcsd = tty->driver_data;
1361 * return value, hence the reason for hvcs_struct buffering.
1365 struct hvcs_struct *hvcsd = tty->driver_data;
1375 struct hvcs_struct *hvcsd = tty->driver_data;