Home
last modified time | relevance | path

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

/drivers/usb/misc/
Dcypress_cy7c63.c127 struct cypress *cyp = usb_get_intfdata(intf); in write_port() local
129 dev_dbg(&cyp->udev->dev, "WRITE_PORT%d called\n", port_num); in write_port()
141 result = vendor_command(cyp, CYPRESS_WRITE_PORT, write_id, in write_port()
144 dev_dbg(&cyp->udev->dev, "Result of vendor_command: %d\n\n", result); in write_port()
172 struct cypress *cyp = usb_get_intfdata(intf); in read_port() local
174 dev_dbg(&cyp->udev->dev, "READ_PORT%d called\n", port_num); in read_port()
176 result = vendor_command(cyp, CYPRESS_READ_PORT, read_id, 0); in read_port()
178 dev_dbg(&cyp->udev->dev, "Result of vendor_command: %d\n\n", result); in read_port()
180 return sprintf(buf, "%d", cyp->port[port_num]); in read_port()