Lines Matching refs:fw_fd
160 int fw_fd; /* FW patch file fd */ member
682 if ((hw_cfg_cb.fw_fd = open(p_name, O_RDONLY)) == -1) { in hw_config_cback()
709 p_buf->len = read(hw_cfg_cb.fw_fd, p, HCI_CMD_PREAMBLE_SIZE); in hw_config_cback()
715 p_buf->len += read(hw_cfg_cb.fw_fd, in hw_config_cback()
724 close(hw_cfg_cb.fw_fd); in hw_config_cback()
725 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
804 if (hw_cfg_cb.fw_fd != -1) { in hw_config_cback()
805 close(hw_cfg_cb.fw_fd); in hw_config_cback()
806 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
836 if (hw_cfg_cb.fw_fd != -1) { in hw_config_cback()
837 close(hw_cfg_cb.fw_fd); in hw_config_cback()
838 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
859 if (hw_cfg_cb.fw_fd != -1) { in hw_config_cback()
860 close(hw_cfg_cb.fw_fd); in hw_config_cback()
861 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
1062 hw_cfg_cb.fw_fd = -1; in hw_config_start()