Home
last modified time | relevance | path

Searched refs:vendor_command (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/usb/misc/
H A Dcytherm.c50 static int vendor_command(struct usb_device *dev, unsigned char request, in vendor_command() function
96 retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS, in brightness_store()
101 retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS_SEM, in brightness_store()
132 retval = vendor_command(cytherm->udev, READ_RAM, TEMP, 0, buffer, 8); in temp_show()
138 retval = vendor_command(cytherm->udev, READ_RAM, SIGN, 0, buffer, 8); in temp_show()
167 retval = vendor_command(cytherm->udev, READ_RAM, BUTTON, 0, buffer, 8); in button_show()
195 retval = vendor_command(cytherm->udev, READ_PORT, 0, 0, buffer, 8); in port0_show()
227 retval = vendor_command(cytherm->udev, WRITE_PORT, 0, in port0_store()
250 retval = vendor_command(cytherm->udev, READ_PORT, 1, 0, buffer, 8); in port1_show()
282 retval = vendor_command(cytherm->udev, WRITE_PORT, 1, in port1_store()
H A Dcypress_cy7c63.c69 static int vendor_command(struct cypress *dev, unsigned char request, in vendor_command() function
142 result = vendor_command(cyp, CYPRESS_WRITE_PORT, write_id, in write_port()
177 result = vendor_command(cyp, CYPRESS_READ_PORT, read_id, 0); in read_port()