/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_link_encoder.c | 125 struct bp_transmitter_control *cntl) in link_transmitter_control() argument 130 result = bp->funcs->transmitter_control(bp, cntl); in link_transmitter_control() 964 struct bp_transmitter_control cntl = { 0 }; in dce110_link_encoder_hw_init() local 967 cntl.action = TRANSMITTER_CONTROL_INIT; in dce110_link_encoder_hw_init() 968 cntl.engine_id = ENGINE_ID_UNKNOWN; in dce110_link_encoder_hw_init() 969 cntl.transmitter = enc110->base.transmitter; in dce110_link_encoder_hw_init() 970 cntl.connector_obj_id = enc110->base.connector; in dce110_link_encoder_hw_init() 971 cntl.lanes_number = LANE_COUNT_FOUR; in dce110_link_encoder_hw_init() 972 cntl.coherent = false; in dce110_link_encoder_hw_init() 973 cntl.hpd_sel = enc110->base.hpd_source; in dce110_link_encoder_hw_init() [all …]
|
D | dce_stream_encoder.c | 540 struct bp_encoder_control cntl = {0}; in dce110_stream_encoder_hdmi_set_stream_attribute() local 542 cntl.action = ENCODER_CONTROL_SETUP; in dce110_stream_encoder_hdmi_set_stream_attribute() 543 cntl.engine_id = enc110->base.id; in dce110_stream_encoder_hdmi_set_stream_attribute() 544 cntl.signal = SIGNAL_TYPE_HDMI_TYPE_A; in dce110_stream_encoder_hdmi_set_stream_attribute() 545 cntl.enable_dp_audio = enable_audio; in dce110_stream_encoder_hdmi_set_stream_attribute() 546 cntl.pixel_clock = actual_pix_clk_khz; in dce110_stream_encoder_hdmi_set_stream_attribute() 547 cntl.lanes_number = LANE_COUNT_FOUR; in dce110_stream_encoder_hdmi_set_stream_attribute() 548 cntl.color_depth = crtc_timing->display_color_depth; in dce110_stream_encoder_hdmi_set_stream_attribute() 551 enc110->base.bp, &cntl) != BP_RESULT_OK) in dce110_stream_encoder_hdmi_set_stream_attribute() 656 struct bp_encoder_control cntl = {0}; in dce110_stream_encoder_dvi_set_stream_attribute() local [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/ |
D | command_table.c | 106 struct bp_encoder_control *cntl); 110 struct bp_encoder_control *cntl); 114 struct bp_encoder_control *cntl); 143 struct bp_encoder_control *cntl); 146 struct bp_encoder_control *cntl); 149 struct bp_encoder_control *cntl); 170 struct bp_encoder_control *cntl) in encoder_control_dig_v1() argument 175 if (cntl != NULL) in encoder_control_dig_v1() 176 switch (cntl->engine_id) { in encoder_control_dig_v1() 180 cmd_tbl->encoder_control_dig1(bp, cntl); in encoder_control_dig_v1() [all …]
|
D | command_table2.c | 88 struct bp_encoder_control *cntl); 92 struct bp_encoder_control *cntl); 133 struct bp_encoder_control *cntl) in encoder_control_digx_v1_5() argument 138 params.digid = (uint8_t)(cntl->engine_id); in encoder_control_digx_v1_5() 139 params.action = bp->cmd_helper->encoder_action_to_atom(cntl->action); in encoder_control_digx_v1_5() 141 params.pclk_10khz = cntl->pixel_clock / 10; in encoder_control_digx_v1_5() 144 cntl->signal, in encoder_control_digx_v1_5() 145 cntl->enable_dp_audio)); in encoder_control_digx_v1_5() 146 params.lanenum = (uint8_t)(cntl->lanes_number); in encoder_control_digx_v1_5() 148 switch (cntl->color_depth) { in encoder_control_digx_v1_5() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_link_encoder.c | 96 struct bp_transmitter_control *cntl) in link_transmitter_control() argument 101 result = bp->funcs->transmitter_control(bp, cntl); in link_transmitter_control() 833 struct bp_transmitter_control cntl = { 0 }; in dcn10_link_encoder_hw_init() local 836 cntl.action = TRANSMITTER_CONTROL_INIT; in dcn10_link_encoder_hw_init() 837 cntl.engine_id = ENGINE_ID_UNKNOWN; in dcn10_link_encoder_hw_init() 838 cntl.transmitter = enc10->base.transmitter; in dcn10_link_encoder_hw_init() 839 cntl.connector_obj_id = enc10->base.connector; in dcn10_link_encoder_hw_init() 840 cntl.lanes_number = LANE_COUNT_FOUR; in dcn10_link_encoder_hw_init() 841 cntl.coherent = false; in dcn10_link_encoder_hw_init() 842 cntl.hpd_sel = enc10->base.hpd_source; in dcn10_link_encoder_hw_init() [all …]
|
D | dcn10_stream_encoder.c | 488 struct bp_encoder_control cntl = {0}; in enc1_stream_encoder_hdmi_set_stream_attribute() local 490 cntl.action = ENCODER_CONTROL_SETUP; in enc1_stream_encoder_hdmi_set_stream_attribute() 491 cntl.engine_id = enc1->base.id; in enc1_stream_encoder_hdmi_set_stream_attribute() 492 cntl.signal = SIGNAL_TYPE_HDMI_TYPE_A; in enc1_stream_encoder_hdmi_set_stream_attribute() 493 cntl.enable_dp_audio = enable_audio; in enc1_stream_encoder_hdmi_set_stream_attribute() 494 cntl.pixel_clock = actual_pix_clk_khz; in enc1_stream_encoder_hdmi_set_stream_attribute() 495 cntl.lanes_number = LANE_COUNT_FOUR; in enc1_stream_encoder_hdmi_set_stream_attribute() 498 enc1->base.bp, &cntl) != BP_RESULT_OK) in enc1_stream_encoder_hdmi_set_stream_attribute() 607 struct bp_encoder_control cntl = {0}; in enc1_stream_encoder_dvi_set_stream_attribute() local 609 cntl.action = ENCODER_CONTROL_SETUP; in enc1_stream_encoder_dvi_set_stream_attribute() [all …]
|
/linux-6.1.9/drivers/gpu/drm/pl111/ |
D | pl111_display.c | 132 u32 cntl; in pl111_display_enable() local 243 cntl = CNTL_LCDEN | CNTL_LCDMONO8; in pl111_display_enable() 246 cntl = CNTL_LCDEN | CNTL_LCDTFT | CNTL_LCDVCOMP(1); in pl111_display_enable() 250 cntl |= CNTL_ST_CDWID_24; in pl111_display_enable() 262 cntl |= CNTL_ST_LCDBPP24_PACKED | CNTL_BGR; in pl111_display_enable() 267 cntl |= CNTL_ST_LCDBPP24_PACKED; in pl111_display_enable() 272 cntl |= CNTL_LCDBPP24 | CNTL_BGR; in pl111_display_enable() 274 cntl |= CNTL_LCDBPP24; in pl111_display_enable() 279 cntl |= CNTL_LCDBPP24; in pl111_display_enable() 281 cntl |= CNTL_LCDBPP24 | CNTL_BGR; in pl111_display_enable() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_hpo_dp_link_encoder.c | 488 struct bp_transmitter_control *cntl) in link_transmitter_control() argument 493 result = bp->funcs->transmitter_control(bp, cntl); in link_transmitter_control() 506 struct bp_transmitter_control cntl = { 0 }; in dcn31_hpo_dp_link_enc_enable_dp_output() local 516 cntl.action = TRANSMITTER_CONTROL_ENABLE; in dcn31_hpo_dp_link_enc_enable_dp_output() 517 cntl.engine_id = ENGINE_ID_UNKNOWN; in dcn31_hpo_dp_link_enc_enable_dp_output() 518 cntl.transmitter = enc3->base.transmitter; in dcn31_hpo_dp_link_enc_enable_dp_output() 520 cntl.signal = SIGNAL_TYPE_DISPLAY_PORT_MST; in dcn31_hpo_dp_link_enc_enable_dp_output() 521 cntl.lanes_number = link_settings->lane_count; in dcn31_hpo_dp_link_enc_enable_dp_output() 522 cntl.hpd_sel = enc3->base.hpd_source; in dcn31_hpo_dp_link_enc_enable_dp_output() 523 cntl.pixel_clock = link_settings->link_rate * 1000; in dcn31_hpo_dp_link_enc_enable_dp_output() [all …]
|
/linux-6.1.9/arch/arm/mach-omap1/ |
D | time.c | 65 u32 cntl; /* CNTL_TIMER, R/W */ member 84 writel(readl(&timer->cntl) | MPU_TIMER_AR, &timer->cntl); in omap_mpu_set_autoreset() 91 writel(readl(&timer->cntl) & ~MPU_TIMER_AR, &timer->cntl); in omap_mpu_remove_autoreset() 103 writel(MPU_TIMER_CLOCK_ENABLE, &timer->cntl); in omap_mpu_timer_start() 107 writel(timerflags, &timer->cntl); in omap_mpu_timer_start() 114 writel(readl(&timer->cntl) & ~MPU_TIMER_ST, &timer->cntl); in omap_mpu_timer_stop()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_dio_stream_encoder.c | 71 struct bp_encoder_control cntl = {0}; in enc32_stream_encoder_dvi_set_stream_attribute() local 73 cntl.action = ENCODER_CONTROL_SETUP; in enc32_stream_encoder_dvi_set_stream_attribute() 74 cntl.engine_id = enc1->base.id; in enc32_stream_encoder_dvi_set_stream_attribute() 75 cntl.signal = is_dual_link ? in enc32_stream_encoder_dvi_set_stream_attribute() 77 cntl.enable_dp_audio = false; in enc32_stream_encoder_dvi_set_stream_attribute() 78 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc32_stream_encoder_dvi_set_stream_attribute() 79 cntl.lanes_number = (is_dual_link) ? LANE_COUNT_EIGHT : LANE_COUNT_FOUR; in enc32_stream_encoder_dvi_set_stream_attribute() 82 enc1->base.bp, &cntl) != BP_RESULT_OK) in enc32_stream_encoder_dvi_set_stream_attribute() 112 struct bp_encoder_control cntl = {0}; in enc32_stream_encoder_hdmi_set_stream_attribute() local 114 cntl.action = ENCODER_CONTROL_SETUP; in enc32_stream_encoder_hdmi_set_stream_attribute() [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_cursor.c | 185 u32 cntl = 0; in i845_cursor_ctl_crtc() local 188 cntl |= CURSOR_PIPE_GAMMA_ENABLE; in i845_cursor_ctl_crtc() 190 return cntl; in i845_cursor_ctl_crtc() 262 u32 cntl = 0, base = 0, pos = 0, size = 0; in i845_cursor_update_arm() local 268 cntl = plane_state->ctl | in i845_cursor_update_arm() 282 plane->cursor.cntl != cntl) { in i845_cursor_update_arm() 287 intel_de_write_fw(dev_priv, CURCNTR(PIPE_A), cntl); in i845_cursor_update_arm() 291 plane->cursor.cntl = cntl; in i845_cursor_update_arm() 337 u32 cntl = 0; in i9xx_cursor_ctl_crtc() local 340 return cntl; in i9xx_cursor_ctl_crtc() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_dio_stream_encoder.c | 104 struct bp_encoder_control cntl = {0}; in enc314_stream_encoder_dvi_set_stream_attribute() local 106 cntl.action = ENCODER_CONTROL_SETUP; in enc314_stream_encoder_dvi_set_stream_attribute() 107 cntl.engine_id = enc1->base.id; in enc314_stream_encoder_dvi_set_stream_attribute() 108 cntl.signal = is_dual_link ? in enc314_stream_encoder_dvi_set_stream_attribute() 110 cntl.enable_dp_audio = false; in enc314_stream_encoder_dvi_set_stream_attribute() 111 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc314_stream_encoder_dvi_set_stream_attribute() 112 cntl.lanes_number = (is_dual_link) ? LANE_COUNT_EIGHT : LANE_COUNT_FOUR; in enc314_stream_encoder_dvi_set_stream_attribute() 115 enc1->base.bp, &cntl) != BP_RESULT_OK) in enc314_stream_encoder_dvi_set_stream_attribute() 145 struct bp_encoder_control cntl = {0}; in enc314_stream_encoder_hdmi_set_stream_attribute() local 147 cntl.action = ENCODER_CONTROL_SETUP; in enc314_stream_encoder_hdmi_set_stream_attribute() [all …]
|
/linux-6.1.9/drivers/spi/ |
D | spi-bcm2835aux.c | 92 u32 cntl[2]; member 249 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1] | in bcm2835aux_spi_interrupt() 255 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1]); in bcm2835aux_spi_interrupt() 269 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1] | in __bcm2835aux_spi_transfer_one_irq() 287 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1]); in bcm2835aux_spi_transfer_one_irq() 288 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL0, bs->cntl[0]); in bcm2835aux_spi_transfer_one_irq() 313 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1]); in bcm2835aux_spi_transfer_one_poll() 314 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL0, bs->cntl[0]); in bcm2835aux_spi_transfer_one_poll() 372 bs->cntl[0] &= ~(BCM2835_AUX_SPI_CNTL0_SPEED); in bcm2835aux_spi_transfer_one() 374 bs->cntl[0] |= speed << BCM2835_AUX_SPI_CNTL0_SPEED_SHIFT; in bcm2835aux_spi_transfer_one() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_hw_sequencer.c | 79 enum bp_pipe_control_action cntl; in dce100_enable_display_power_gating() local 83 cntl = ASIC_PIPE_INIT; in dce100_enable_display_power_gating() 85 cntl = ASIC_PIPE_ENABLE; in dce100_enable_display_power_gating() 87 cntl = ASIC_PIPE_DISABLE; in dce100_enable_display_power_gating() 92 dcb, controller_id + 1, cntl); in dce100_enable_display_power_gating()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_hw_sequencer.c | 120 enum bp_pipe_control_action cntl; in dce112_enable_display_power_gating() local 127 cntl = ASIC_PIPE_INIT; in dce112_enable_display_power_gating() 129 cntl = ASIC_PIPE_ENABLE; in dce112_enable_display_power_gating() 131 cntl = ASIC_PIPE_DISABLE; in dce112_enable_display_power_gating() 136 dcb, controller_id + 1, cntl); in dce112_enable_display_power_gating()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dio_stream_encoder.c | 499 struct bp_encoder_control cntl = {0}; in enc3_stream_encoder_dvi_set_stream_attribute() local 501 cntl.action = ENCODER_CONTROL_SETUP; in enc3_stream_encoder_dvi_set_stream_attribute() 502 cntl.engine_id = enc1->base.id; in enc3_stream_encoder_dvi_set_stream_attribute() 503 cntl.signal = is_dual_link ? in enc3_stream_encoder_dvi_set_stream_attribute() 505 cntl.enable_dp_audio = false; in enc3_stream_encoder_dvi_set_stream_attribute() 506 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc3_stream_encoder_dvi_set_stream_attribute() 507 cntl.lanes_number = (is_dual_link) ? LANE_COUNT_EIGHT : LANE_COUNT_FOUR; in enc3_stream_encoder_dvi_set_stream_attribute() 510 enc1->base.bp, &cntl) != BP_RESULT_OK) in enc3_stream_encoder_dvi_set_stream_attribute() 546 struct bp_encoder_control cntl = {0}; in enc3_stream_encoder_hdmi_set_stream_attribute() local 548 cntl.action = ENCODER_CONTROL_SETUP; in enc3_stream_encoder_hdmi_set_stream_attribute() [all …]
|
/linux-6.1.9/include/linux/amba/ |
D | clcd.h | 49 u32 cntl; member 69 u32 cntl; member 158 if (fb->panel->cntl & CNTL_LCDDUAL) in clcdfb_decode() 171 if (fb->panel->cntl & CNTL_LCDTFT) /* TFT */ in clcdfb_decode() 175 else if (fb->panel->cntl & CNTL_LCDMONO8) /* STN monochrome, 8bit */ in clcdfb_decode() 184 val = fb->panel->cntl; in clcdfb_decode() 238 regs->cntl = val; in clcdfb_decode()
|
/linux-6.1.9/drivers/tty/serial/8250/ |
D | 8250_bcm2835aux.c | 45 u32 cntl; member 57 data->cntl &= ~BCM2835_AUX_UART_CNTL_RXEN; in bcm2835aux_rs485_start_tx() 58 serial_out(up, BCM2835_AUX_UART_CNTL, data->cntl); in bcm2835aux_rs485_start_tx() 81 data->cntl |= BCM2835_AUX_UART_CNTL_RXEN; in bcm2835aux_rs485_stop_tx() 82 serial_out(up, BCM2835_AUX_UART_CNTL, data->cntl); in bcm2835aux_rs485_stop_tx() 116 data->cntl = BCM2835_AUX_UART_CNTL_RXEN | BCM2835_AUX_UART_CNTL_TXEN; in bcm2835aux_serial_probe()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_hw_sequencer.c | 159 enum bp_pipe_control_action cntl; in dce120_enable_display_power_gating() 166 cntl = ASIC_PIPE_INIT; in dce120_enable_display_power_gating() 168 cntl = ASIC_PIPE_ENABLE; in dce120_enable_display_power_gating() 170 cntl = ASIC_PIPE_DISABLE; in dce120_enable_display_power_gating() 175 dcb, controller_id + 1, cntl); in dce120_enable_display_power_gating()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-ibm_iic.c | 89 in_8(&iic->cntl), in_8(&iic->mdcntl), in_8(&iic->sts), in dump_iic_regs() 162 out_8(&iic->cntl, 0); in iic_dev_init() 382 out_8(&iic->cntl, CNTL_HMT); in iic_abort_xfer() 465 u8 cntl = (in_8(&iic->cntl) & CNTL_AMD) | CNTL_PT; in iic_xfer_bytes() local 467 cntl |= CNTL_RW; in iic_xfer_bytes() 472 u8 cmd = cntl | ((count - 1) << CNTL_TCT_SHIFT); in iic_xfer_bytes() 474 if (!(cntl & CNTL_RW)) in iic_xfer_bytes() 486 out_8(&iic->cntl, cmd); in iic_xfer_bytes() 505 if (cntl & CNTL_RW) in iic_xfer_bytes() 525 out_8(&iic->cntl, CNTL_AMD); in iic_address() [all …]
|
/linux-6.1.9/drivers/video/fbdev/ |
D | amba-clcd.c | 83 static void clcdfb_enable(struct clcd_fb *fb, u32 cntl) in clcdfb_enable() argument 96 cntl |= CNTL_LCDEN; in clcdfb_enable() 97 writel(cntl, fb->regs + fb->off_cntl); in clcdfb_enable() 104 cntl |= CNTL_LCDPWR; in clcdfb_enable() 105 writel(cntl, fb->regs + fb->off_cntl); in clcdfb_enable() 132 caps = fb->panel->cntl & CNTL_BGR ? in clcdfb_set_bitfields() 139 if (!(fb->panel->cntl & CNTL_LCDTFT)) in clcdfb_set_bitfields() 305 fb->clcd_cntl = regs.cntl; in clcdfb_set_par() 307 clcdfb_enable(fb, regs.cntl); in clcdfb_set_par() 657 fb->panel->cntl |= CNTL_LCDTFT | CNTL_LCDVCOMP(1); in clcdfb_of_init_tft_panel() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 210 enum bp_pipe_control_action cntl; in dce110_enable_display_power_gating() local 218 cntl = ASIC_PIPE_INIT; in dce110_enable_display_power_gating() 220 cntl = ASIC_PIPE_ENABLE; in dce110_enable_display_power_gating() 222 cntl = ASIC_PIPE_DISABLE; in dce110_enable_display_power_gating() 230 dcb, controller_id + 1, cntl); in dce110_enable_display_power_gating() 705 struct bp_transmitter_control *cntl) in link_transmitter_control() argument 709 result = bios->funcs->transmitter_control(bios, cntl); in link_transmitter_control() 799 struct bp_transmitter_control cntl = { 0 }; in dce110_edp_power_control() local 876 cntl.action = power_up ? in dce110_edp_power_control() 879 cntl.transmitter = link->link_enc->transmitter; in dce110_edp_power_control() [all …]
|
/linux-6.1.9/arch/arm/mach-footbridge/ |
D | dc21285.c | 182 unsigned int cntl; in dc21285_serr_irq() local 188 cntl = *CSR_SA110_CNTL & 0xffffdf07; in dc21285_serr_irq() 189 *CSR_SA110_CNTL = cntl | SA110_CNTL_RXSERR; in dc21285_serr_irq()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_bios_types.h | 96 struct bp_encoder_control *cntl); 99 struct bp_transmitter_control *cntl);
|
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/ |
D | context.c | 126 if (ctx->cntl) in spu_unmap_mappings() 127 unmap_mapping_range(ctx->cntl, 0, SPUFS_CNTL_MAP_SIZE, 1); in spu_unmap_mappings()
|