Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/serial/whiteheat.c firm_close() -> firm_send_command()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 0 *port->serial->dev->toggle 0-4294967295
PARAM_VALUE 1 command 2
PARAM_VALUE 2 data 736282405299261440
PARAM_VALUE 3 datasize 1
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 port->port.tty->index 0-s16max[c]
UNITS 3 datasize unit_byte
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 _T->lock

drivers/usb/serial/whiteheat.c firm_get_dtr_rts() -> firm_send_command()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 command 10
PARAM_VALUE 2 data 3834241856452087808
PARAM_VALUE 3 datasize 1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
UNITS 3 datasize unit_byte
HALF_LOCKED2 &hdev->req_lock

drivers/usb/serial/whiteheat.c firm_open() -> firm_send_command()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->disc_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->serial->disc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->serial->disc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->serial->disc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->serial->disc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->serial->disc_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->serial->disc_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 port->serial->disc_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->serial->disconnected 0
PARAM_VALUE 0 port->serial->interface 4096-ptr_max
PARAM_VALUE 0 port->serial->interface->dev.power.request 0-4
PARAM_VALUE 0 port->serial->interface->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 port->serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 0 *port->serial->dev->toggle 0-4294967295
PARAM_VALUE 1 command 1
PARAM_VALUE 2 data 7107494451177242624
PARAM_VALUE 3 datasize 1
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 port->port.tty->index 0-s16max[c]
UNITS 3 datasize unit_byte
LOCK2 &serial->disc_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/whiteheat.c firm_purge() -> firm_send_command()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev.driver_data->mcr 0-255
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->disc_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->serial->disc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->serial->disc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->serial->disc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->serial->disc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->serial->disc_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->serial->disc_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 port->serial->disc_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->serial->disconnected 0
PARAM_VALUE 0 port->serial->interface 4096-ptr_max
PARAM_VALUE 0 port->serial->interface->dev.power.request 0-4
PARAM_VALUE 0 port->serial->interface->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 port->serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 0 *port->serial->dev->toggle 0-4294967295
PARAM_VALUE 1 command 9
PARAM_VALUE 2 data 1801298874040254464
PARAM_VALUE 3 datasize 2
BUF_SIZE 2 data 2
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 port->port.tty->index 0-s16max[c]
UNITS 3 datasize unit_byte
LOCK2 &serial->disc_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/whiteheat.c firm_report_tx_done() -> firm_send_command()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 0 port->serial->type->close 4096-ptr_max
PARAM_VALUE 1 command 12
PARAM_VALUE 2 data 4438240338697396224
PARAM_VALUE 3 datasize 1
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
UNITS 3 datasize unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &tty->legacy_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/usb/serial/whiteheat.c firm_set_break() -> firm_send_command()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 command 6
PARAM_VALUE 2 data 4640283804650897408
PARAM_VALUE 3 datasize 2
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 2 data 2
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
UNITS 3 datasize unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tty->atomic_write_lock

drivers/usb/serial/whiteheat.c firm_set_dtr() -> firm_send_command()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 command 5
PARAM_VALUE 2 data 1668588095833894912
PARAM_VALUE 3 datasize 2
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 2 data 2
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
UNITS 3 datasize unit_byte
HALF_LOCKED2 global &spk_mutex

drivers/usb/serial/whiteheat.c firm_set_rts() -> firm_send_command()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 1 command 4
PARAM_VALUE 2 data 3787084217475448832
PARAM_VALUE 3 datasize 2
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 2 data 2
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
UNITS 3 datasize unit_byte
HALF_LOCKED2 global &spk_mutex

drivers/usb/serial/whiteheat.c firm_setup_port() -> firm_send_command()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 command 3
PARAM_VALUE 2 data 7053475131410726912
PARAM_VALUE 3 datasize 13
BUF_SIZE 0 port (-1),1-s32max
BUF_SIZE 0 port (-1),1-s32max
BUF_SIZE 2 data 13
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 port unit_byte
UNITS 3 datasize unit_byte
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 _T->lock