Lines Matching defs:hvcs_struct

89  * hvcs_module_init().  Exposed hvcs_struct.index via a sysfs attribute so that
94 * 1.3.1 -> 1.3.2 Changed method for determining hvcs_struct->index and had it
111 * an hvcs_close(). Removed spinlock protection of hvcs_struct data members in
206 * In order to be somewhat sane this driver always associates the hvcs_struct
244 /* Only allow one hvcs_struct to use the hvcs_pi_buff at a time. */
247 /* One vty-server per hvcs_struct */
248 struct hvcs_struct {
260 * place upon this hvcs_struct instance.
302 static int hvcs_has_pi(struct hvcs_struct *hvcsd);
304 struct hvcs_struct *hvcsd);
305 static int hvcs_get_pi(struct hvcs_struct *hvcsd);
308 static int hvcs_partner_connect(struct hvcs_struct *hvcsd);
309 static void hvcs_partner_free(struct hvcs_struct *hvcsd);
311 static int hvcs_enable_device(struct hvcs_struct *hvcsd,
330 static inline struct hvcs_struct *from_vio_dev(struct vio_dev *viod)
339 struct hvcs_struct *hvcsd = from_vio_dev(viod);
353 struct hvcs_struct *hvcsd = from_vio_dev(viod);
378 struct hvcs_struct *hvcsd = from_vio_dev(viod);
395 struct hvcs_struct *hvcsd = from_vio_dev(viod);
432 struct hvcs_struct *hvcsd = from_vio_dev(viod);
447 struct hvcs_struct *hvcsd = from_vio_dev(viod);
504 struct hvcs_struct *hvcsd = tty->driver_data;
515 struct hvcs_struct *hvcsd = tty->driver_data;
526 * the hvcs_struct will always be valid in this handler.
530 struct hvcs_struct *hvcsd = dev_instance;
542 static void hvcs_try_write(struct hvcs_struct *hvcsd)
572 static int hvcs_io(struct hvcs_struct *hvcsd)
628 struct hvcs_struct *hvcsd;
684 struct hvcs_struct *hvcsd = container_of(p, struct hvcs_struct, port);
702 printk(KERN_INFO "HVCS: Destroyed hvcs_struct for vty-server@%X.\n",
747 struct hvcs_struct *hvcsd;
788 * This will populate the hvcs_struct's partner info fields for the
799 * the hvcs_struct has been added to the devices list then the user app
824 struct hvcs_struct *hvcsd = dev_get_drvdata(&dev->dev);
848 * simultaneous tty close already cleaned up the hvcs_struct.
866 static void hvcs_set_pi(struct hvcs_partner_info *pi, struct hvcs_struct *hvcsd)
877 * Traverse the list and add the partner info that is found to the hvcs_struct
884 * partner info fields in hvcs_struct with a list of hvcs_partner_info
889 static int hvcs_get_pi(struct hvcs_struct *hvcsd)
926 struct hvcs_struct *hvcsd;
947 static int hvcs_has_pi(struct hvcs_struct *hvcsd)
960 static int hvcs_partner_connect(struct hvcs_struct *hvcsd)
1011 static void hvcs_partner_free(struct hvcs_struct *hvcsd)
1021 static int hvcs_enable_device(struct hvcs_struct *hvcsd, uint32_t unit_address,
1060 * NOTICE: Do NOT hold either the hvcs_struct.lock or hvcs_structs_lock when
1063 static struct hvcs_struct *hvcs_get_by_index(int index)
1065 struct hvcs_struct *hvcsd;
1086 struct hvcs_struct *hvcsd;
1163 struct hvcs_struct *hvcsd = tty->driver_data;
1181 struct hvcs_struct *hvcsd;
1231 struct hvcs_struct *hvcsd = tty->driver_data;
1245 struct hvcs_struct *hvcsd = tty->driver_data;
1263 /* I don't think the tty needs the hvcs_struct pointer after a hangup */
1288 * The final put will trigger destruction of the hvcs_struct.
1306 struct hvcs_struct *hvcsd = tty->driver_data;
1406 * return value, hence the reason for hvcs_struct buffering.
1410 struct hvcs_struct *hvcsd = tty->driver_data;
1420 struct hvcs_struct *hvcsd = tty->driver_data;