Lines Matching refs:value
202 uint64_t value, unsigned size) in musicpal_lcd_write() argument
208 s->irqctrl = value; in musicpal_lcd_write()
212 if (value == MP_LCD_SPI_DATA || value == MP_LCD_SPI_CMD) { in musicpal_lcd_write()
213 s->mode = value; in musicpal_lcd_write()
220 if (value >= MP_LCD_INST_SETPAGE0 && value <= MP_LCD_INST_SETPAGE7) { in musicpal_lcd_write()
221 s->page = value - MP_LCD_INST_SETPAGE0; in musicpal_lcd_write()
228 if (value >= MP_LCD_INST_SETPAGE0 && in musicpal_lcd_write()
229 value <= MP_LCD_INST_SETPAGE7) { in musicpal_lcd_write()
230 s->page = value - MP_LCD_INST_SETPAGE0; in musicpal_lcd_write()
234 s->video_ram[s->page*128 + s->page_off] = value; in musicpal_lcd_write()
356 uint64_t value, unsigned size) in mv88w8618_pic_write() argument
362 s->enabled |= value; in mv88w8618_pic_write()
366 s->enabled &= ~value; in mv88w8618_pic_write()
367 s->level &= ~value; in mv88w8618_pic_write()
491 uint64_t value, unsigned size) in mv88w8618_pit_write() argument
500 t->limit = value; in mv88w8618_pit_write()
514 if (value & 0xf && t->limit > 0) { in mv88w8618_pit_write()
522 value >>= 4; in mv88w8618_pit_write()
527 if (value == MP_BOARD_RESET_MAGIC) { in mv88w8618_pit_write()
652 uint64_t value, unsigned size) in mv88w8618_flashcfg_write() argument
658 s->cfgr0 = value; in mv88w8618_flashcfg_write()
731 uint64_t value, unsigned size) in musicpal_misc_write() argument
779 uint64_t value, unsigned size) in mv88w8618_wlan_write() argument
941 uint64_t value, unsigned size) in musicpal_gpio_write() argument
947 (value & MP_OE_LCD_BRIGHTNESS); in musicpal_gpio_write()
952 s->out_state = (s->out_state & 0xFFFF0000) | (value & 0xFFFF); in musicpal_gpio_write()
955 s->out_state = (s->out_state & 0xFFFF) | (value << 16); in musicpal_gpio_write()
964 s->ier = (s->ier & 0xFFFF0000) | (value & 0xFFFF); in musicpal_gpio_write()
967 s->ier = (s->ier & 0xFFFF) | (value << 16); in musicpal_gpio_write()
971 s->imr = (s->imr & 0xFFFF0000) | (value & 0xFFFF); in musicpal_gpio_write()
974 s->imr = (s->imr & 0xFFFF) | (value << 16); in musicpal_gpio_write()