Searched refs:ipmb_dev (Results 1 – 1 of 1) sorted by relevance
56 struct ipmb_dev { struct69 static inline struct ipmb_dev *to_ipmb_dev(struct file *file) in to_ipmb_dev() argument71 return container_of(file->private_data, struct ipmb_dev, miscdev); in to_ipmb_dev()77 struct ipmb_dev *ipmb_dev = to_ipmb_dev(file); in ipmb_read() local84 spin_lock_irq(&ipmb_dev->lock); in ipmb_read()86 while (list_empty(&ipmb_dev->request_queue)) { in ipmb_read()87 spin_unlock_irq(&ipmb_dev->lock); in ipmb_read()92 ret = wait_event_interruptible(ipmb_dev->wait_queue, in ipmb_read()93 !list_empty(&ipmb_dev->request_queue)); in ipmb_read()97 spin_lock_irq(&ipmb_dev->lock); in ipmb_read()[all …]