Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 14 files:

Smatch caller information:

drivers/ata/pata_ns87410.c ns87410_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->link 4096-ptr_max
PARAM_VALUE 0 adev->link->ap 4096-ptr_max
PARAM_VALUE 2 t 6990597245180841984
PARAM_VALUE 3 T 30303
PARAM_VALUE 4 UT 1
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]
HALF_LOCKED2 &ap->host->eh_mutex
HALF_LOCKED2 ap->lock

drivers/ata/pata_cmd640.c cmd640_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->pio_mode 0-254
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 6373717354689777664
PARAM_VALUE 3 T 30303
PARAM_VALUE 4 UT 0
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_cmd640.c cmd640_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 2 t 2127273217713975296
PARAM_VALUE 3 T 30303
PARAM_VALUE 4 UT 1
DATA_SOURCE 0 adev r ata_dev_pair
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_via.c via_do_set_mode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 4301706610598432768
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 7500,10000,15000,30000
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
DATA_SOURCE 1 speed $2
FUZZY_MAX 4 UT 15000
PARAM_COMPARE 3 T >= $4
PARAM_COMPARE 4 UT <= $3
BIT_INFO 4 UT 0x0,0x7ffc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]

drivers/ata/pata_via.c via_do_set_mode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 0 adev->pio_mode 1-255
PARAM_VALUE 1 speed 1-255
PARAM_VALUE 2 t 3052397161493200896
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 7500,10000,15000,30000
DATA_SOURCE 0 adev r ata_dev_pair
FUZZY_MAX 4 UT 15000
PARAM_COMPARE 3 T >= $4
PARAM_COMPARE 4 UT <= $3
BIT_INFO 4 UT 0x0,0x7ffc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ata/pata_cypress.c cy82c693_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->pio_mode 0-254
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 579826377622700032
PARAM_VALUE 3 T 30303
PARAM_VALUE 4 UT 1
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ep93xx.c ep93xx_pata_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->pio_mode 0-254
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 4096-ptr_max
PARAM_VALUE 3 T 25000
PARAM_VALUE 4 UT 0
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ep93xx.c ep93xx_pata_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 0 adev->pio_mode 1-255
PARAM_VALUE 1 speed 1-255
PARAM_VALUE 2 t 891590959329427456
PARAM_VALUE 3 T 25000
PARAM_VALUE 4 UT 0
DATA_SOURCE 0 adev r ata_dev_pair
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_amd.c timing_setup() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 1833193532598800384
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 15000,30000
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
DATA_SOURCE 1 speed $3
FUZZY_MAX 4 UT 15000
PARAM_COMPARE 3 T >= $4
PARAM_COMPARE 4 UT <= $3
BIT_INFO 4 UT 0x3010,0x7fb8
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]

drivers/ata/pata_amd.c timing_setup() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 0 adev->dma_mode 0-254
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 3253045837180035072
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 15000,30000
DATA_SOURCE 0 adev r ata_dev_pair
FUZZY_MAX 4 UT 15000
PARAM_COMPARE 3 T >= $4
PARAM_COMPARE 4 UT <= $3
BIT_INFO 4 UT 0x3010,0x7fb8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ata/pata_amd.c timing_setup() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 2 t 3253045837180035072
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 15000,30000
CAPPED_DATA 0 adev->dma_mode 1
DATA_SOURCE 0 adev r ata_dev_pair
FUZZY_MAX 4 UT 15000
PARAM_COMPARE 3 T >= $4
PARAM_COMPARE 4 UT <= $3
BIT_INFO 4 UT 0x3010,0x7fb8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ata/libata-pata-timings.c ata_timing_compute() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->id 4096-ptr_max
PARAM_VALUE 0 adev->link->ap->scsi_host->ehandler->sched_class->uclamp_enabled 0-1
PARAM_VALUE 2 t 7672353681653219328
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $0
DATA_SOURCE 3 T $3
DATA_SOURCE 4 UT $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]
HALF_LOCKED2 0 adev->link->ap->lock

drivers/ata/pata_imx.c pata_imx_set_timing() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->pio_mode 8-12
PARAM_VALUE 1 speed 8-12
PARAM_VALUE 2 t 8010768464461119488
PARAM_VALUE 4 UT 0
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $0
FUZZY_MAX 0 adev->pio_mode 12
FUZZY_MAX 1 speed 12
HARD_MAX 0 adev->pio_mode 12
HARD_MAX 1 speed 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ali.c ali_set_dmamode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dma_mode 0-63
PARAM_VALUE 0 adev->id 4096-ptr_max
PARAM_VALUE 0 adev->link->ap 4096-ptr_max
PARAM_VALUE 0 adev->link->ap->flags 512-u64max
PARAM_VALUE 0 adev->link->ap->host 4096-ptr_max
PARAM_VALUE 0 adev->link->ap->host->flags 1-u64max
PARAM_VALUE 0 adev->link->ap->ops 4096-ptr_max
PARAM_VALUE 0 adev->xfer_mode 0-254
PARAM_VALUE 0 adev->xfer_shift 0,7,12,u32max
PARAM_VALUE 1 speed 0-63
PARAM_VALUE 2 t 3706232647661613056
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 1
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
BIT_INFO 0 adev->xfer_shift 0x0,0xf
HARD_MAX 0 adev->dma_mode 63
HARD_MAX 1 speed 63
NOCHECK_CALL

drivers/ata/pata_ali.c ali_set_dmamode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 2 t 108708885048684544
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 1
DATA_SOURCE 0 adev r ata_dev_pair
NOCHECK_CALL

drivers/ata/pata_ali.c ali_set_dmamode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 0 adev->dma_mode 0-254
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 108708885048684544
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 1
CAPPED_DATA 0 adev->pio_mode 1
DATA_SOURCE 0 adev r ata_dev_pair
NOCHECK_CALL

drivers/ata/pata_ali.c ali_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->pio_mode 0-254
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 4144205709420347392
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 1
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ali.c ali_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 2 t 561221141606395904
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 1
DATA_SOURCE 0 adev r ata_dev_pair
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ali.c ali_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 0 adev->dma_mode 0-254
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 561221141606395904
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 1
CAPPED_DATA 0 adev->pio_mode 1
DATA_SOURCE 0 adev r ata_dev_pair
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ns87415.c ns87415_set_mode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 2 t 2221907656994332672
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 0
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]

drivers/ata/pata_cmd64x.c cmd64x_set_timing() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 1317579882418884608
PARAM_VALUE 3 T 30303
PARAM_VALUE 4 UT 0
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
DATA_SOURCE 1 speed $2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]

drivers/ata/pata_cmd64x.c cmd64x_set_timing() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 2 t 58452419760283648
PARAM_VALUE 3 T 30303
PARAM_VALUE 4 UT 0
DATA_SOURCE 0 adev r ata_dev_pair
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ata/pata_atp867x.c atp867x_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->pio_mode 0-254
PARAM_VALUE 1 speed 0-254
PARAM_VALUE 2 t 1246056384503353344
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 7500
BUF_SIZE 0 adev (-1),8064
BUF_SIZE 0 adev (-1),8064
DATA_SOURCE 0 adev $1
PARAM_COMPARE 3 T > $4
PARAM_COMPARE 4 UT < $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->n_native_sectors 1-281474976710656[c]
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_atp867x.c atp867x_set_piomode() -> ata_timing_compute()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->class 1,3,5,7,9
PARAM_VALUE 0 adev->pio_mode 1-255
PARAM_VALUE 1 speed 1-255
PARAM_VALUE 2 t 1515328721272946688
PARAM_VALUE 3 T 30000
PARAM_VALUE 4 UT 7500
DATA_SOURCE 0 adev r ata_dev_pair
PARAM_COMPARE 3 T > $4
PARAM_COMPARE 4 UT < $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex