Lines Matching full:brf_action
315 static int brf_do_action(uint16_t brf_type, uint8_t *brf_action, long brf_size,
323 ret = brf_send_command(fd, (struct bts_action_send*) brf_action, brf_size, hcill_installed);
330 ret = brf_set_serial_params((struct bts_action_serial *) brf_action, fd, ti);
334 brf_delay((struct bts_action_delay *) brf_action);
350 static int brf_action_is_deep_sleep(uint8_t *brf_action, long brf_size,
361 if (brf_action[0] != HCI_COMMAND_PKT)
365 opcode = brf_action[1] | (brf_action[2] << 8);
386 static uint8_t brf_action[512];
402 brf_size = bts_fetch_action(brf_script_file, brf_action,
403 sizeof(brf_action), &brf_type);
415 ret = brf_do_action(brf_type, brf_action, brf_size,
420 brf_size = bts_fetch_action(brf_script_file, brf_action,
421 sizeof(brf_action), &brf_type);
427 brf_action_is_deep_sleep(brf_action,