Searched refs:cyp (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/misc/ |
H A D | cypress_cy7c63.c | 128 struct cypress *cyp = usb_get_intfdata(intf); in write_port() local 130 dev_dbg(&cyp->udev->dev, "WRITE_PORT%d called\n", port_num); in write_port() 142 result = vendor_command(cyp, CYPRESS_WRITE_PORT, write_id, in write_port() 145 dev_dbg(&cyp->udev->dev, "Result of vendor_command: %d\n\n", result); in write_port() 173 struct cypress *cyp = usb_get_intfdata(intf); in read_port() local 175 dev_dbg(&cyp->udev->dev, "READ_PORT%d called\n", port_num); in read_port() 177 result = vendor_command(cyp, CYPRESS_READ_PORT, read_id, 0); in read_port() 179 dev_dbg(&cyp->udev->dev, "Result of vendor_command: %d\n\n", result); in read_port() 181 return sprintf(buf, "%d", cyp->port[port_num]); in read_port()
|