Lines Matching refs:fw_fd
133 int fw_fd; /* FW patch file fd */ member
703 if ((hw_cfg_cb.fw_fd = open(p_name, O_RDONLY)) == -1) in hw_config_cback()
740 p_buf->len = read(hw_cfg_cb.fw_fd, p, HCI_CMD_PREAMBLE_SIZE); in hw_config_cback()
750 p_buf->len += read(hw_cfg_cb.fw_fd, \ in hw_config_cback()
760 close(hw_cfg_cb.fw_fd); in hw_config_cback()
761 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
845 if (hw_cfg_cb.fw_fd != -1) in hw_config_cback()
847 close(hw_cfg_cb.fw_fd); in hw_config_cback()
848 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
879 if (hw_cfg_cb.fw_fd != -1) in hw_config_cback()
881 close(hw_cfg_cb.fw_fd); in hw_config_cback()
882 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
906 if (hw_cfg_cb.fw_fd != -1) in hw_config_cback()
908 close(hw_cfg_cb.fw_fd); in hw_config_cback()
909 hw_cfg_cb.fw_fd = -1; in hw_config_cback()
1116 hw_cfg_cb.fw_fd = -1; in hw_config_start()