Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/mei/
Dinterface.c32 if ((dev->host_hw_state & H_IS) == H_IS) in mei_hcsr_set()
33 dev->host_hw_state &= ~H_IS; in mei_hcsr_set()
34 mei_reg_write(dev, H_CSR, dev->host_hw_state); in mei_hcsr_set()
35 dev->host_hw_state = mei_hcsr_read(dev); in mei_hcsr_set()
45 dev->host_hw_state |= H_IE; in mei_enable_interrupts()
56 dev->host_hw_state &= ~H_IE; in mei_disable_interrupts()
71 read_ptr = (char) ((dev->host_hw_state & H_CBRP) >> 8); in _host_get_filled_slots()
72 write_ptr = (char) ((dev->host_hw_state & H_CBWP) >> 16); in _host_get_filled_slots()
88 dev->host_hw_state = mei_hcsr_read(dev); in mei_host_buffer_is_empty()
108 dev->host_hw_state = mei_hcsr_read(dev); in mei_count_empty_write_slots()
[all …]
Dinit.c156 dev->host_hw_state = mei_hcsr_read(dev); in mei_hw_init()
159 dev->host_hw_state, dev->me_hw_state); in mei_hw_init()
162 if ((dev->host_hw_state & H_IS) == H_IS) in mei_hw_init()
163 mei_reg_write(dev, H_CSR, dev->host_hw_state); in mei_hw_init()
171 dev->host_hw_state, dev->me_hw_state); in mei_hw_init()
190 if (!(((dev->host_hw_state & H_RDY) == H_RDY) && in mei_hw_init()
195 dev->host_hw_state, dev->me_hw_state); in mei_hw_init()
197 if (!(dev->host_hw_state & H_RDY)) in mei_hw_init()
217 dev->host_hw_state, dev->me_hw_state); in mei_hw_init()
236 dev->host_hw_state |= (H_RST | H_IG); in mei_hw_reset()
[all …]
Dinterrupt.c954 } else if (*slots == ((dev->host_hw_state & H_CBD) >> 24)) { in _mei_irq_thread_cmpl()
1049 } else if (*slots == ((dev->host_hw_state & H_CBD) >> 24)) { in _mei_irq_thread_cmpl_iamthif()
1503 dev->host_hw_state = mei_hcsr_read(dev); in mei_interrupt_thread_handler()
1508 mei_reg_write(dev, H_CSR, dev->host_hw_state); in mei_interrupt_thread_handler()
1523 if ((dev->host_hw_state & H_RDY) == 0) { in mei_interrupt_thread_handler()
1526 dev->host_hw_state |= (H_IE | H_IG | H_RDY); in mei_interrupt_thread_handler()
1557 dev->host_hw_state = mei_hcsr_read(dev); in mei_interrupt_thread_handler()
Diorw.c485 (((dev->host_hw_state & H_CBD) >> 24) * sizeof(u32)) in amthi_write()
488 (((dev->host_hw_state & H_CBD) >> 24) * in amthi_write()
Dmei_dev.h206 u32 host_hw_state; member
Dmain.c724 if (length > ((((dev->host_hw_state & H_CBD) >> 24) * in mei_write()
728 (((dev->host_hw_state & H_CBD) >> 24) * in mei_write()
1029 dev->host_hw_state = mei_hcsr_read(dev); in mei_probe()