Home
last modified time | relevance | path

Searched refs:send_usb_cmd (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dcorsair-cpro.c81 struct mutex mutex; /* whenever buffer is used, lock before send_usb_cmd */
109 static int send_usb_cmd(struct ccp_device *ccp, u8 command, u8 byte1, u8 byte2, u8 byte3) in send_usb_cmd() function
154 ret = send_usb_cmd(ccp, command, channel, 0, 0); in get_data()
179 ret = send_usb_cmd(ccp, CTL_SET_FAN_FPWM, channel, val, 0); in set_pwm()
195 ret = send_usb_cmd(ccp, CTL_SET_FAN_TARGET, channel, val >> 8, val); in set_target()
432 ret = send_usb_cmd(ccp, CTL_GET_FAN_CNCT, 0, 0, 0); in get_fan_cnct()
470 ret = send_usb_cmd(ccp, CTL_GET_TMP_CNCT, 0, 0, 0); in get_temp_cnct()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dcorsair-cpro.c81 struct mutex mutex; /* whenever buffer is used, lock before send_usb_cmd */
109 static int send_usb_cmd(struct ccp_device *ccp, u8 command, u8 byte1, u8 byte2, u8 byte3) in send_usb_cmd() function
154 ret = send_usb_cmd(ccp, command, channel, 0, 0); in get_data()
179 ret = send_usb_cmd(ccp, CTL_SET_FAN_FPWM, channel, val, 0); in set_pwm()
195 ret = send_usb_cmd(ccp, CTL_SET_FAN_TARGET, channel, val >> 8, val); in set_target()
433 ret = send_usb_cmd(ccp, CTL_GET_FAN_CNCT, 0, 0, 0); in get_fan_cnct()
471 ret = send_usb_cmd(ccp, CTL_GET_TMP_CNCT, 0, 0, 0); in get_temp_cnct()

Completed in 3 milliseconds