Lines Matching refs:ctrl
36 struct hvsi_control ctrl; in hvsi_send_close() local
40 ctrl.hdr.type = VS_CONTROL_PACKET_HEADER; in hvsi_send_close()
41 ctrl.hdr.len = sizeof(struct hvsi_control); in hvsi_send_close()
42 ctrl.verb = cpu_to_be16(VSV_CLOSE_PROTOCOL); in hvsi_send_close()
43 return hvsi_send_packet(pv, &ctrl.hdr); in hvsi_send_close()
288 struct hvsi_control ctrl; in hvsilib_write_mctrl() local
303 ctrl.hdr.type = VS_CONTROL_PACKET_HEADER, in hvsilib_write_mctrl()
304 ctrl.hdr.len = sizeof(struct hvsi_control); in hvsilib_write_mctrl()
305 ctrl.verb = cpu_to_be16(VSV_SET_MODEM_CTL); in hvsilib_write_mctrl()
306 ctrl.mask = cpu_to_be32(HVSI_TSDTR); in hvsilib_write_mctrl()
307 ctrl.word = cpu_to_be32(dtr ? HVSI_TSDTR : 0); in hvsilib_write_mctrl()
308 return hvsi_send_packet(pv, &ctrl.hdr); in hvsilib_write_mctrl()