Home
last modified time | relevance | path

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

/include/linux/
Dbacklight.h124 static inline int backlight_update_status(struct backlight_device *bd) in backlight_update_status() argument
128 mutex_lock(&bd->update_lock); in backlight_update_status()
129 if (bd->ops && bd->ops->update_status) in backlight_update_status()
130 ret = bd->ops->update_status(bd); in backlight_update_status()
131 mutex_unlock(&bd->update_lock); in backlight_update_status()
140 static inline int backlight_enable(struct backlight_device *bd) in backlight_enable() argument
142 if (!bd) in backlight_enable()
145 bd->props.power = FB_BLANK_UNBLANK; in backlight_enable()
146 bd->props.fb_blank = FB_BLANK_UNBLANK; in backlight_enable()
147 bd->props.state &= ~BL_CORE_FBBLANK; in backlight_enable()
[all …]
/include/linux/fsl/bestcomm/
Dbestcomm.h52 struct bcom_bd *bd; member
152 return ((void *)tsk->bd) + (index * tsk->bd_size); in bcom_get_bd()
162 struct bcom_bd *bd; in bcom_buffer_done() local
166 bd = bcom_get_bd(tsk, tsk->outdex); in bcom_buffer_done()
167 return !(bd->status & BCOM_BD_READY); in bcom_buffer_done()
179 struct bcom_bd *bd; in bcom_prepare_next_buffer() local
181 bd = bcom_get_bd(tsk, tsk->index); in bcom_prepare_next_buffer()
182 bd->status = 0; /* cleanup last status */ in bcom_prepare_next_buffer()
183 return bd; in bcom_prepare_next_buffer()
189 struct bcom_bd *bd = bcom_get_bd(tsk, tsk->index); in bcom_submit_next_buffer() local
[all …]