Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/bluetooth/hci_ldisc.c serdev_device_set_rts() -> serdev_device_set_tiocm()

Type Parameter Key Value
PARAM_VALUE 0 serdev 4096-ptr_max
PARAM_VALUE 0 serdev->ctrl 0,4096-ptr_max
PARAM_VALUE 0 serdev->ctrl->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 serdev->ctrl->ops->close 4096-ptr_max
PARAM_VALUE 0 serdev->ctrl->ops->open 4096-ptr_max
PARAM_VALUE 0 serdev->ops->receive_buf 4096-ptr_max
PARAM_VALUE 1 set 4
PARAM_VALUE 2 clear 0
DATA_SOURCE 0 serdev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &idev->hu_lock
HALF_LOCKED2 global &bcm_device_lock

drivers/bluetooth/hci_ldisc.c serdev_device_set_rts() -> serdev_device_set_tiocm()

Type Parameter Key Value
PARAM_VALUE 0 serdev 4096-ptr_max
PARAM_VALUE 0 serdev->ctrl 0,4096-ptr_max
PARAM_VALUE 0 serdev->ctrl->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 serdev->ctrl->ops->close 4096-ptr_max
PARAM_VALUE 0 serdev->ctrl->ops->open 4096-ptr_max
PARAM_VALUE 0 serdev->ops->receive_buf 4096-ptr_max
PARAM_VALUE 1 set 0
PARAM_VALUE 2 clear 4
DATA_SOURCE 0 serdev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &idev->hu_lock
HALF_LOCKED2 global &bcm_device_lock

drivers/bluetooth/btnxpuart.c ps_control() -> serdev_device_set_tiocm()

Type Parameter Key Value
PARAM_VALUE 1 set 2
PARAM_VALUE 2 clear 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &psdata->ps_lock
TYPE_LOCK (struct ps_data)->ps_lock

drivers/bluetooth/btnxpuart.c ps_control() -> serdev_device_set_tiocm()

Type Parameter Key Value
PARAM_VALUE 1 set 0
PARAM_VALUE 2 clear 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &psdata->ps_lock
TYPE_LOCK (struct ps_data)->ps_lock

drivers/bluetooth/btnxpuart.c ps_init() -> serdev_device_set_tiocm()

Type Parameter Key Value
PARAM_VALUE 1 set 0
PARAM_VALUE 2 clear 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/btnxpuart.c ps_init() -> serdev_device_set_tiocm()

Type Parameter Key Value
PARAM_VALUE 0 serdev 4096-ptr_max
PARAM_VALUE 0 serdev->ctrl 0,4096-ptr_max
PARAM_VALUE 1 set 4
PARAM_VALUE 2 clear 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/btnxpuart.c ps_init() -> serdev_device_set_tiocm()

Type Parameter Key Value
PARAM_VALUE 0 serdev 4096-ptr_max
PARAM_VALUE 0 serdev->ctrl 0,4096-ptr_max
PARAM_VALUE 1 set 0
PARAM_VALUE 2 clear 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/btnxpuart.c ps_init() -> serdev_device_set_tiocm()

Type Parameter Key Value
PARAM_VALUE 0 serdev 4096-ptr_max
PARAM_VALUE 0 serdev->ctrl 0,4096-ptr_max
PARAM_VALUE 1 set 2
PARAM_VALUE 2 clear 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/hci_nokia.c serdev_device_set_rts() -> serdev_device_set_tiocm()

Type Parameter Key Value
PARAM_VALUE 0 serdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 set 4
PARAM_VALUE 2 clear 0
DATA_SOURCE 0 serdev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->req_lock

drivers/bluetooth/hci_nokia.c serdev_device_set_rts() -> serdev_device_set_tiocm()

Type Parameter Key Value
PARAM_VALUE 0 serdev 4096-ptr_max
PARAM_VALUE 0 serdev->ctrl 0,4096-ptr_max
PARAM_VALUE 0 serdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 set 0
PARAM_VALUE 2 clear 4
DATA_SOURCE 0 serdev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->req_lock