Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/tcpm/fusb302.c fusb302_enable_tx_auto_retries() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 address 9
PARAM_VALUE 2 set_bits 5,7
DATA_SOURCE 0 chip $0
BIT_INFO 2 set_bits 0x5,0x7
RX_PATH
HALF_LOCKED2 0 &chip->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_pd_reset() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right 0
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->i2c_client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 12
PARAM_VALUE 2 set_bits 2
DATA_SOURCE 0 chip $0
LOCK2 0 &chip->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fusb302_chip)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_pd_rx_flush() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 7
PARAM_VALUE 2 set_bits 4
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->lock
TYPE_LOCK (struct fusb302_chip)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_pd_send_hardreset() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 9
PARAM_VALUE 2 set_bits 64
DATA_SOURCE 0 chip $0
RX_PATH
LOCK2 0 &chip->lock
HALF_LOCKED2 &port->lock
TYPE_LOCK (struct fusb302_chip)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_pd_set_auto_goodcrc() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right 0
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->i2c_client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 3
PARAM_VALUE 2 set_bits 4
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->lock
TYPE_LOCK (struct fusb302_chip)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_pd_set_interrupts() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right 0
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->i2c_client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 10
PARAM_VALUE 2 set_bits 2
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->lock
TYPE_LOCK (struct fusb302_chip)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_pd_set_interrupts() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right 0
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->i2c_client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 14
PARAM_VALUE 2 set_bits 29
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->lock
TYPE_LOCK (struct fusb302_chip)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_pd_set_interrupts() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right 0
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->i2c_client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 15
PARAM_VALUE 2 set_bits 1
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->lock
TYPE_LOCK (struct fusb302_chip)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_pd_tx_flush() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right 0
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->i2c_client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 6
PARAM_VALUE 2 set_bits 64
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->lock
TYPE_LOCK (struct fusb302_chip)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_set_toggling() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right 0
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->i2c_client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 10
PARAM_VALUE 2 set_bits 33
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->lock
TYPE_LOCK (struct fusb302_chip)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_set_toggling() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right 0
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->i2c_client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 chip->intr_bc_lvl 0
PARAM_VALUE 0 chip->intr_comp_chng 0
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 14
PARAM_VALUE 2 set_bits 64
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->lock
TYPE_LOCK (struct fusb302_chip)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_set_toggling() -> fusb302_i2c_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right 0
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->i2c_client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->i2c_client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 chip->intr_bc_lvl 0
PARAM_VALUE 0 chip->intr_comp_chng 0
PARAM_VALUE 0 chip->intr_togdone 1
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.wait_lock.owner (-1)
PARAM_VALUE 0 chip->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 address 8
PARAM_VALUE 2 set_bits 1
DATA_SOURCE 0 chip $0
RX_PATH
LOCK2 0 &chip->lock
TYPE_LOCK (struct fusb302_chip)->lock