libhd  5.0
parallel.h
Go to the documentation of this file.
pr_parallel_zip
@ pr_parallel_zip
Definition: hd.h:113
sc_com_par
@ sc_com_par
Definition: hd.h:200
read_file
str_list_t * read_file(char *file_name, unsigned start_line, unsigned lines)
Definition: hd.c:2527
parallel.h
s_hd_t::base_class
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2231
s_hd_t::attached_to
unsigned attached_to
Device this hardware is attached to.
Definition: hd.h:2326
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:2610
pr_parallel
@ pr_parallel
Definition: hd.h:113
bc_printer
@ bc_printer
Definition: hd.h:165
remove_hd_entries
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2711
new_str
char * new_str(const char *s)
Definition: hd.c:1577
PROGRESS
#define PROGRESS(a, b, c)
Definition: hd_int.h:61
res_io
@ res_io
Definition: hd.h:1635
s_str_list_t::next
struct s_str_list_t * next
Link to next member.
Definition: hd.h:407
bus_parallel
@ bus_parallel
Definition: hd.h:297
sc_sto_scsi
@ sc_sto_scsi
Definition: hd.h:177
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:2348
res_io_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1707
s_hd_t
Individual hardware item.
Definition: hd.h:2196
res_io_t::type
enum resource_types type
Definition: hd.h:1704
u_hd_res_t
libhd resource union
Definition: hd.h:1822
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:2197
PROC_PARPORT_22
#define PROC_PARPORT_22
Definition: hd_int.h:17
acc_rw
@ acc_rw
read/write
Definition: hd.h:1656
s_hd_t::device
hd_id_t device
Device id and name.
Definition: hd.h:2259
HD_DEB_PARALLEL
#define HD_DEB_PARALLEL
Definition: hd.h:51
s_str_list_t::free_str_list
str_list_t * free_str_list(str_list_t *list)
Definition: hd.c:2493
u_hd_res_t::io
res_io_t io
Definition: hd.h:1825
hd_data_t::module
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2681
hd_data_t::kernel_version
unsigned kernel_version
(Internal) kernel version
Definition: hd.h:2712
device
@ device
Definition: isdn_cdb_def.h:6
bc_none
@ bc_none
Definition: hd.h:159
ADD2LOG
#define ADD2LOG(a...)
Definition: hd_int.h:62
s_str_list_t
String list type.
Definition: hd.h:406
unload_module
int unload_module(hd_data_t *hd_data, char *module)
Definition: hd.c:3864
load_module
int load_module(hd_data_t *hd_data, char *module)
Definition: hd.c:3859
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:1777
pr_parallel_lp
@ pr_parallel_lp
Definition: hd.h:113
hd_data_t::debug
unsigned debug
Debug flags.
Definition: hd.h:2635
bc_storage
@ bc_storage
Definition: hd.h:159
hd_module_is_active
int hd_module_is_active(hd_data_t *hd_data, char *mod)
Definition: hd.c:2750
hd_probe_feature
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:579
MAKE_ID
#define MAKE_ID(tag, id_val)
Combine tag and id value.
Definition: hd.h:102
res_io_t::access
unsigned access
enum access_flags
Definition: hd.h:1708
hd_id_t::id
unsigned id
Numeric id.
Definition: hd.h:397
hd.h
s_hd_t::res
hd_res_t * res
Device resources.
Definition: hd.h:2427
s_hd_t::sub_class
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2236
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:3821
mod_parallel
@ mod_parallel
Definition: hd_int.h:76
s_hd_t::vendor
hd_id_t vendor
Vendor id and name.
Definition: hd.h:2249
hd_id_t::name
char * name
Name (if any) that corresponds to hd_id_t::id.
Definition: hd.h:398
hd_int.h
res_io_t::base
uint64_t base
Definition: hd.h:1705
s_hd_t::bus
hd_id_t bus
Bus type (id and name).
Definition: hd.h:2215
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:2203
pr_parallel_imm
@ pr_parallel_imm
Definition: hd.h:118
bc_comm
@ bc_comm
Definition: hd.h:160
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:2401
add_res_entry
hd_res_t * add_res_entry(hd_res_t **res, hd_res_t *new_res)
Definition: hd.c:1769
s_str_list_t::add_str_list
str_list_t * add_str_list(str_list_t **sl, char *str)
Definition: hd.c:2479
TAG_SPECIAL
#define TAG_SPECIAL
Internally used ids.
Definition: hd.h:86
hd_data_t
Holds all data accumulated during hardware probing.
Definition: hd.h:2604
new_mem
void * new_mem(size_t size)
Definition: hd.c:1535
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:408
free_mem
void * free_mem(void *p)
Definition: hd.c:1594