libhd  5.0
parallel.h
Go to the documentation of this file.
pr_parallel_zip
@ pr_parallel_zip
Definition: hd.h:116
sc_com_par
@ sc_com_par
Definition: hd.h:204
read_file
str_list_t * read_file(char *file_name, unsigned start_line, unsigned lines)
Definition: hd.c:2544
parallel.h
s_hd_t::base_class
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2236
s_hd_t::attached_to
unsigned attached_to
Device this hardware is attached to.
Definition: hd.h:2331
PROC_PARPORT_24
#define PROC_PARPORT_24
Definition: hd_int.h:18
hd_data_t::hd
hd_t * hd
Current hardware list.
Definition: hd.h:2615
pr_parallel
@ pr_parallel
Definition: hd.h:116
bc_printer
@ bc_printer
Definition: hd.h:168
remove_hd_entries
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2728
new_str
char * new_str(const char *s)
Definition: hd.c:1594
PROGRESS
#define PROGRESS(a, b, c)
Definition: hd_int.h:65
res_io
@ res_io
Definition: hd.h:1640
s_str_list_t::next
struct s_str_list_t * next
Link to next member.
Definition: hd.h:411
bus_parallel
@ bus_parallel
Definition: hd.h:301
sc_sto_scsi
@ sc_sto_scsi
Definition: hd.h:181
do_zip
static void do_zip(hd_data_t *hd_data)
Definition: parallel.c:181
s_hd_t::unix_dev_name
char * unix_dev_name
Special device file.
Definition: hd.h:2353
res_io_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1712
s_hd_t
Individual hardware item.
Definition: hd.h:2201
res_io_t::type
enum resource_types type
Definition: hd.h:1709
u_hd_res_t
libhd resource union
Definition: hd.h:1827
vendor
@ vendor
Definition: isdn_cdb_def.h:5
s_hd_t::next
struct s_hd_t * next
Link to next hardware item.
Definition: hd.h:2202
PROC_PARPORT_22
#define PROC_PARPORT_22
Definition: hd_int.h:17
acc_rw
@ acc_rw
read/write
Definition: hd.h:1661
s_hd_t::device
hd_id_t device
Device id and name.
Definition: hd.h:2264
HD_DEB_PARALLEL
#define HD_DEB_PARALLEL
Definition: hd.h:53
s_str_list_t::free_str_list
str_list_t * free_str_list(str_list_t *list)
Definition: hd.c:2510
u_hd_res_t::io
res_io_t io
Definition: hd.h:1830
hd_data_t::module
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2686
hd_data_t::kernel_version
unsigned kernel_version
(Internal) kernel version
Definition: hd.h:2717
device
@ device
Definition: isdn_cdb_def.h:6
bc_none
@ bc_none
Definition: hd.h:162
ADD2LOG
#define ADD2LOG(a...)
Definition: hd_int.h:66
s_str_list_t
String list type.
Definition: hd.h:410
unload_module
int unload_module(hd_data_t *hd_data, char *module)
Definition: hd.c:3883
load_module
int load_module(hd_data_t *hd_data, char *module)
Definition: hd.c:3878
KERNEL_22
#define KERNEL_22
Definition: hd_int.h:51
add_hd_entry
hd_t * add_hd_entry(hd_data_t *hd_data, unsigned line, unsigned count)
Definition: hd.c:1794
pr_parallel_lp
@ pr_parallel_lp
Definition: hd.h:116
hd_data_t::debug
unsigned debug
Debug flags.
Definition: hd.h:2640
bc_storage
@ bc_storage
Definition: hd.h:162
hd_module_is_active
int hd_module_is_active(hd_data_t *hd_data, char *mod)
Definition: hd.c:2767
hd_probe_feature
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:595
MAKE_ID
#define MAKE_ID(tag, id_val)
Combine tag and id value.
Definition: hd.h:105
res_io_t::access
unsigned access
enum access_flags
Definition: hd.h:1713
hd_id_t::id
unsigned id
Numeric id.
Definition: hd.h:401
hd.h
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
PROC_SCSI
#define PROC_SCSI
Definition: hd_int.h:11
probe_module
int probe_module(hd_data_t *hd_data, char *module)
Definition: hd.c:3840
mod_parallel
@ mod_parallel
Definition: hd_int.h:80
s_hd_t::vendor
hd_id_t vendor
Vendor id and name.
Definition: hd.h:2254
hd_id_t::name
char * name
Name (if any) that corresponds to hd_id_t::id.
Definition: hd.h:402
hd_int.h
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
do_lp
static void do_lp(hd_data_t *hd_data)
Definition: parallel.c:41
s_hd_t::idx
unsigned idx
Unique index, starting at 1.
Definition: hd.h:2208
pr_parallel_imm
@ pr_parallel_imm
Definition: hd.h:121
bc_comm
@ bc_comm
Definition: hd.h:163
dump_parallel_data
static void dump_parallel_data(hd_data_t *hd_data, str_list_t *sl)
Definition: parallel.c:288
hd_data
static hd_data_t * hd_data
Definition: pppoe.c:29
str_printf
void str_printf(char **buf, int offset, char *format,...)
Definition: hd.c:2418
add_res_entry
hd_res_t * add_res_entry(hd_res_t **res, hd_res_t *new_res)
Definition: hd.c:1786
s_str_list_t::add_str_list
str_list_t * add_str_list(str_list_t **sl, char *str)
Definition: hd.c:2496
TAG_SPECIAL
#define TAG_SPECIAL
Internally used ids.
Definition: hd.h:88
hd_data_t
Holds all data accumulated during hardware probing.
Definition: hd.h:2609
new_mem
void * new_mem(size_t size)
Definition: hd.c:1552
hd_scan_parallel
void hd_scan_parallel(hd_data_t *hd_data)
Definition: parallel.c:27
s_str_list_t::str
char * str
Some string data.
Definition: hd.h:412
free_mem
void * free_mem(void *p)
Definition: hd.c:1611