Lines Matching refs:fw_fd
135 int fw_fd; /* FW patch file fd */ member
705 if ((hw_cfg_cb.fw_fd = open(p_name, O_RDONLY)) == -1) in hw_config_cback()
742 if (hw_cfg_cb.fw_fd >= 0) in hw_config_cback()
744 int ret = read(hw_cfg_cb.fw_fd, p, HCI_CMD_PREAMBLE_SIZE); in hw_config_cback()
755 ret = read(hw_cfg_cb.fw_fd, \ in hw_config_cback()
772 close(hw_cfg_cb.fw_fd); in hw_config_cback()
773 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
857 if (hw_cfg_cb.fw_fd != -1) in hw_config_cback()
859 close(hw_cfg_cb.fw_fd); in hw_config_cback()
860 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
891 if (hw_cfg_cb.fw_fd != -1) in hw_config_cback()
893 close(hw_cfg_cb.fw_fd); in hw_config_cback()
894 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
918 if (hw_cfg_cb.fw_fd != -1) in hw_config_cback()
920 close(hw_cfg_cb.fw_fd); in hw_config_cback()
921 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
1128 hw_cfg_cb.fw_fd = -1; in hw_config_start()