Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/olpc/
H A Dolpc-ec.c44 spinlock_t cmd_q_lock; member
84 spin_lock_irqsave(&ec->cmd_q_lock, flags); in olpc_ec_worker()
89 spin_unlock_irqrestore(&ec->cmd_q_lock, flags); in olpc_ec_worker()
119 spin_lock_irqsave(&ec->cmd_q_lock, flags); in queue_ec_descriptor()
121 spin_unlock_irqrestore(&ec->cmd_q_lock, flags); in queue_ec_descriptor()
423 spin_lock_init(&ec->cmd_q_lock); in olpc_ec_probe()