Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 22 files:

Smatch caller information:

drivers/hid/hid-nvidia-shield.c thunderstrike_psy_create() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->get_property 5408983129335377920
PARAM_VALUE 1 desc->name 1-u64max
PARAM_VALUE 1 desc->num_properties 16
PARAM_VALUE 1 desc->properties 8874643056923869184
PARAM_VALUE 1 desc->type 1
PARAM_VALUE 2 cfg 4033017699933097984
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
MEM_ZERO 1 desc
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->driver_input_lock
TYPE_LOCK (struct hid_device)->driver_input_lock

drivers/hid/hid-steelseries-arctis.c steelseries_battery_register() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->get_property 5503202102760398848
PARAM_VALUE 1 desc->name 1-u64max
PARAM_VALUE 1 desc->num_properties 7
PARAM_VALUE 1 desc->properties 8093222018609233920
PARAM_VALUE 1 desc->type 1
PARAM_VALUE 2 cfg 727671420941537280
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->driver_input_lock
TYPE_LOCK (struct hid_device)->driver_input_lock

drivers/power/supply/isp1704_charger.c isp1704_charger_probe() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 parent->of_node 0,4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->get_property 6071600853689094144
PARAM_VALUE 1 desc->name 904882921816440832
PARAM_VALUE 1 desc->num_properties 5
PARAM_VALUE 1 desc->properties 6583946944381906944
PARAM_VALUE 1 desc->type 4
PARAM_VALUE 2 cfg 5129781545503383552
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
BUF_SIZE 0 parent 1616
TERMINATED 1 desc->name 1
MEM_ZERO 1 desc
RX_PATH
TASK_NOT_RUNNING

drivers/hid/hid-steam.c steam_battery_register() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->get_property 4539817951321227264
PARAM_VALUE 1 desc->name 1-u64max
PARAM_VALUE 1 desc->num_properties 4
PARAM_VALUE 1 desc->properties 5048958582521954304
PARAM_VALUE 1 desc->type 1
PARAM_VALUE 2 cfg 7511882921363955712
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->driver_input_lock

drivers/acpi/battery.c sysfs_add_battery() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->get_property 7432771337979293696
PARAM_VALUE 1 desc->num_properties 11,15
PARAM_VALUE 1 desc->properties 29935800016961536,2423037256860356608,4828874009397542912,8563490149741080576
PARAM_VALUE 1 desc->type 1
PARAM_VALUE 2 cfg 5822257557552680960
PARAM_VALUE 2 cfg->attr_grp 5491732266683670528
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 1
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/usb/typec/ucsi/psy.c ucsi_register_port_psy() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->get_property 7006959161560420352
PARAM_VALUE 1 desc->name 1-u64max
PARAM_VALUE 1 desc->num_properties 10
PARAM_VALUE 1 desc->properties 6491758039507226624
PARAM_VALUE 1 desc->type 4
PARAM_VALUE 1 desc->usb_types 352
PARAM_VALUE 2 cfg 70188009424715776
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/misc/apple-mfi-fastcharge.c mfi_fc_probe() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->name 1-u64max
PARAM_VALUE 2 cfg 7565372287526653952
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
RX_PATH
TASK_NOT_RUNNING

drivers/staging/greybus/power_supply.c gb_power_supply_register() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->get_property 3189878963883692032
PARAM_VALUE 1 desc->num_properties 0-s32max,18446744071562067968-u64max
PARAM_VALUE 1 desc->property_is_writeable 2640397477408796672
PARAM_VALUE 1 desc->set_property 7749715608143114240
PARAM_VALUE 1 desc->type 0-255
PARAM_VALUE 2 cfg 3610156373629009920
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &supplies->supplies_lock
TYPE_LOCK (struct gb_power_supplies)->supplies_lock

drivers/phy/ti/phy-tusb1210.c tusb1210_probe_charger_detect() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->bus 0
PARAM_VALUE 0 parent->class 0
PARAM_VALUE 0 parent->devres_head.prev 0
PARAM_VALUE 0 parent->driver 0
PARAM_VALUE 1 desc 2503933018662825984
PARAM_VALUE 2 cfg 6457160056314458112
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
BUF_SIZE 0 parent 1616
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/sbs.c acpi_battery_add() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->get_property 5422911125906468864
PARAM_VALUE 1 desc->num_properties 15-16
PARAM_VALUE 1 desc->properties 416506717641691136,5922407136469065728
PARAM_VALUE 1 desc->type 1
PARAM_VALUE 2 cfg 5955268571246755840
PARAM_VALUE 2 cfg->attr_grp 4894202927797633024
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/sbs.c acpi_charger_add() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 desc 8376799659408785408
PARAM_VALUE 2 cfg 414346155238363136
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
RX_PATH
TASK_NOT_RUNNING

drivers/hid/hid-corsair-void.c corsair_void_add_battery() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 2 cfg 4290436345299042304
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
HALF_LOCKED2 &pool->lock

drivers/power/supply/bq24190_charger.c bq24190_probe() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->bus 0,4096-ptr_max
PARAM_VALUE 0 parent->class 0,4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 parent->power.autosuspend_delay 600
PARAM_VALUE 0 parent->power.last_status (-1)
PARAM_VALUE 0 parent->power.qos 0,4096-u64max
PARAM_VALUE 0 parent->power.request 0-4
PARAM_VALUE 0 parent->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 parent->power.use_autosuspend 1
PARAM_VALUE 0 parent->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 parent->type 0,4096-ptr_max
PARAM_VALUE 1 desc 4650795465908547584
PARAM_VALUE 2 cfg 5781891680510517248
PARAM_VALUE 2 cfg->attr_grp 8703032679476441088
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 1
PARAM_VALUE 2 cfg->supplied_to 1086201807865548800
BUF_SIZE 0 parent 1616
RX_PATH
TASK_NOT_RUNNING

drivers/power/supply/bq24190_charger.c bq24190_probe() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->bus 0,4096-ptr_max
PARAM_VALUE 0 parent->class 0,4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 parent->power.autosuspend_delay 600
PARAM_VALUE 0 parent->power.last_status (-1)
PARAM_VALUE 0 parent->power.qos 0,4096-u64max
PARAM_VALUE 0 parent->power.request 0-4
PARAM_VALUE 0 parent->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 parent->power.use_autosuspend 1
PARAM_VALUE 0 parent->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 parent->type 0,4096-ptr_max
PARAM_VALUE 1 desc 4533831084143177728
PARAM_VALUE 2 cfg 4786064535650213888
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
BUF_SIZE 0 parent 1616
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/compal-laptop.c compal_probe() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 16,4096-ptr_max
PARAM_VALUE 1 desc 4083345403771514880
PARAM_VALUE 2 cfg 3889321230133526528
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
RX_PATH
TASK_NOT_RUNNING

drivers/power/supply/bq2415x_charger.c bq2415x_power_supply_init() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 parent->driver_data 4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->get_property 3361348071328948224
PARAM_VALUE 1 desc->name 1-u64max
PARAM_VALUE 1 desc->num_properties 3
PARAM_VALUE 1 desc->properties 3864800080109330432
PARAM_VALUE 1 desc->type 4
PARAM_VALUE 2 cfg 7522894846932074496
PARAM_VALUE 2 cfg->attr_grp 7521932451977400320
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
BUF_SIZE 0 parent 1616
MEM_ZERO 1 desc
RX_PATH
TASK_NOT_RUNNING

drivers/power/supply/test_power.c test_power_init() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 0
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 2 cfg 4096-ptr_max

drivers/power/supply/charger-manager.c charger_manager_probe() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->bus 0,4096-ptr_max
PARAM_VALUE 0 parent->class 0,4096-ptr_max
PARAM_VALUE 0 parent->driver 0,4096-ptr_max
PARAM_VALUE 0 parent->driver_data 4096-ptr_max
PARAM_VALUE 0 parent->of_node 0,4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->name 0
PARAM_VALUE 1 desc->num_properties 6-10
PARAM_VALUE 1 desc->properties 1-u64max
PARAM_VALUE 2 cfg 8571082584778211328
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
MEM_ZERO 1 desc
RX_PATH
TASK_NOT_RUNNING

drivers/hid/hid-wiimote-modules.c wiimod_battery_probe() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->get_property 1584466205457108992
PARAM_VALUE 1 desc->name 1-u64max
PARAM_VALUE 1 desc->num_properties 2
PARAM_VALUE 1 desc->properties 4691666479183687680
PARAM_VALUE 1 desc->type 1
PARAM_VALUE 2 cfg 8480886247752220672
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->fwnode 0
PARAM_VALUE 2 cfg->no_wakeup_source 0
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
HALF_LOCKED2 &pool->lock

drivers/power/supply/lenovo_yoga_c630_battery.c yoga_c630_psy_register_bat_psy() -> power_supply_register()

Type Parameter Key Value
PARAM_VALUE 1 desc 1740335616496697344,5478042806893117440
PARAM_VALUE 2 cfg 1657970140529487872
PARAM_VALUE 2 cfg->attr_grp 0
PARAM_VALUE 2 cfg->drv_data 4096-ptr_max
PARAM_VALUE 2 cfg->no_wakeup_source 1
PARAM_VALUE 2 cfg->num_supplicants 0
PARAM_VALUE 2 cfg->supplied_to 0
BUF_SIZE 0 parent (-1),1616
BUF_SIZE 0 parent (-1),1616
BIT_INFO 1 desc 0x804ea00813f0000,0x5c27eaedf33f8000
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock