Searched refs:vendor_command (Results 1 – 2 of 2) sorted by relevance
/drivers/usb/misc/ |
D | cytherm.c | 70 static int vendor_command(struct usb_device *dev, unsigned char request, in vendor_command() function 118 retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS, in set_brightness() 123 retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS_SEM, in set_brightness() 158 retval = vendor_command(cytherm->udev, READ_RAM, TEMP, 0, buffer, 8); in show_temp() 164 retval = vendor_command(cytherm->udev, READ_RAM, SIGN, 0, buffer, 8); in show_temp() 202 retval = vendor_command(cytherm->udev, READ_RAM, BUTTON, 0, buffer, 8); in show_button() 239 retval = vendor_command(cytherm->udev, READ_PORT, 0, 0, buffer, 8); in show_port0() 273 retval = vendor_command(cytherm->udev, WRITE_PORT, 0, in set_port0() 299 retval = vendor_command(cytherm->udev, READ_PORT, 1, 0, buffer, 8); in show_port1() 333 retval = vendor_command(cytherm->udev, WRITE_PORT, 1, in set_port1()
|
D | cypress_cy7c63.c | 73 static int vendor_command(struct cypress *dev, unsigned char request, in vendor_command() function 143 result = vendor_command(cyp, CYPRESS_WRITE_PORT, write_id, in write_port() 178 result = vendor_command(cyp, CYPRESS_READ_PORT, read_id, 0); in read_port()
|