Lines Matching refs:onoff
221 static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_bus() argument
224 [0] = !!onoff, in pcan_usb_set_bus()
231 static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_silent() argument
234 [0] = !!onoff, in pcan_usb_set_silent()
251 static int pcan_usb_set_ext_vcc(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_ext_vcc() argument
254 [0] = !!onoff, in pcan_usb_set_ext_vcc()
260 static int pcan_usb_set_led(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_led() argument
263 [0] = !!onoff, in pcan_usb_set_led()
296 static int pcan_usb_write_mode(struct peak_usb_device *dev, u8 onoff) in pcan_usb_write_mode() argument
300 err = pcan_usb_set_bus(dev, onoff); in pcan_usb_write_mode()
304 if (!onoff) { in pcan_usb_write_mode()