Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ata/
H A Dpata_octeon_cf.c75 static unsigned int ns_to_tim_reg(unsigned int tim_mult, unsigned int nsecs) in ns_to_tim_reg() function
156 trh = ns_to_tim_reg(div, 20); in octeon_cf_set_piomode()
199 reg_tim.s.ce = ns_to_tim_reg(div, 5); in octeon_cf_set_piomode()
254 dma_tim.s.oe_n = ns_to_tim_reg(tim_mult, oe_n); in octeon_cf_set_dmamode()
255 dma_tim.s.oe_a = ns_to_tim_reg(tim_mult, oe_a); in octeon_cf_set_dmamode()
261 dma_tim.s.dmack_s = ns_to_tim_reg(tim_mult, 20); in octeon_cf_set_dmamode()
262 dma_tim.s.dmack_h = ns_to_tim_reg(tim_mult, dma_ackh); in octeon_cf_set_dmamode()
265 dma_tim.s.pause = ns_to_tim_reg(tim_mult, pause); in octeon_cf_set_dmamode()
270 dma_tim.s.we_n = ns_to_tim_reg(tim_mult, oe_n); in octeon_cf_set_dmamode()
271 dma_tim.s.we_a = ns_to_tim_reg(tim_mult, oe_a); in octeon_cf_set_dmamode()
[all …]