Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 21 files:

Smatch caller information:

drivers/scsi/imm.c __imm_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 1 name 8151070455562440704
PARAM_VALUE 2 par_dev_cb 2611485465732710400
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 2 par_dev_cb->wakeup 4978618499440963584
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 4
DATA_SOURCE 0 port $0
STR_LEN 0 port 3
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

sound/drivers/mts64.c snd_mts64_probe() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 name 7654376840890150912
PARAM_VALUE 2 par_dev_cb 5146880113807134720
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 2 par_dev_cb->irq_func 3422281916574490624
PARAM_VALUE 2 par_dev_cb->preempt 0
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 2 par_dev_cb->wakeup 0
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 1 name 6
STR_LEN 0 port 5
TERMINATED 1 name 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
UNITS 3 id unit_array_size

drivers/input/serio/parkbd.c parkbd_getport() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 name 4371391777778696192
PARAM_VALUE 2 par_dev_cb 2984188881189384192
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 2 par_dev_cb->irq_func 5352599325058867200
PARAM_VALUE 3 id 0
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 7
CAPPED_DATA 0 port->number 1
DATA_SOURCE 0 port $0
STR_LEN 0 port 6
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/auxdisplay/ks0108.c ks0108_parport_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->base 0-u32max
PARAM_VALUE 1 name 6836231095270436864
PARAM_VALUE 2 par_dev_cb 992157155603812352
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 3 id 0
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 7
CAPPED_DATA 0 port->base 1
DATA_SOURCE 0 port $0
STR_LEN 0 port 6
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/auxdisplay/panel.c panel_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 name 3676056186408996864
PARAM_VALUE 2 par_dev_cb 6579930675292504064
PARAM_VALUE 2 par_dev_cb->private 4365601017520185344
PARAM_VALUE 3 id 0
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 6
CAPPED_DATA 0 port->number 1
DATA_SOURCE 0 port $0
STR_LEN 0 port 5
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/scsi/ppa.c __ppa_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 1 name 8330692255751720960
PARAM_VALUE 2 par_dev_cb 1020651999297843200
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 2 par_dev_cb->wakeup 547550126588280832
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 4
DATA_SOURCE 0 port $0
STR_LEN 0 port 3
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/spi/spi-butterfly.c butterfly_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->physport 4096-ptr_max
PARAM_VALUE 0 port->physport->dev 1-u64max
PARAM_VALUE 1 name 510459264123990016
PARAM_VALUE 2 par_dev_cb 466763860020178944
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 3 id 0
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 14
DATA_SOURCE 0 port $0
STR_LEN 0 port 13
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/pps/clients/pps_parport.c parport_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 1 name 100023888652976128
PARAM_VALUE 2 par_dev_cb 1632473274575183872
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 2 par_dev_cb->irq_func 4062716858733195264
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 3 id 0-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 12
DATA_SOURCE 0 port $0
DATA_SOURCE 3 id r ida_alloc
STR_LEN 0 port 11
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/ata/pata_parport/pata_parport.c pi_init_one() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 name 8532207172558749696
PARAM_VALUE 2 par_dev_cb 6603968829306576896
PARAM_VALUE 2 par_dev_cb->flags 0
PARAM_VALUE 2 par_dev_cb->irq_func 0
PARAM_VALUE 2 par_dev_cb->preempt 0
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 2 par_dev_cb->wakeup 0
PARAM_VALUE 3 id 0-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 13
DATA_SOURCE 0 port $0
DATA_SOURCE 3 id r ida_alloc
STR_LEN 0 port 12
TERMINATED 1 name 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pi_mutex
HALF_LOCKED2 &of->mutex

drivers/spi/spi-lm70llp.c spi_lm70llp_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->physport 4096-ptr_max
PARAM_VALUE 0 port->physport->dev 1-u64max
PARAM_VALUE 1 name 4360443444063600640
PARAM_VALUE 2 par_dev_cb 6442947734834716672
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 3 id 0
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 12
DATA_SOURCE 0 port $0
STR_LEN 0 port 11
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/input/joystick/gamecon.c gc_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->number 0-s32max
PARAM_VALUE 1 name 3778948804423520256
PARAM_VALUE 2 par_dev_cb 8437184711424548864
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 3 id 0-2
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 8
CAPPED_DATA 0 port->number 1
DATA_SOURCE 0 port $0
FUZZY_MAX 3 id 2
STR_LEN 0 port 7
TERMINATED 1 name 1
HARD_MAX 3 id 2
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

sound/drivers/portman2x4.c snd_portman_probe() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 name 1174218144111079424
PARAM_VALUE 2 par_dev_cb 3764095449345077248
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 2 par_dev_cb->irq_func 176952839143092224
PARAM_VALUE 2 par_dev_cb->preempt 0
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 2 par_dev_cb->wakeup 0
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 1 name 8
STR_LEN 0 port 7
TERMINATED 1 name 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
UNITS 3 id unit_array_size

drivers/input/joystick/db9.c db9_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->number 0-s32max
PARAM_VALUE 1 name 4295164681320099840
PARAM_VALUE 2 par_dev_cb 6917857459985317888
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 3 id 0-2
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 4
CAPPED_DATA 0 port->number 1
DATA_SOURCE 0 port $0
FUZZY_MAX 3 id 2
STR_LEN 0 port 3
TERMINATED 1 name 1
HARD_MAX 3 id 2
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/char/lp.c lp_register() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 1 name 7706536103554453504
PARAM_VALUE 2 par_dev_cb 1291436792459194368
PARAM_VALUE 2 par_dev_cb->preempt 6644372987104112640
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 3 id 0-8
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 3
DATA_SOURCE 0 port $1
DATA_SOURCE 3 id $0
STR_LEN 0 port 2
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/parport/daisy.c parport_open() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 name 3088622054933065728
PARAM_VALUE 2 par_dev_cb 6776582703461122048
BUF_SIZE 1 name 16
BUF_SIZE 1 name 16
CAPPED_DATA 3 id 1
DATA_SOURCE 0 port r parport_get_port
DATA_SOURCE 1 name $1
DATA_SOURCE 3 id $0
STR_LEN 0 port 15
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING

drivers/input/joystick/walkera0701.c walkera0701_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->irq s32min-(-2),0-s32max
PARAM_VALUE 1 name 715435711758700544
PARAM_VALUE 2 par_dev_cb 7996247349697912832
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 2 par_dev_cb->irq_func 1220583110269337600
PARAM_VALUE 2 par_dev_cb->private 1088392906655764480
PARAM_VALUE 3 id 0
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 12
CAPPED_DATA 0 port->number 1
DATA_SOURCE 0 port $0
STR_LEN 0 port 11
TERMINATED 1 name 1
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/net/plip/plip.c plip_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 2 par_dev_cb 5210817689445363712
PARAM_VALUE 2 par_dev_cb->irq_func 1794894502338748416
PARAM_VALUE 2 par_dev_cb->preempt 9073821156813643776
PARAM_VALUE 2 par_dev_cb->wakeup 102428771020099584
PARAM_VALUE 3 id s32min-7,9-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 16
DATA_SOURCE 0 port $0
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/i2c/busses/i2c-parport.c i2c_parport_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->number s32min-(-2),0-s32max
PARAM_VALUE 0 port->ops 4096-ptr_max
PARAM_VALUE 1 name 8294733430137589760
PARAM_VALUE 2 par_dev_cb 7717096536431808512
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 2 par_dev_cb->irq_func 8960430908386009088
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 3 id 0-3
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 12
CAPPED_DATA 0 port->number 1
DATA_SOURCE 0 port $0
FUZZY_MAX 3 id 3
STR_LEN 0 port 11
TERMINATED 1 name 1
HARD_MAX 3 id 3
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/char/ppdev.c register_device() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 name 1-u64max
PARAM_VALUE 2 par_dev_cb 1463716832116158464
PARAM_VALUE 2 par_dev_cb->flags 0,2
PARAM_VALUE 2 par_dev_cb->irq_func 2560068723658625024
PARAM_VALUE 2 par_dev_cb->private 4096-ptr_max
PARAM_VALUE 3 id 0-s32max
BUF_SIZE 1 name 0-s32max
BUF_SIZE 1 name 0-s32max
CAPPED_DATA 1 name 1
DATA_SOURCE 0 port r parport_find_number
DATA_SOURCE 1 name r kasprintf
DATA_SOURCE 3 id r ida_alloc
MEM_ZERO 2 par_dev_cb
LOCK2 global &pp_do_mutex

drivers/input/joystick/turbografx.c tgfx_attach() -> parport_register_dev_model()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->number 0-s32max
PARAM_VALUE 1 name 8599629727880536064
PARAM_VALUE 2 par_dev_cb 2353722765381373952
PARAM_VALUE 2 par_dev_cb->flags 2
PARAM_VALUE 3 id 0-2
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 1 name 11
CAPPED_DATA 0 port->number 1
DATA_SOURCE 0 port $0
FUZZY_MAX 3 id 2
STR_LEN 0 port 10
TERMINATED 1 name 1
HARD_MAX 3 id 2
MEM_ZERO 2 par_dev_cb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock