Lines Matching refs:request
56 struct wilco_keyboard_leds_msg *request, in send_kbbl_msg() argument
64 msg.request_data = request; in send_kbbl_msg()
65 msg.request_size = sizeof(*request); in send_kbbl_msg()
81 struct wilco_keyboard_leds_msg request; in set_kbbl() local
85 memset(&request, 0, sizeof(request)); in set_kbbl()
86 request.command = WILCO_EC_COMMAND_KBBL; in set_kbbl()
87 request.subcmd = WILCO_KBBL_SUBCMD_SET_STATE; in set_kbbl()
88 request.mode = WILCO_KBBL_MODE_FLAG_PWM; in set_kbbl()
89 request.percent = brightness; in set_kbbl()
91 ret = send_kbbl_msg(ec, &request, &response); in set_kbbl()
107 struct wilco_keyboard_leds_msg request; in kbbl_exist() local
111 memset(&request, 0, sizeof(request)); in kbbl_exist()
112 request.command = WILCO_EC_COMMAND_KBBL; in kbbl_exist()
113 request.subcmd = WILCO_KBBL_SUBCMD_GET_FEATURES; in kbbl_exist()
115 ret = send_kbbl_msg(ec, &request, &response); in kbbl_exist()
136 struct wilco_keyboard_leds_msg request; in kbbl_init() local
140 memset(&request, 0, sizeof(request)); in kbbl_init()
141 request.command = WILCO_EC_COMMAND_KBBL; in kbbl_init()
142 request.subcmd = WILCO_KBBL_SUBCMD_GET_STATE; in kbbl_init()
144 ret = send_kbbl_msg(ec, &request, &response); in kbbl_init()