Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/input/touchscreen/
Diqs5xx.c247 static int iqs5xx_bl_cmd(struct i2c_client *client, u8 bl_cmd, u16 bl_addr) in iqs5xx_bl_cmd() argument
251 u8 mbuf[sizeof(bl_cmd) + sizeof(bl_addr)]; in iqs5xx_bl_cmd()
255 msg.len = sizeof(bl_cmd); in iqs5xx_bl_cmd()
258 *mbuf = bl_cmd; in iqs5xx_bl_cmd()
260 switch (bl_cmd) { in iqs5xx_bl_cmd()
267 put_unaligned_be16(bl_addr, mbuf + sizeof(bl_cmd)); in iqs5xx_bl_cmd()
277 switch (bl_cmd) { in iqs5xx_bl_cmd()
303 if (bl_cmd == IQS5XX_BL_CMD_VER && in iqs5xx_bl_cmd()
310 if (bl_cmd == IQS5XX_BL_CMD_CRC && *mbuf != IQS5XX_BL_CRC_PASS) { in iqs5xx_bl_cmd()
321 if (bl_cmd != IQS5XX_BL_CMD_VER) in iqs5xx_bl_cmd()
[all …]
Dcyttsp_core.c132 u8 bl_cmd[sizeof(bl_command)]; in cyttsp_exit_bl_mode() local
134 memcpy(bl_cmd, bl_command, sizeof(bl_command)); in cyttsp_exit_bl_mode()
136 memcpy(&bl_cmd[sizeof(bl_command) - CY_NUM_BL_KEYS], in cyttsp_exit_bl_mode()
140 sizeof(bl_cmd), bl_cmd); in cyttsp_exit_bl_mode()
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_91x_hal.c614 static int bl_cmd(struct rsi_hw *adapter, u8 cmd, u8 exp_resp, char *str) in bl_cmd() function
743 status = bl_cmd(adapter, cmd_req, cmd_resp, str); in ping_pong_write()
832 status = bl_cmd(adapter, EOF_REACHED, FW_LOADING_SUCCESSFUL, in auto_fw_upgrade()
896 status = bl_cmd(adapter, CONFIG_AUTO_READ_MODE, CMD_PASS, in rsi_load_9113_firmware()
960 status = bl_cmd(adapter, POLLING_MODE, CMD_PASS, "POLLING_MODE"); in rsi_load_9113_firmware()
965 status = bl_cmd(adapter, LOAD_HOSTED_FW, LOADING_INITIATED, in rsi_load_9113_firmware()
973 status = bl_cmd(adapter, BURN_HOSTED_FW, SEND_RPS_FILE, "FW_UPGRADE"); in rsi_load_9113_firmware()
986 status = bl_cmd(adapter, CONFIG_AUTO_READ_MODE, CMD_PASS, in rsi_load_9113_firmware()
1018 status = bl_cmd(adapter, POLLING_MODE, CMD_PASS, in rsi_load_9116_firmware()
1116 if (bl_cmd(adapter, JUMP_TO_ZERO_PC, in rsi_load_9116_firmware()