| /OK3568_Linux_fs/kernel/drivers/clk/qcom/ |
| H A D | clk-rpmh.c | 158 u32 cmd_state, on_val; in clk_rpmh_send_aggregate_command() local 164 cmd_state = c->aggr_state; in clk_rpmh_send_aggregate_command() 169 if (cmd_state & BIT(state)) in clk_rpmh_send_aggregate_command() 172 wait = cmd_state && state == RPMH_ACTIVE_ONLY_STATE; in clk_rpmh_send_aggregate_command() 261 u32 cmd_state; in clk_rpmh_bcm_send_cmd() local 266 cmd_state = 1; in clk_rpmh_bcm_send_cmd() 268 cmd_state = c->aggr_state; in clk_rpmh_bcm_send_cmd() 270 cmd_state = 0; in clk_rpmh_bcm_send_cmd() 273 if (c->last_sent_aggr_state != cmd_state) { in clk_rpmh_bcm_send_cmd() 275 cmd.data = BCM_TCS_CMD(1, enable, 0, cmd_state); in clk_rpmh_bcm_send_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/olpc/ |
| H A D | olpc-xo175-ec.c | 236 int cmd_state; member 317 priv->cmd_state = CMD_STATE_ERROR_RECEIVED; in olpc_xo175_ec_complete() 342 priv->cmd_state = CMD_STATE_CMD_SENT; in olpc_xo175_ec_complete() 360 priv->cmd_state = CMD_STATE_CMD_IN_TX_FIFO; in olpc_xo175_ec_complete() 379 priv->cmd_state = CMD_STATE_RESP_RECEIVED; in olpc_xo175_ec_complete() 395 priv->cmd_state = CMD_STATE_ERROR_RECEIVED; in olpc_xo175_ec_complete() 519 priv->cmd_state = CMD_STATE_WAITING_FOR_SWITCH; in olpc_xo175_ec_cmd() 537 priv->cmd_state); in olpc_xo175_ec_cmd() 547 if (priv->cmd_state == CMD_STATE_ERROR_RECEIVED) { in olpc_xo175_ec_cmd() 688 priv->cmd_state = CMD_STATE_IDLE; in olpc_xo175_ec_probe()
|
| /OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/ |
| H A D | hciattach_rtk.c | 582 if (rtb_cfg.cmd_state.opcode != opcode) { in h5_init_hci_cc() 584 __func__, rtb_cfg.cmd_state.opcode, opcode); in h5_init_hci_cc() 588 rtb_cfg.cmd_state.state = CMD_STATE_SUCCESS; in h5_init_hci_cc() 652 if (rtb_cfg.cmd_state.opcode != opcode) { in h5_post_hci_cc() 654 __func__, rtb_cfg.cmd_state.opcode, opcode); in h5_post_hci_cc() 658 rtb_cfg.cmd_state.state = CMD_STATE_SUCCESS; in h5_post_hci_cc() 1002 if (opcode != rtb_cfg.cmd_state.opcode || in start_transmit_wait() 1003 rtb_cfg.cmd_state.state != CMD_STATE_UNKNOWN) { in start_transmit_wait() 1108 if (rtb_cfg.cmd_state.opcode == opcode && in start_transmit_wait() 1109 rtb_cfg.cmd_state.state == CMD_STATE_SUCCESS) { in start_transmit_wait() [all …]
|
| H A D | hciattach.h | 176 } cmd_state; member
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ccp/ |
| H A D | tee-dev.h | 112 u32 cmd_state; member
|
| H A D | tee-dev.c | 299 cmd->cmd_state = TEE_CMD_STATE_INIT; in tee_submit_cmd() 333 if (resp->cmd_state == TEE_CMD_STATE_COMPLETED) in tee_wait_cmd_completion()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/ |
| H A D | state_mach.h | 126 u8 cmd_state; member
|
| H A D | fwofld.c | 1303 if (sm->cmd_state == MAC_AX_CMD_OFLD_RCVD) in chk_cmd_ofld_pkt() 1393 sm->cmd_state = MAC_AX_CMD_OFLD_SENDING; in cmd_ofld() 1430 if (sm->cmd_state != MAC_AX_CMD_OFLD_IDLE) { in mac_add_cmd_ofld() 1435 sm->cmd_state = MAC_AX_CMD_OFLD_PROC; in mac_add_cmd_ofld() 1465 sm->cmd_state = MAC_AX_CMD_OFLD_IDLE; in mac_add_cmd_ofld()
|
| H A D | fwcmd.c | 1556 if (sm->cmd_state != MAC_AX_CMD_OFLD_SENDING) in c2h_cmd_ofld_rsp_hdl() 1559 sm->cmd_state = MAC_AX_CMD_OFLD_RCVD; in c2h_cmd_ofld_rsp_hdl()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/ |
| H A D | state_mach.h | 126 u8 cmd_state; member
|
| H A D | fwofld.c | 1303 if (sm->cmd_state == MAC_AX_CMD_OFLD_RCVD) in chk_cmd_ofld_pkt() 1393 sm->cmd_state = MAC_AX_CMD_OFLD_SENDING; in cmd_ofld() 1430 if (sm->cmd_state != MAC_AX_CMD_OFLD_IDLE) { in mac_add_cmd_ofld() 1435 sm->cmd_state = MAC_AX_CMD_OFLD_PROC; in mac_add_cmd_ofld() 1465 sm->cmd_state = MAC_AX_CMD_OFLD_IDLE; in mac_add_cmd_ofld()
|
| H A D | fwcmd.c | 1556 if (sm->cmd_state != MAC_AX_CMD_OFLD_SENDING) in c2h_cmd_ofld_rsp_hdl() 1559 sm->cmd_state = MAC_AX_CMD_OFLD_RCVD; in c2h_cmd_ofld_rsp_hdl()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/halmac/halmac_88xx/ |
| H A D | halmac_common_88xx.c | 1350 enum halmac_cmd_construct_state cmd_state; in cfg_parameter_88xx() local 1365 cmd_state = cfg_param_cmd_cnstr_state_88xx(adapter); in cfg_parameter_88xx() 1366 if (cmd_state != HALMAC_CMD_CNSTR_IDLE && in cfg_parameter_88xx() 1367 cmd_state != HALMAC_CMD_CNSTR_CNSTR) { in cfg_parameter_88xx()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/halmac/halmac_88xx/ |
| H A D | halmac_common_88xx.c | 1358 enum halmac_cmd_construct_state cmd_state; in cfg_parameter_88xx() local 1373 cmd_state = cfg_param_cmd_cnstr_state_88xx(adapter); in cfg_parameter_88xx() 1374 if (cmd_state != HALMAC_CMD_CNSTR_IDLE && in cfg_parameter_88xx() 1375 cmd_state != HALMAC_CMD_CNSTR_CNSTR) { in cfg_parameter_88xx()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/halmac/halmac_88xx/ |
| H A D | halmac_common_88xx.c | 1359 enum halmac_cmd_construct_state cmd_state; in cfg_parameter_88xx() local 1374 cmd_state = cfg_param_cmd_cnstr_state_88xx(adapter); in cfg_parameter_88xx() 1375 if (cmd_state != HALMAC_CMD_CNSTR_IDLE && in cfg_parameter_88xx() 1376 cmd_state != HALMAC_CMD_CNSTR_CNSTR) { in cfg_parameter_88xx()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/halmac/halmac_88xx/ |
| H A D | halmac_common_88xx.c | 1358 enum halmac_cmd_construct_state cmd_state; in cfg_parameter_88xx() local 1373 cmd_state = cfg_param_cmd_cnstr_state_88xx(adapter); in cfg_parameter_88xx() 1374 if (cmd_state != HALMAC_CMD_CNSTR_IDLE && in cfg_parameter_88xx() 1375 cmd_state != HALMAC_CMD_CNSTR_CNSTR) { in cfg_parameter_88xx()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/ |
| H A D | cyttsp5_core.c | 505 int *cmd_state; in cyttsp5_hid_exec_cmd_and_wait_() local 508 cmd_state = &cd->hid_reset_cmd_state; in cyttsp5_hid_exec_cmd_and_wait_() 510 cmd_state = &cd->hid_cmd_state; in cyttsp5_hid_exec_cmd_and_wait_() 514 *cmd_state = 1; in cyttsp5_hid_exec_cmd_and_wait_() 535 t = wait_event_timeout(cd->wait_q, (*cmd_state == 0), in cyttsp5_hid_exec_cmd_and_wait_() 548 *cmd_state = 0; in cyttsp5_hid_exec_cmd_and_wait_()
|