Documented in 2 files:

Defined in 5 files as a prototype:

Defined in 1 files as a member:

Defined in 10 files as a function:

Referenced in 14 files:

Smatch caller information:

drivers/net/ethernet/realtek/8139too.c rtl8139_init_one() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 1 client 0
PARAM_VALUE 2 eedata 8
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/realtek/8139too.c rtl8139_init_one() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 1 client 7-9
PARAM_VALUE 2 eedata 6
RX_PATH
TASK_NOT_RUNNING

drivers/media/usb/cx231xx/cx231xx-cards.c cx231xx_card_setup() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->board.decoder 0
PARAM_VALUE 0 host->board.tuner_type 0
PARAM_VALUE 0 host->ctl_freq 0,9076
PARAM_VALUE 0 host->ctrl_urb_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->ctrl_urb_lock.dep_map->name 0-255
PARAM_VALUE 0 host->ctrl_urb_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 host->ctrl_urb_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 host->ctrl_urb_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 host->ctrl_urb_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 host->ctrl_urb_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 host->ctrl_urb_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 host->ctrl_urb_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 host->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 host->dev->class 0,4096-ptr_max
PARAM_VALUE 0 host->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 host->gpio_i2c_lock.dep_map->name 0-255
PARAM_VALUE 0 host->i2c_lock.dep_map->name 0-255
PARAM_VALUE 0 host->lock.dep_map->name 0-255
PARAM_VALUE 0 host->media_dev->dev 4096-ptr_max
PARAM_VALUE 0 host->media_dev->entities.next 4096-ptr_max
PARAM_VALUE 0 host->media_dev->entities.prev 4096-ptr_max
PARAM_VALUE 0 host->media_dev->entity_internal_idx.xa.xa_flags 33554437
PARAM_VALUE 0 host->media_dev->entity_notify.next 4096-ptr_max
PARAM_VALUE 0 host->media_dev->entity_notify.prev 4096-ptr_max
PARAM_VALUE 0 host->media_dev->graph_mutex.magic 4096-ptr_max
PARAM_VALUE 0 host->media_dev->hw_revision 0-u16max
PARAM_VALUE 0 host->media_dev->interfaces.next 4096-ptr_max
PARAM_VALUE 0 host->media_dev->interfaces.prev 4096-ptr_max
PARAM_VALUE 0 host->media_dev->links.next 4096-ptr_max
PARAM_VALUE 0 host->media_dev->links.prev 4096-ptr_max
PARAM_VALUE 0 host->media_dev->num_requests.counter 0
PARAM_VALUE 0 host->media_dev->pads.next 4096-ptr_max
PARAM_VALUE 0 host->media_dev->pads.prev 4096-ptr_max
PARAM_VALUE 0 host->media_dev->req_queue_mutex.magic 4096-ptr_max
PARAM_VALUE 0 host->media_dev->request_id.counter 0
PARAM_VALUE 0 host->model 19-21,26-27
PARAM_VALUE 0 host->muxc 0,4096-ptr_max
PARAM_VALUE 0 host->muxc->deselect 0
PARAM_VALUE 0 host->muxc->dev->of_node->kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 host->muxc->max_adapters 2
PARAM_VALUE 0 host->muxc->num_adapters s32min-s32max
PARAM_VALUE 0 host->muxc->select 3849454267014184960
PARAM_VALUE 0 host->name 0
PARAM_VALUE 0 host->open.head.next->next 4096-ptr_max
PARAM_VALUE 0 host->open.head.prev->next 4096-ptr_max
PARAM_VALUE 0 host->open.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 host->sd_cx25840 0,4096-ptr_max
PARAM_VALUE 0 host->sd_cx25840->ops->core->load_fw 0,3268701000724185088,6224904201381666816
PARAM_VALUE 0 host->sd_tuner 0,4096-ptr_max
PARAM_VALUE 0 host->udev->actconfig 4096-ptr_max
PARAM_VALUE 0 host->udev->config 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev->name 0-255
PARAM_VALUE 0 host->v4l2_dev.dev 0,4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.mdev->dev 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.mdev->entities.next 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.mdev->entity_internal_idx.xa.xa_flags 33554437
PARAM_VALUE 0 host->v4l2_dev.mdev->entity_notify.next 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.mdev->entity_notify.prev 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.mdev->hw_revision 0-u16max
PARAM_VALUE 0 host->v4l2_dev.mdev->interfaces.next 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.mdev->interfaces.prev 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.mdev->links.next 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.mdev->pads.next 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.mdev->req_queue_mutex.magic 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.mdev->request_id.counter 0
PARAM_VALUE 0 host->v4l2_dev.subdevs.next->next 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.subdevs.prev->next 4096-ptr_max
PARAM_VALUE 0 host->v4l2_dev.subdevs.prev->prev 4096-ptr_max
PARAM_VALUE 0 host->wait_frame.head.next->next 4096-ptr_max
PARAM_VALUE 0 host->wait_frame.head.prev->next 4096-ptr_max
PARAM_VALUE 0 host->wait_frame.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 host->wait_stream.head.next->next 4096-ptr_max
PARAM_VALUE 0 host->wait_stream.head.prev->next 4096-ptr_max
PARAM_VALUE 0 host->wait_stream.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 *host->name 0-127
PARAM_VALUE 0 *host->udev->toggle 0-4294967295
PARAM_VALUE 0 *host->urb_buf 0-255
PARAM_VALUE 1 client 4096-ptr_max
PARAM_VALUE 1 client->addr 80
PARAM_VALUE 3 len 256
BUF_SIZE 0 host 24352
BUF_SIZE 0 host->sd_cx25840 s32min-(-1),1-s32max
BUF_SIZE 0 host->sd_tuner s32min-(-1),1-s32max
BUF_SIZE 2 eedata 256
DATA_SOURCE 0 host $0
FUZZY_MAX 0 host->ctl_freq 0
STR_LEN 0 host->name (-1)
MEM_ZERO 0 host
MEM_ZERO 0 &host->devlist_count
MEM_ZERO 0 &host->v4l2_dev.prio
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 host->muxc->max_adapters
UNITS 3 len unit_byte

drivers/scsi/a100u2w.c init_orchid() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->escb_virt 1-ptr_max
PARAM_VALUE 0 host->pdev 4096-ptr_max
PARAM_VALUE 0 host->pdev->dev.dma_mask 4096-ptr_max
PARAM_VALUE 0 host->pdev->driver 4096-ptr_max
PARAM_VALUE 0 host->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 host->pdev->is_busmaster 1
PARAM_VALUE 0 host->pdev->pcie_cap 0-1
PARAM_VALUE 0 host->scb_virt 4096-ptr_max
PARAM_VALUE 0 host->scb_virt->escb 1-ptr_max
PARAM_VALUE 0 host->scb_virt->scbidx 0-244
BUF_SIZE 0 host->escb_virt 64680
BUF_SIZE 0 host->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
BUF_SIZE 0 host->scb_virt 15680
DATA_SOURCE 0 host $0
MEM_ZERO 0 host->escb_virt
MEM_ZERO 0 host->scb_virt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 host->BIOScfg 0-255
HOST_DATA 0 host->pdev->current_state 0-3[c]

drivers/net/ethernet/sis/sis900.c sis900_get_mac_addr() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 1 client 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pci_dev->dev.mutex

drivers/net/ethernet/sis/sis900.c sis900_get_mac_addr() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 1 client 8-10
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pci_dev->dev.mutex

drivers/net/ethernet/sis/sis900.c sis900_read_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 1 client 0-s32max
CAPPED_DATA 1 client 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sis_priv->lock
LOCK2 irq
TYPE_LOCK (struct sis900_private)->lock

drivers/net/ethernet/sis/sis900.c sis900_read_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 1 client 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sis_priv->lock
LOCK2 irq
TYPE_LOCK (struct sis900_private)->lock

drivers/net/ethernet/sis/sis900.c sis900_read_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 1 client 0-s32max
CAPPED_DATA 1 client 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sis_priv->lock
LOCK2 irq
TYPE_LOCK (struct sis900_private)->lock

drivers/net/ethernet/sis/sis900.c sis96x_get_mac_addr() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 1 client 8-10
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pci_dev->dev.mutex

drivers/net/ethernet/8390/pcnet_cs.c write_asic() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 1 client 4
DATA_SOURCE 0 host $0
DATA_SOURCE 1 client $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 host unit_byte

drivers/net/ethernet/dlink/dl2k.c parse_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 1 client 0-127
FUZZY_MAX 1 client 127
HARD_MAX 1 client 127
RX_PATH
TASK_NOT_RUNNING

drivers/comedi/drivers/cb_pcidas64.c eeprom_read_insn() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->attached 1
PARAM_VALUE 0 host->mutex.dep_map->name 0-255
PARAM_VALUE 0 host->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 host->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 host->mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 host->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 host->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 host->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 host->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 host->mutex.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 host->n_subdevices s32min-(-1),1-s32max
PARAM_VALUE 0 host->subdevices 4096-ptr_max
DATA_SOURCE 0 host $0
USER_DATA 1 client 0-255[c]
LOCK2 0 &host->mutex
TYPE_LOCK (struct comedi_device)->mutex

drivers/net/ethernet/realtek/8139cp.c cp_get_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 1 client 0
PARAM_VALUE 2 eedata 8
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock

drivers/net/ethernet/realtek/8139cp.c cp_get_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 1 client 0-s32max
PARAM_VALUE 2 eedata 6
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 client 1-1073743871[c]
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock

drivers/net/ethernet/realtek/8139cp.c cp_get_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 2 eedata 6
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 client 1-1073743871[c]
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock

drivers/net/ethernet/realtek/8139cp.c cp_get_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 2 eedata 6
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 client 1-1073743871[c]
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock

drivers/net/ethernet/realtek/8139cp.c cp_get_eeprom_len() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 1 client 0
PARAM_VALUE 2 eedata 8
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock

drivers/net/ethernet/realtek/8139cp.c cp_init_one() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 1 client 0
PARAM_VALUE 2 eedata 8
DATA_SOURCE 0 host r ioremap
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/realtek/8139cp.c cp_init_one() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 1 client 7-9
PARAM_VALUE 2 eedata 6
DATA_SOURCE 0 host r ioremap
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/realtek/8139cp.c cp_set_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 1 client 0
PARAM_VALUE 2 eedata 8
PREEMPT_ADD <- disables preempt
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock

drivers/net/ethernet/realtek/8139cp.c cp_set_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 1 client 0-s32max
PARAM_VALUE 2 eedata 6
PREEMPT_ADD <- disables preempt
USER_DATA 1 client 1-1073743871[c]
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock

drivers/net/ethernet/realtek/8139cp.c cp_set_eeprom() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 2 eedata 6
PREEMPT_ADD <- disables preempt
USER_DATA 1 client 1-1073743871[c]
LOCK2 &cp->lock
LOCK2 irq
TYPE_LOCK (struct cp_private)->lock

drivers/net/ethernet/smsc/epic100.c epic_init_one() -> read_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->ioaddr 65536-131071
PARAM_VALUE 0 host->mii.dev->dev.parent 4096-ptr_max
PARAM_VALUE 0 host->mii.mdio_read 3960646639727906816
PARAM_VALUE 0 host->mii.mdio_write 1347956625841926144
PARAM_VALUE 0 host->mii.phy_id_mask 31
PARAM_VALUE 0 host->mii.reg_num_mask 31
PARAM_VALUE 0 host->rx_ring 1-ptr_max
PARAM_VALUE 0 host->tx_ring 1-ptr_max
PARAM_VALUE 1 client 0-63
BUF_SIZE 0 host->rx_ring 4096
BUF_SIZE 0 host->tx_ring 4096
FUZZY_MAX 1 client 63
HARD_MAX 1 client 63
RX_PATH
TASK_NOT_RUNNING