Home
last modified time | relevance | path

Searched refs:ns_to_tim_reg (Results 1 – 1 of 1) sorted by relevance

/drivers/ata/
Dpata_octeon_cf.c74 static unsigned int ns_to_tim_reg(unsigned int tim_mult, unsigned int nsecs) in ns_to_tim_reg() function
168 trh = ns_to_tim_reg(div, 20); in octeon_cf_set_piomode()
211 reg_tim.s.ce = ns_to_tim_reg(div, 5); in octeon_cf_set_piomode()
266 dma_tim.s.oe_n = ns_to_tim_reg(tim_mult, oe_n); in octeon_cf_set_dmamode()
267 dma_tim.s.oe_a = ns_to_tim_reg(tim_mult, oe_a); in octeon_cf_set_dmamode()
273 dma_tim.s.dmack_s = ns_to_tim_reg(tim_mult, 20); in octeon_cf_set_dmamode()
274 dma_tim.s.dmack_h = ns_to_tim_reg(tim_mult, dma_ackh); in octeon_cf_set_dmamode()
277 dma_tim.s.pause = ns_to_tim_reg(tim_mult, pause); in octeon_cf_set_dmamode()
282 dma_tim.s.we_n = ns_to_tim_reg(tim_mult, oe_n); in octeon_cf_set_dmamode()
283 dma_tim.s.we_a = ns_to_tim_reg(tim_mult, oe_a); in octeon_cf_set_dmamode()
[all …]