libhd  5.0
manual.h
Go to the documentation of this file.
ECHO
#define ECHO
Definition: lex.yy.c:694
subvendor_id
@ subvendor_id
Definition: isdn_cdb_def.h:9
yy_init_globals
static int yy_init_globals(void)
Definition: lex.yy.c:2006
yy_buffer_state::yy_buf_pos
char * yy_buf_pos
Definition: lex.yy.c:190
yy_scan_bytes
YY_BUFFER_STATE yy_scan_bytes(const char *bytes, int len)
Setup the input buffer state to scan the given bytes.
Definition: lex.yy.c:1869
read_file
str_list_t * read_file(char *file_name, unsigned start_line, unsigned lines)
Definition: hd.c:2544
s_hd_t::unix_dev_name2
char * unix_dev_name2
Special device file.
Definition: hd.h:2374
s_hd_t::prog_if
hd_id_t prog_if
(PCI) programming interface (id and name).
Definition: hd.h:2246
yytext_ptr
#define yytext_ptr
Definition: lex.yy.c:337
key2value
static char * key2value(hash_t *hash, int id)
Definition: hwclass_names.h:75
hal_invalidate_all
void hal_invalidate_all(hal_prop_t *prop, const char *key)
Definition: hal.c:271
s_hd_t::base_class
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2236
yy_def
static const flex_int16_t yy_def[259]
Definition: lex.yy.c:466
u_hd_res_t::cache
res_cache_t cache
Definition: hd.h:1836
yyset_out
void yyset_out(FILE *_out_str)
Definition: lex.yy.c:1991
res_monitor_t::width
unsigned width
Definition: hd.h:1764
yywrap
int yywrap(void)
Definition: isdn_cdb.c:10
yyget_in
FILE * yyget_in(void)
Get the input stream.
Definition: lex.yy.c:1940
p_string
@ p_string
Definition: hd.h:1604
yy_act
int yy_act
Definition: lex.yy.c:788
hal_prop_s::int32
int32_t int32
Definition: hd.h:1617
yy_base
static const flex_int16_t yy_base[259]
Definition: lex.yy.c:434
yy_buffer_stack_top
static size_t yy_buffer_stack_top
index of top of stack.
Definition: lex.yy.c:249
s_hd_t::attached_to
unsigned attached_to
Device this hardware is attached to.
Definition: hd.h:2331
hd_data_t::last_idx
unsigned last_idx
(Internal) index of the last hd entry generated
Definition: hd.h:2685
res_monitor_t::vfreq
unsigned vfreq
in Hz
Definition: hd.h:1765
YY_BREAK
#define YY_BREAK
Definition: lex.yy.c:773
res_framebuffer_t::colorbits
unsigned colorbits
4, 8, 15, 16, 24, 32
Definition: hd.h:1787
yy_bp
char * yy_bp
Definition: lex.yy.c:787
flex_int8_t
signed char flex_int8_t
Definition: lex.yy.c:50
hd_status_t::available
unsigned available
Hardware availability.
Definition: hd.h:348
yy_trans_info
Definition: lex.yy.c:357
hal_prop_s::next
struct hal_prop_s * next
Definition: hd.h:1612
res_baud_t::stopbits
unsigned stopbits
Definition: hd.h:1742
mod_manual
@ mod_manual
Definition: hd_int.h:82
hd_data_t::hd
hd_t * hd
Current hardware list.
Definition: hd.h:2615
yy_size_t
size_t yy_size_t
Definition: lex.yy.c:154
yy_flex_debug
int yy_flex_debug
Definition: lex.yy.c:578
YY_STATE_EOF
#define YY_STATE_EOF(state)
Definition: lex.yy.c:125
s_hd_t::is_s::cdrw
unsigned cdrw
CD-RW.
Definition: hd.h:2482
remove_hd_entries
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2728
YY_END_OF_BUFFER
#define YY_END_OF_BUFFER
Definition: lex.yy.c:354
yyfree
void yyfree(void *)
Definition: lex.yy.c:2099
drv_subtyp
@ drv_subtyp
Definition: isdn_cdb_def.h:17
s_hd_t::tag_s::freeit
unsigned freeit
for internal memory management
Definition: hd.h:2514
hal_prop_s::list
str_list_t * list
Definition: hd.h:1621
res_disk_geo_t::heads
unsigned heads
Definition: hd.h:1756
s_hd_t::serial
char * serial
Serial id.
Definition: hd.h:2292
prop2hd_list
str_list_t * prop2hd_list(hal_prop_t *prop, const char *id)
Definition: manual.c:282
s_hd_t::config_string
char * config_string
Some config info.
Definition: hd.h:2460
drv_typ
@ drv_typ
Definition: isdn_cdb_def.h:18
YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE
Definition: lex.yy.c:685
YY_CHAR
flex_uint8_t YY_CHAR
Definition: lex.yy.c:324
s_hd_t::broken
unsigned broken
Hardware appears to be broken in some way.
Definition: hd.h:2215
canon_str
char * canon_str(char *s, int len)
Definition: hd.c:2208
yy_n_chars
static int yy_n_chars
Definition: lex.yy.c:269
yy_switch_to_buffer
void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)
Switch to a different input buffer.
Definition: lex.yy.c:1572
hd_data_t::manual
hd_t * manual
(Internal) hardware config info
Definition: hd.h:2718
hd_status_t::available_orig
unsigned available_orig
(Internal) original value of available; This is used to keep track of the original value of the hd_st...
Definition: hd.h:365
res_framebuffer
@ res_framebuffer
Definition: hd.h:1642
res_mem
@ res_mem
Definition: hd.h:1640
YY_BUFFER_NORMAL
#define YY_BUFFER_NORMAL
Definition: lex.yy.c:232
yy_buffer_state
Definition: lex.yy.c:185
Main
#define Main
Definition: lex.yy.c:596
isdn_cdb_def.h
s_hd_t::hw_class
hd_hw_item_t hw_class
Hardware class.
Definition: hd.h:2310
new_str
char * new_str(const char *s)
Definition: hd.c:1594
res_dma_t::base
unsigned base
Definition: hd.h:1727
feature
@ feature
Definition: isdn_cdb_def.h:25
yy_init_buffer
static void yy_init_buffer(YY_BUFFER_STATE b, FILE *file)
Definition: lex.yy.c:1664
yy_flush_buffer
void yy_flush_buffer(YY_BUFFER_STATE b)
Discard all buffered characters.
Definition: lex.yy.c:1692
PROGRESS
#define PROGRESS(a, b, c)
Definition: hd_int.h:65
YY_NEW_FILE
#define YY_NEW_FILE
Definition: lex.yy.c:127
s_hd_t::line
unsigned line
(Internal) Source code line where this entry was created.
Definition: hd.h:2422
res_io
@ res_io
Definition: hd.h:1640
short_description
@ short_description
Definition: isdn_cdb_def.h:29
vendor_id
@ vendor_id
Definition: isdn_cdb_def.h:7
hd_manual_s
Manually configured hardware information.
Definition: hd.h:2176
res_monitor
@ res_monitor
Definition: hd.h:1640
s_str_list_t::next
struct s_str_list_t * next
Link to next member.
Definition: hd.h:411
yyget_lineno
int yyget_lineno(void)
Get the current line number.
Definition: lex.yy.c:1931
res_size_t::val2
uint64_t val2
to allow for 2D values
Definition: hd.h:1735
s_hd_t::slot
unsigned slot
Slot and bus number.
Definition: hd.h:2226
yy_delete_buffer
void yy_delete_buffer(YY_BUFFER_STATE b)
Destroy the buffer.
Definition: lex.yy.c:1645
s_hd_t::drivers
str_list_t * drivers
List of currently active drivers.
Definition: hd.h:2542
res_irq_t::triggered
unsigned triggered
Definition: hd.h:1720
hal_prop_s::type
hal_prop_type_t type
Definition: hd.h:1613
s_hd_t::tag
struct s_hd_t::tag_s tag
hd_status_value_name
char * hd_status_value_name(hd_status_value_t status)
Definition: manual.c:194
IRQ
@ IRQ
Definition: isdn_cdb_def.h:30
yy_scan_string
YY_BUFFER_STATE yy_scan_string(const char *yy_str)
Setup the input buffer state to scan a string.
Definition: lex.yy.c:1856
device_id
@ device_id
Definition: isdn_cdb_def.h:8
interface
@ interface
Definition: isdn_cdb_def.h:19
firmware
@ firmware
Definition: isdn_cdb_def.h:28
s_hd_t::is_s::softraiddisk
unsigned softraiddisk
disk belongs to some soft raid array
Definition: hd.h:2479
prop2hd_int32
int32_t prop2hd_int32(hal_prop_t *prop, const char *id)
Definition: manual.c:276
res_monitor_t::interlaced
unsigned interlaced
0/1
Definition: hd.h:1766
YY_LINENO_REWIND_TO
#define YY_LINENO_REWIND_TO(ptr)
Definition: lex.yy.c:166
s_hd_t::compat_device
hd_id_t compat_device
Device id and name of some compatible hardware.
Definition: hd.h:2304
yy_accept
static const flex_int16_t yy_accept[254]
Definition: lex.yy.c:362
bus_type
@ bus_type
Definition: isdn_cdb_def.h:13
yy_buffer_state::yy_at_bol
int yy_at_bol
Definition: lex.yy.c:219
res_dma
@ res_dma
Definition: hd.h:1640
yyget_out
FILE * yyget_out(void)
Get the output stream.
Definition: lex.yy.c:1948
hw_items
static hash_t hw_items[]
Definition: hwclass_names.h:10
SMP
@ SMP
Definition: isdn_cdb_def.h:15
res_baud
@ res_baud
Definition: hd.h:1641
res_mem_t::prefetch
unsigned prefetch
enum yes_no_flag
Definition: hd.h:1698
YY_DECL
#define YY_DECL
Definition: lex.yy.c:761
prop2hd_str
char * prop2hd_str(hal_prop_t *prop, const char *id)
Definition: manual.c:270
hex
int hex(char *s, int n)
Definition: hd.c:2236
s_hd_t::unix_dev_name
char * unix_dev_name
Special device file.
Definition: hd.h:2353
EOB_ACT_END_OF_FILE
#define EOB_ACT_END_OF_FILE
Definition: lex.yy.c:162
hddb_init
void hddb_init(hd_data_t *hd_data)
Definition: hddb.c:490
res_irq_t::base
unsigned base
Definition: hd.h:1719
s_hd_t::unix_dev_names
str_list_t * unix_dev_names
List of device names.
Definition: hd.h:2366
yy_buffer_state::yy_is_our_buffer
int yy_is_our_buffer
Definition: lex.yy.c:206
res_io_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1712
s_hd_t::sysfs_device_link
char * sysfs_device_link
sysfs device link.
Definition: hd.h:2346
YY_END_OF_BUFFER_CHAR
#define YY_END_OF_BUFFER_CHAR
Definition: lex.yy.c:128
s_hd_t
Individual hardware item.
Definition: hd.h:2201
yy_hold_char
static char yy_hold_char
Definition: lex.yy.c:268
res_cache_t::size
unsigned size
in kbyte
Definition: hd.h:1750
YY_BUFFER_NEW
#define YY_BUFFER_NEW
Definition: lex.yy.c:231
hal_get_any
hal_prop_t * hal_get_any(hal_prop_t *prop, const char *key)
Definition: hal.c:279
yy_last_accepting_cpos
static char * yy_last_accepting_cpos
Definition: lex.yy.c:575
flex_int16_t
short int flex_int16_t
Definition: lex.yy.c:51
hd_scan_manual2
void hd_scan_manual2(hd_data_t *hd_data)
Definition: manual.c:154
hd_status_t::needed
unsigned needed
Hardware is needed.
Definition: hd.h:357
s_hd_t::hw_class_list
unsigned char hw_class_list[(hw_all+7)/8]
Hardware class list.
Definition: hd.h:2316
yy_ec
static const YY_CHAR yy_ec[256]
Definition: lex.yy.c:394
YY_BUF_SIZE
#define YY_BUF_SIZE
Definition: lex.yy.c:139
YY_BUFFER_STATE
struct yy_buffer_state * YY_BUFFER_STATE
Definition: lex.yy.c:149
hal_get_str
hal_prop_t * hal_get_str(hal_prop_t *prop, const char *key)
Definition: hal.c:309
p_int32
@ p_int32
Definition: hd.h:1604
status_names
static hash_t status_names[]
Definition: manual.c:27
s_hd_t::rom_id
char * rom_id
BIOS/PROM id.
Definition: hd.h:2387
YY_INPUT
#define YY_INPUT(buf, result, max_size)
Definition: lex.yy.c:701
yyin
FILE * yyin
Definition: lex.yy.c:326
u_hd_res_t
libhd resource union
Definition: hd.h:1827
vendor
@ vendor
Definition: isdn_cdb_def.h:5
s_hd_t::sysfs_bus_id
char * sysfs_bus_id
sysfs bus id for this hardware, if any.
Definition: hd.h:2341
status_no
@ status_no
Definition: hd.h:375
info
@ info
Definition: isdn_cdb_def.h:26
res_framebuffer_t::bytes_p_line
unsigned bytes_p_line
line length in bytes (do not confuse with 'width')
Definition: hd.h:1786
manual.h
u_hd_res_t::disk_geo
res_disk_geo_t disk_geo
Definition: hd.h:1838
s_hd_t::next
struct s_hd_t * next
Link to next hardware item.
Definition: hd.h:2202
res_framebuffer_t::width
unsigned width
Definition: hd.h:1785
flex_int32_t
int flex_int32_t
Definition: lex.yy.c:52
res_baud_t::handshake
char handshake
-, h, s
Definition: hd.h:1744
s_hd_t::device
hd_id_t device
Device id and name.
Definition: hd.h:2264
res_baud_t::bits
unsigned bits
Definition: hd.h:1742
res_mem_t::range
uint64_t range
Definition: hd.h:1694
res_irq
@ res_irq
Definition: hd.h:1640
yyset_debug
void yyset_debug(int debug_flag)
Definition: lex.yy.c:2001
hal_get_list
hal_prop_t * hal_get_list(hal_prop_t *prop, const char *key)
Definition: hal.c:338
hal_prop_s::val
union hal_prop_s::@16 val
yytext
char * yytext
Definition: lex.yy.c:587
YY_CURRENT_BUFFER
#define YY_CURRENT_BUFFER
Definition: lex.yy.c:259
u_hd_res_t::baud
res_baud_t baud
Definition: hd.h:1837
s_hd_t::is_s::cdr
unsigned cdr
CD-R.
Definition: hd.h:2481
s_str_list_t::free_str_list
str_list_t * free_str_list(str_list_t *list)
Definition: hd.c:2510
hd_report_this
int hd_report_this(hd_data_t *hd_data, hd_t *hd)
Definition: hd.c:5855
res_disk_geo
@ res_disk_geo
Definition: hd.h:1641
hddb_add_info
void hddb_add_info(hd_data_t *hd_data, hd_t *hd)
Definition: hddb.c:1848
yy_fatal_error
static void yynoreturn yy_fatal_error(const char *msg)
Definition: lex.yy.c:1903
res_disk_geo_t::geotype
enum geo_types geotype
0-3: physical/logical/bios edd/bios legacy
Definition: hd.h:1758
hd_read_properties
hal_prop_t * hd_read_properties(const char *udi)
Definition: hal.c:522
yy_buffer_state::yy_fill_buffer
int yy_fill_buffer
Definition: lex.yy.c:227
u_hd_res_t::io
res_io_t io
Definition: hd.h:1830
hddb.h
device_class
@ device_class
Definition: isdn_cdb_def.h:12
res_any_t::type
enum resource_types type
Definition: hd.h:1688
YY_BUFFER_EOF_PENDING
#define YY_BUFFER_EOF_PENDING
Definition: lex.yy.c:243
hd2prop_append_list
static void hd2prop_append_list(hal_prop_t **list, const char *key, char *str)
Definition: manual.c:632
yy_try_NUL_trans
static yy_state_type yy_try_NUL_trans(yy_state_type current_state)
Definition: lex.yy.c:1410
subdevice_id
@ subdevice_id
Definition: isdn_cdb_def.h:10
line_cnt
@ line_cnt
Definition: isdn_cdb_def.h:20
u_hd_res_t::next
union u_hd_res_t * next
Definition: hd.h:1828
hal_prop_s
HAL device properties.
Definition: hd.h:1611
YY_RESTORE_YY_MORE_OFFSET
#define YY_RESTORE_YY_MORE_OFFSET
Definition: lex.yy.c:586
hd_data_t::module
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2686
s_hd_t::model
char * model
Model name.
Definition: hd.h:2324
hd2prop_add_int32
static void hd2prop_add_int32(hal_prop_t **list, const char *key, int32_t i)
Definition: manual.c:585
read_properties
static hal_prop_t * read_properties(hd_data_t *hd_data, const char *udi, const char *id)
Definition: manual.c:851
yyget_leng
int yyget_leng(void)
Get the length of the current token.
Definition: lex.yy.c:1956
yyalloc
void * yyalloc(yy_size_t)
Definition: lex.yy.c:2081
s_hd_t::is_s::dvd
unsigned dvd
DVD.
Definition: hd.h:2483
yy_buffer_state::yy_buf_size
int yy_buf_size
Definition: lex.yy.c:195
yyensure_buffer_stack
static void yyensure_buffer_stack(void)
Definition: lex.yy.c:1770
device
@ device
Definition: isdn_cdb_def.h:6
s_hd_t::is_s::agp
unsigned agp
AGP device.
Definition: hd.h:2475
res_monitor_t::height
unsigned height
in pixel
Definition: hd.h:1764
yy_buffer_state::yy_input_file
FILE * yy_input_file
Definition: lex.yy.c:187
ADD2LOG
#define ADD2LOG(a...)
Definition: hd_int.h:66
yy_c_buf_p
static char * yy_c_buf_p
Definition: lex.yy.c:273
s_str_list_t
String list type.
Definition: hd.h:410
yy_last_accepting_state
static yy_state_type yy_last_accepting_state
Definition: lex.yy.c:574
yyset_lineno
void yyset_lineno(int _line_number)
Set the current line number.
Definition: lex.yy.c:1974
res_baud_t::speed
unsigned speed
Definition: hd.h:1741
u_hd_res_t::mem
res_mem_t mem
Definition: hd.h:1831
yy_cp
char * yy_cp
Definition: lex.yy.c:787
YY_EXIT_FAILURE
#define YY_EXIT_FAILURE
Definition: lex.yy.c:1900
hd_data_t::flags
struct hd_data_t::flag_struct flags
res_io_t::range
uint64_t range
Definition: hd.h:1710
hal_get_int32
hal_prop_t * hal_get_int32(hal_prop_t *prop, const char *key)
Definition: hal.c:299
s_hd_t::udi
char * udi
HAL udi.
Definition: hd.h:2392
add_hd_entry
hd_t * add_hd_entry(hd_data_t *hd_data, unsigned line, unsigned count)
Definition: hd.c:1794
EOB_ACT_CONTINUE_SCAN
#define EOB_ACT_CONTINUE_SCAN
Definition: lex.yy.c:161
yylineno
int yylineno
Definition: lex.yy.c:331
vario
@ vario
Definition: isdn_cdb_def.h:14
YY_RULE_SETUP
#define YY_RULE_SETUP
Definition: lex.yy.c:776
hal_prop_s::key
char * key
Definition: hd.h:1614
s_hd_t::is_s::isapnp
unsigned isapnp
ISA-PnP device.
Definition: hd.h:2476
u_hd_res_t::irq
res_irq_t irq
Definition: hd.h:1833
hd_scan_manual
void hd_scan_manual(hd_data_t *hd_data)
Definition: manual.c:49
u_hd_res_t::framebuffer
res_framebuffer_t framebuffer
Definition: hd.h:1842
yyout
FILE * yyout
Definition: lex.yy.c:159
s_hd_t::hotplug
hd_hotplug_t hotplug
Hotplug controller for this device.
Definition: hd.h:2466
hd_probe_feature
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:595
value2key
static int value2key(hash_t *hash, char *str)
Definition: hwclass_names.h:66
s_hd_t::sub_device
hd_id_t sub_device
Subdevice id and name.
Definition: hd.h:2280
hwclass_names.h
yy_buffer_state::yy_ch_buf
char * yy_ch_buf
Definition: lex.yy.c:189
hd2prop_add_str
static void hd2prop_add_str(hal_prop_t **list, const char *key, const char *str)
Definition: manual.c:600
hd_manual_read_entry
hd_manual_t * hd_manual_read_entry(hd_data_t *hd_data, const char *id)
Manually configured devices implemented in manual.c.
Definition: manual.c:203
EOB_ACT_LAST_MATCH
#define EOB_ACT_LAST_MATCH
Definition: lex.yy.c:163
u_hd_res_t::phys_mem
res_phys_mem_t phys_mem
Definition: hd.h:1832
hd_status_t::invalid
unsigned invalid
Status fields are invalid.
Definition: hd.h:318
yy_chk
static const flex_int16_t yy_chk[302]
Definition: lex.yy.c:536
line_protocol
@ line_protocol
Definition: isdn_cdb_def.h:21
s_hd_t::is
struct s_hd_t::is_s is
res_irq_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1721
revision
@ revision
Definition: isdn_cdb_def.h:11
res_io_t::access
unsigned access
enum access_flags
Definition: hd.h:1713
NewEntry
#define NewEntry
Definition: lex.yy.c:598
add_current_item
void add_current_item(int item, char *val)
Definition: cdb_read.c:252
hd_id_t::id
unsigned id
Numeric id.
Definition: hd.h:401
NextLine
#define NextLine
Definition: lex.yy.c:597
hd.h
hd_data_t::flag_struct::keep_kmods
unsigned keep_kmods
internal: don't reread kmods
Definition: hd.h:2661
s_hd_t::compat_vendor
hd_id_t compat_vendor
Vendor id and name of some compatible hardware.
Definition: hd.h:2298
status_new
@ status_new
Definition: hd.h:375
s_hd_t::sysfs_id
char * sysfs_id
sysfs entry for this hardware, if any.
Definition: hd.h:2336
yypop_buffer_state
void yypop_buffer_state(void)
Removes and deletes the top of the stack, if present.
Definition: lex.yy.c:1751
s_hd_t::is_s::dvdr
unsigned dvdr
DVD-R.
Definition: hd.h:2484
INITIAL
#define INITIAL
Definition: lex.yy.c:595
YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg)
Definition: lex.yy.c:748
res_framebuffer_t::mode
unsigned mode
mode number for kernel
Definition: hd.h:1788
yypush_buffer_state
void yypush_buffer_state(YY_BUFFER_STATE new_buffer)
Pushes the new state onto the stack.
Definition: lex.yy.c:1721
YY_CURRENT_BUFFER_LVALUE
#define YY_CURRENT_BUFFER_LVALUE
Definition: lex.yy.c:265
hd_get_hddb_path
char * hd_get_hddb_path(char *sub)
Definition: hd.c:5972
res_mem_t::base
uint64_t base
Definition: hd.h:1694
s_hd_t::res
hd_res_t * res
Device resources.
Definition: hd.h:2432
s_hd_t::sub_class
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2241
status_yes
@ status_yes
Definition: hd.h:375
yy_buffer_state::yy_buffer_status
int yy_buffer_status
Definition: lex.yy.c:229
yyterminate
#define yyterminate()
Definition: lex.yy.c:738
hal_get_useful_str
char * hal_get_useful_str(hal_prop_t *prop, const char *key)
Definition: hal.c:319
yy_buffer_stack_max
static size_t yy_buffer_stack_max
capacity of stack.
Definition: lex.yy.c:250
res_baud_t::parity
char parity
n, e, o, s, m
Definition: hd.h:1743
YY_SC_TO_UI
#define YY_SC_TO_UI(c)
Definition: lex.yy.c:111
yyrestart
void yyrestart(FILE *input_file)
Immediately switch to a different input stream.
Definition: lex.yy.c:1555
yy_trans_info::yy_nxt
flex_int32_t yy_nxt
Definition: lex.yy.c:360
res_dma_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1728
line
static char line[1024]
Definition: cdbisdn.c:29
yy_trans_info::yy_verify
flex_int32_t yy_verify
Definition: lex.yy.c:359
yy_buffer_state::yy_bs_column
int yy_bs_column
The column count.
Definition: lex.yy.c:222
s_hd_t::tag_s::remove
unsigned remove
< this struct is for internal purposes only
Definition: hd.h:2513
pr_manual
@ pr_manual
Definition: hd.h:120
yy_buffer_state::yy_n_chars
int yy_n_chars
Definition: lex.yy.c:200
s_hd_t::sub_vendor
hd_id_t sub_vendor
Subvendor id and name.
Definition: hd.h:2272
yyget_debug
int yyget_debug(void)
Definition: lex.yy.c:1996
yy_load_buffer_state
static void yy_load_buffer_state(void)
Definition: lex.yy.c:1603
s_hd_t::vendor
hd_id_t vendor
Vendor id and name.
Definition: hd.h:2254
yy_did_buffer_switch_on_eof
static int yy_did_buffer_switch_on_eof
Definition: lex.yy.c:280
hd_id_t::name
char * name
Name (if any) that corresponds to hd_id_t::id.
Definition: hd.h:402
MEMBASE
@ MEMBASE
Definition: isdn_cdb_def.h:32
res_mem_t::access
unsigned access
enum access_flags
Definition: hd.h:1697
hd_int.h
yylex_destroy
int yylex_destroy(void)
Definition: lex.yy.c:2035
yyrealloc
void * yyrealloc(void *, yy_size_t)
Definition: lex.yy.c:2086
YY_START
#define YY_START
Definition: lex.yy.c:122
res_io_t::base
uint64_t base
Definition: hd.h:1710
s_hd_t::bus
hd_id_t bus
Bus type (id and name).
Definition: hd.h:2220
hd_status_t::configured
unsigned configured
Hardware config status.
Definition: hd.h:336
hd2prop
static void hd2prop(hd_data_t *hd_data, hd_t *hd)
Definition: manual.c:651
s_hd_t::is_s::wlan
unsigned wlan
WLAN card.
Definition: hd.h:2502
yy_get_next_buffer
static int yy_get_next_buffer(void)
Definition: lex.yy.c:1239
new_entry
int new_entry(void)
Definition: cdb_read.c:231
yy_buffer_state::yy_is_interactive
int yy_is_interactive
Definition: lex.yy.c:213
s_hd_t::idx
unsigned idx
Unique index, starting at 1.
Definition: hd.h:2208
res_phys_mem
@ res_phys_mem
Definition: hd.h:1640
yyget_extra
YY_EXTRA_TYPE yyget_extra(void)
hd_status_t::reconfig
unsigned reconfig
Hardware should be reconfigured.
Definition: hd.h:329
hd_free_hd_list
hd_t * hd_free_hd_list(hd_t *hd)
Free hardware items returned by e.g. hd_list().
Definition: hd.c:1212
res_disk_geo_t::cyls
unsigned cyls
Definition: hd.h:1756
s_hd_t::unique_id
char * unique_id
Unique id for this hardware.
Definition: hd.h:2409
yy_scan_buffer
YY_BUFFER_STATE yy_scan_buffer(char *base, yy_size_t size)
Setup the input buffer state to scan directly from a user-specified character buffer.
Definition: lex.yy.c:1819
flex_uint8_t
unsigned char flex_uint8_t
Definition: lex.yy.c:53
hd_data
static hd_data_t * hd_data
Definition: pppoe.c:29
yy_get_previous_state
static yy_state_type yy_get_previous_state(void)
Definition: lex.yy.c:1377
yyset_extra
void yyset_extra(YY_EXTRA_TYPE user_defined)
str_printf
void str_printf(char **buf, int offset, char *format,...)
Definition: hd.c:2418
input
static int input(void)
Definition: lex.yy.c:1478
res_cache
@ res_cache
Definition: hd.h:1641
s_hd_t::is_s::pppoe
unsigned pppoe
PPPOE modem connected.
Definition: hd.h:2501
yy_init
static int yy_init
Definition: lex.yy.c:274
hal_get_new
static hal_prop_t * hal_get_new(hal_prop_t **list, const char *key)
Definition: manual.c:566
res_size_t::unit
enum size_units unit
Definition: hd.h:1734
add_res_entry
hd_res_t * add_res_entry(hd_res_t **res, hd_res_t *new_res)
Definition: hd.c:1786
hd_manual_read_entry_old
static hal_prop_t * hd_manual_read_entry_old(const char *id)
Definition: manual.c:212
res_disk_geo_t::sectors
unsigned sectors
Definition: hd.h:1756
hd_status_t::active
unsigned active
Hardware is active.
Definition: hd.h:370
hd_write_properties
int hd_write_properties(const char *udi, hal_prop_t *prop)
Definition: hal.c:501
YY_EXTRA_TYPE
#define YY_EXTRA_TYPE
Definition: lex.yy.c:610
s_hd_t::revision
hd_id_t revision
Revision id or string.
Definition: hd.h:2287
flex_uint16_t
unsigned short int flex_uint16_t
Definition: lex.yy.c:54
drv_id
@ drv_id
Definition: isdn_cdb_def.h:16
YY_DO_BEFORE_ACTION
#define YY_DO_BEFORE_ACTION
Definition: lex.yy.c:347
yyunput
static void yyunput(int c, char *buf_ptr)
Definition: lex.yy.c:1435
hd_data_t::hddb2
hddb2_data_t * hddb2[2]
(Internal) hardware database
Definition: hd.h:2705
res_phys_mem_t::range
uint64_t range
Definition: hd.h:1704
hd_status_value_t
hd_status_value_t
hardware config status values
Definition: hd.h:374
YY_AT_BOL
#define YY_AT_BOL()
Definition: lex.yy.c:322
s_hd_t::usb_guid
char * usb_guid
USB Global Unique Identifier.
Definition: hd.h:2584
yy_nxt
static const flex_int16_t yy_nxt[302]
Definition: lex.yy.c:498
res_size_t::val1
uint64_t val1
Definition: hd.h:1735
s_hd_t::func
unsigned func
(PCI) function.
Definition: hd.h:2231
yy_start
static int yy_start
Definition: lex.yy.c:275
res_mem_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1696
s_str_list_t::add_str_list
str_list_t * add_str_list(str_list_t **sl, char *str)
Definition: hd.c:2496
yyleng
int yyleng
Definition: lex.yy.c:270
u_hd_res_t::dma
res_dma_t dma
Definition: hd.h:1834
hd_read_config
hd_t * hd_read_config(hd_data_t *hd_data, const char *id)
Definition: manual.c:891
yy_create_buffer
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)
Allocate and initialize an input buffer state.
Definition: lex.yy.c:1617
module
@ module
Definition: isdn_cdb_def.h:22
alternative_name
@ alternative_name
Definition: isdn_cdb_def.h:33
s_hd_t::child_ids
str_list_t * child_ids
unique_ids of children (parent_id).
Definition: hd.h:2570
s_hd_t::persistent_prop
hal_prop_t * persistent_prop
persistent property list
Definition: hd.h:2592
BEGIN
#define BEGIN
Definition: lex.yy.c:117
hd2prop_add_list
static void hd2prop_add_list(hal_prop_t **list, const char *key, str_list_t *sl)
Definition: manual.c:615
s_hd_t::module
unsigned module
(Internal) Probing module that created this entry.
Definition: hd.h:2417
res_framebuffer_t::height
unsigned height
in pixel
Definition: hd.h:1785
status_unknown
@ status_unknown
Definition: hd.h:375
hd_data_t
Holds all data accumulated during hardware probing.
Definition: hd.h:2609
res_size
@ res_size
Definition: hd.h:1641
hd_write_config
int hd_write_config(hd_data_t *hd_data, hd_t *hd)
Definition: manual.c:922
new_mem
void * new_mem(size_t size)
Definition: hd.c:1552
supported
@ supported
Definition: isdn_cdb_def.h:24
yyset_in
void yyset_in(FILE *_in_str)
Set the input stream.
Definition: lex.yy.c:1986
yynoreturn
#define yynoreturn
Definition: lex.yy.c:102
special
@ special
Definition: isdn_cdb_def.h:27
hd_manual_write_entry
int hd_manual_write_entry(hd_data_t *hd_data, hd_manual_t *entry)
Definition: manual.c:264
yy_meta
static const YY_CHAR yy_meta[40]
Definition: lex.yy.c:426
s_hd_t::parent_id
char * parent_id
unique_id of parent (attached_to).
Definition: hd.h:2563
s_hd_t::is_s::dvdram
unsigned dvdram
DVDRAM.
Definition: hd.h:2497
yyget_text
char * yyget_text(void)
Get the current token.
Definition: lex.yy.c:1965
flex_uint32_t
unsigned int flex_uint32_t
Definition: lex.yy.c:55
s_hd_t::status
hd_status_t status
Hardware status (if available).
Definition: hd.h:2452
yylex
int yylex(void)
yy_buffer_state::yy_bs_lineno
int yy_bs_lineno
The line count.
Definition: lex.yy.c:221
IO
@ IO
Definition: isdn_cdb_def.h:31
u_hd_res_t::monitor
res_monitor_t monitor
Definition: hd.h:1839
u_hd_res_t::any
res_any_t any
Definition: hd.h:1829
need_packages
@ need_packages
Definition: isdn_cdb_def.h:23
p_list
@ p_list
Definition: hd.h:1604
YY_MORE_ADJ
#define YY_MORE_ADJ
Definition: lex.yy.c:585
hash_t
Definition: hwclass_names.h:1
s_str_list_t::str
char * str
Some string data.
Definition: hd.h:412
yy_buffer_stack
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
Definition: lex.yy.c:251
Value
#define Value
Definition: lex.yy.c:599
free_mem
void * free_mem(void *p)
Definition: hd.c:1611
hal_prop_s::str
char * str
Definition: hd.h:1616
u_hd_res_t::size
res_size_t size
Definition: hd.h:1835
prop2hd
static void prop2hd(hd_data_t *hd_data, hd_t *hd, int status_only)
Definition: manual.c:298
s_hd_t::is_s::zip
unsigned zip
zip floppy
Definition: hd.h:2480
yy_state_type
int yy_state_type
Definition: lex.yy.c:328