Lines Matching refs:io_write
388 static inline int io_write(struct v4l2_subdev *sd, u8 reg, u8 val) in io_write() function
398 return io_write(sd, reg, (io_read(sd, reg) & ~mask) | val); in io_write_clr_set()
936 io_write(sd, 0x00, predef_vid_timings[i].vid_std); /* video std */ in find_and_set_predefined_video_timings()
937 io_write(sd, 0x01, (predef_vid_timings[i].v_freq << 4) + in find_and_set_predefined_video_timings()
955 io_write(sd, 0x16, 0x43); in configure_predefined_video_timings()
956 io_write(sd, 0x17, 0x5a); in configure_predefined_video_timings()
1014 io_write(sd, 0x00, 0x07); /* video std */ in configure_custom_video_timings()
1015 io_write(sd, 0x01, 0x02); /* prim mode */ in configure_custom_video_timings()
1040 io_write(sd, 0x00, 0x02); /* video std */ in configure_custom_video_timings()
1041 io_write(sd, 0x01, 0x06); /* prim mode */ in configure_custom_video_timings()
1757 io_write(sd, 0x15, 0xb0); /* Disable Tristate of Pins (no audio) */ in enable_input()
1761 io_write(sd, 0x15, 0xa0); /* Disable Tristate of Pins */ in enable_input()
1775 io_write(sd, 0x15, 0xbe); /* Tristate all outputs from video core */ in disable_input()
1910 io_write(sd, 0x03, state->format->op_format_sel | in adv76xx_setup_format()
2075 io_write(sd, info->cec_irq_status + 1, cec_irq); in adv76xx_cec_isr()
2216 io_write(sd, 0x44, irq_reg_0x43); in adv76xx_isr()
2218 io_write(sd, 0x71, irq_reg_0x70); in adv76xx_isr()
2220 io_write(sd, 0x6c, irq_reg_0x6b); in adv76xx_isr()
2842 io_write(sd, 0x0c, 0x42); /* Power up part and power down VDP */ in adv76xx_core_init()
2843 io_write(sd, 0x0b, 0x44); /* Power down ESDP block */ in adv76xx_core_init()
2868 io_write(sd, 0x06, 0xa0 | pdata->inv_vs_pol << 2 | in adv76xx_core_init()
2872 io_write(sd, 0x14, 0x40 | pdata->dr_str_data << 4 | in adv76xx_core_init()
2899 io_write(sd, 0x40, 0xc0 | pdata->int1_config); /* Configure INT1 */ in adv76xx_core_init()
2900 io_write(sd, 0x46, 0x98); /* Enable SSPD, STDI and CP unlocked interrupts */ in adv76xx_core_init()
2901 …io_write(sd, 0x6e, info->fmt_change_digital_mask); /* Enable V_LOCKED and DE_REGEN_LCK interrupts … in adv76xx_core_init()
2902 io_write(sd, 0x73, info->cable_det_mask); /* Enable cable detection (+5v) interrupts */ in adv76xx_core_init()
2910 io_write(sd, 0x41, 0xd7); /* STDI irq for any change, disable INT2 */ in adv7604_setup_irqs()
2915 io_write(sd, 0x41, 0xd0); /* STDI irq for any change, disable INT2 */ in adv7611_setup_irqs()
2920 io_write(sd, 0x41, 0xd0); /* disable INT2 */ in adv7612_setup_irqs()
2949 io_write(sd, io_reg, new_client->addr << 1); in adv76xx_dummy_client()
3680 io_write(sd, 0x40, 0); in adv76xx_remove()
3681 io_write(sd, 0x41, 0); in adv76xx_remove()
3682 io_write(sd, 0x46, 0); in adv76xx_remove()
3683 io_write(sd, 0x6e, 0); in adv76xx_remove()
3684 io_write(sd, 0x73, 0); in adv76xx_remove()