Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/dsa/microchip/ksz_ptp.c, line 1031 (as a function)
- drivers/net/dsa/microchip/ksz_ptp.h, line 68 (as a function)
Referenced in 3 files:
- drivers/net/dsa/microchip/ksz8.c
- drivers/net/dsa/microchip/ksz9477.c, line 1784
- drivers/net/dsa/microchip/lan937x_main.c, line 870
Smatch caller information:
drivers/net/dsa/microchip/ksz9477.c ksz9477_setup() -> ksz_ptp_clock_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->configure_vlan_while_not_filtering | 0 |
| PARAM_VALUE | 0 | ds->dscp_prio_mapping_is_global | 1 |
| PARAM_VALUE | 0 | ds->mtu_enforcement_ingress | 1 |
| PARAM_VALUE | 0 | ds->num_tx_queues | 0-255 |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->priv->cpu_port | 0-s32max |
| PARAM_VALUE | 0 | ds->priv->info | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->priv->info->port_cnt | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/microchip/lan937x_main.c lan937x_setup() -> ksz_ptp_clock_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->configure_vlan_while_not_filtering | 0 |
| PARAM_VALUE | 0 | ds->dscp_prio_mapping_is_global | 1 |
| PARAM_VALUE | 0 | ds->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->num_tx_queues | 0-255 |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->cpu_port | s32min-s32max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ds->vlan_filtering_is_global | 1 |
| CAPPED_DATA | 0 | ds | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/microchip/ksz8.c ksz8463_setup() -> ksz_ptp_clock_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->configure_vlan_while_not_filtering | 0 |
| PARAM_VALUE | 0 | ds->dscp_prio_mapping_is_global | 1 |
| PARAM_VALUE | 0 | ds->mtu_enforcement_ingress | 1 |
| PARAM_VALUE | 0 | ds->num_tx_queues | 0-255 |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->dev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->dev_ops->get_port_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->ds->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->info | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->info->masks | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->info->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->untag_bridge_pvid | 1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ds->vlan_filtering_is_global | 1 |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->priv->ds | 1 |
| CAPPED_DATA | 0 | ds->priv->phy_port_cnt | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/microchip/ksz8.c ksz8_setup() -> ksz_ptp_clock_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->configure_vlan_while_not_filtering | 0 |
| PARAM_VALUE | 0 | ds->dscp_prio_mapping_is_global | 1 |
| PARAM_VALUE | 0 | ds->mtu_enforcement_ingress | 1 |
| PARAM_VALUE | 0 | ds->num_tx_queues | 0-255 |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->priv->alu_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->priv->dev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->dev_ops->get_port_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->ds->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->info | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->info->masks | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv->info->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->untag_bridge_pvid | 1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ds->vlan_filtering_is_global | 1 |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->priv->ds | 1 |
| CAPPED_DATA | 0 | ds->priv->phy_port_cnt | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |