Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/misc/
H A Dcypress_cy7c63.c124 struct cypress *cyp = usb_get_intfdata(intf); in write_port() local
126 dev_dbg(&cyp->udev->dev, "WRITE_PORT%d called\n", port_num); in write_port()
138 result = vendor_command(cyp, CYPRESS_WRITE_PORT, write_id, in write_port()
141 dev_dbg(&cyp->udev->dev, "Result of vendor_command: %d\n\n", result); in write_port()
169 struct cypress *cyp = usb_get_intfdata(intf); in read_port() local
171 dev_dbg(&cyp->udev->dev, "READ_PORT%d called\n", port_num); in read_port()
173 result = vendor_command(cyp, CYPRESS_READ_PORT, read_id, 0); in read_port()
175 dev_dbg(&cyp->udev->dev, "Result of vendor_command: %d\n\n", result); in read_port()
177 return sprintf(buf, "%d", cyp->port[port_num]); in read_port()