Lines Matching refs:cmds_todo
99 unsigned long cmds_todo; member
186 set_bit(CAN327_TX_DO_CAN_CONFIG, &elm->cmds_todo); in can327_send_frame()
190 clear_bit(CAN327_TX_DO_CANID_11BIT, &elm->cmds_todo); in can327_send_frame()
191 set_bit(CAN327_TX_DO_CANID_29BIT_LOW, &elm->cmds_todo); in can327_send_frame()
192 set_bit(CAN327_TX_DO_CANID_29BIT_HIGH, &elm->cmds_todo); in can327_send_frame()
194 set_bit(CAN327_TX_DO_CANID_11BIT, &elm->cmds_todo); in can327_send_frame()
196 &elm->cmds_todo); in can327_send_frame()
198 &elm->cmds_todo); in can327_send_frame()
204 set_bit(CAN327_TX_DO_CAN_DATA, &elm->cmds_todo); in can327_send_frame()
254 set_bit(CAN327_TX_DO_INIT, &elm->cmds_todo); in can327_init_device()
255 set_bit(CAN327_TX_DO_SILENT_MONITOR, &elm->cmds_todo); in can327_init_device()
256 set_bit(CAN327_TX_DO_RESPONSES, &elm->cmds_todo); in can327_init_device()
257 set_bit(CAN327_TX_DO_CAN_CONFIG, &elm->cmds_todo); in can327_init_device()
559 if (!elm->cmds_todo) { in can327_handle_prompt()
573 if (test_bit(CAN327_TX_DO_INIT, &elm->cmds_todo)) { in can327_handle_prompt()
579 clear_bit(CAN327_TX_DO_INIT, &elm->cmds_todo); in can327_handle_prompt()
583 } else if (test_and_clear_bit(CAN327_TX_DO_SILENT_MONITOR, &elm->cmds_todo)) { in can327_handle_prompt()
588 } else if (test_and_clear_bit(CAN327_TX_DO_RESPONSES, &elm->cmds_todo)) { in can327_handle_prompt()
593 } else if (test_and_clear_bit(CAN327_TX_DO_CAN_CONFIG, &elm->cmds_todo)) { in can327_handle_prompt()
596 set_bit(CAN327_TX_DO_CAN_CONFIG_PART2, &elm->cmds_todo); in can327_handle_prompt()
598 } else if (test_and_clear_bit(CAN327_TX_DO_CAN_CONFIG_PART2, &elm->cmds_todo)) { in can327_handle_prompt()
603 } else if (test_and_clear_bit(CAN327_TX_DO_CANID_29BIT_HIGH, &elm->cmds_todo)) { in can327_handle_prompt()
608 } else if (test_and_clear_bit(CAN327_TX_DO_CANID_29BIT_LOW, &elm->cmds_todo)) { in can327_handle_prompt()
613 } else if (test_and_clear_bit(CAN327_TX_DO_CANID_11BIT, &elm->cmds_todo)) { in can327_handle_prompt()
618 } else if (test_and_clear_bit(CAN327_TX_DO_CAN_DATA, &elm->cmds_todo)) { in can327_handle_prompt()