Home
last modified time | relevance | path

Searched refs:cntl (Results 1 – 25 of 44) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c128 struct bp_transmitter_control *cntl) in link_transmitter_control() argument
133 result = bp->funcs->transmitter_control(bp, cntl); in link_transmitter_control()
966 struct bp_transmitter_control cntl = { 0 }; in dce110_link_encoder_hw_init() local
969 cntl.action = TRANSMITTER_CONTROL_INIT; in dce110_link_encoder_hw_init()
970 cntl.engine_id = ENGINE_ID_UNKNOWN; in dce110_link_encoder_hw_init()
971 cntl.transmitter = enc110->base.transmitter; in dce110_link_encoder_hw_init()
972 cntl.connector_obj_id = enc110->base.connector; in dce110_link_encoder_hw_init()
973 cntl.lanes_number = LANE_COUNT_FOUR; in dce110_link_encoder_hw_init()
974 cntl.coherent = false; in dce110_link_encoder_hw_init()
975 cntl.hpd_sel = enc110->base.hpd_source; in dce110_link_encoder_hw_init()
[all …]
Ddce_stream_encoder.c559 struct bp_encoder_control cntl = {0}; in dce110_stream_encoder_hdmi_set_stream_attribute() local
561 cntl.action = ENCODER_CONTROL_SETUP; in dce110_stream_encoder_hdmi_set_stream_attribute()
562 cntl.engine_id = enc110->base.id; in dce110_stream_encoder_hdmi_set_stream_attribute()
563 cntl.signal = SIGNAL_TYPE_HDMI_TYPE_A; in dce110_stream_encoder_hdmi_set_stream_attribute()
564 cntl.enable_dp_audio = enable_audio; in dce110_stream_encoder_hdmi_set_stream_attribute()
565 cntl.pixel_clock = actual_pix_clk_khz; in dce110_stream_encoder_hdmi_set_stream_attribute()
566 cntl.lanes_number = LANE_COUNT_FOUR; in dce110_stream_encoder_hdmi_set_stream_attribute()
567 cntl.color_depth = crtc_timing->display_color_depth; in dce110_stream_encoder_hdmi_set_stream_attribute()
570 enc110->base.bp, &cntl) != BP_RESULT_OK) in dce110_stream_encoder_hdmi_set_stream_attribute()
673 struct bp_encoder_control cntl = {0}; in dce110_stream_encoder_dvi_set_stream_attribute() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table.c106 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 …]
Dcommand_table2.c90 struct bp_encoder_control *cntl);
94 struct bp_encoder_control *cntl);
135 struct bp_encoder_control *cntl) in encoder_control_digx_v1_5() argument
140 params.digid = (uint8_t)(cntl->engine_id); in encoder_control_digx_v1_5()
141 params.action = bp->cmd_helper->encoder_action_to_atom(cntl->action); in encoder_control_digx_v1_5()
143 params.pclk_10khz = cntl->pixel_clock / 10; in encoder_control_digx_v1_5()
146 cntl->signal, in encoder_control_digx_v1_5()
147 cntl->enable_dp_audio)); in encoder_control_digx_v1_5()
148 params.lanenum = (uint8_t)(cntl->lanes_number); in encoder_control_digx_v1_5()
150 switch (cntl->color_depth) { in encoder_control_digx_v1_5()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_link_encoder.c99 struct bp_transmitter_control *cntl) in link_transmitter_control() argument
104 result = bp->funcs->transmitter_control(bp, cntl); in link_transmitter_control()
835 struct bp_transmitter_control cntl = { 0 }; in dcn10_link_encoder_hw_init() local
838 cntl.action = TRANSMITTER_CONTROL_INIT; in dcn10_link_encoder_hw_init()
839 cntl.engine_id = ENGINE_ID_UNKNOWN; in dcn10_link_encoder_hw_init()
840 cntl.transmitter = enc10->base.transmitter; in dcn10_link_encoder_hw_init()
841 cntl.connector_obj_id = enc10->base.connector; in dcn10_link_encoder_hw_init()
842 cntl.lanes_number = LANE_COUNT_FOUR; in dcn10_link_encoder_hw_init()
843 cntl.coherent = false; in dcn10_link_encoder_hw_init()
844 cntl.hpd_sel = enc10->base.hpd_source; in dcn10_link_encoder_hw_init()
[all …]
Ddcn10_stream_encoder.c497 struct bp_encoder_control cntl = {0}; in enc1_stream_encoder_hdmi_set_stream_attribute() local
499 cntl.action = ENCODER_CONTROL_SETUP; in enc1_stream_encoder_hdmi_set_stream_attribute()
500 cntl.engine_id = enc1->base.id; in enc1_stream_encoder_hdmi_set_stream_attribute()
501 cntl.signal = SIGNAL_TYPE_HDMI_TYPE_A; in enc1_stream_encoder_hdmi_set_stream_attribute()
502 cntl.enable_dp_audio = enable_audio; in enc1_stream_encoder_hdmi_set_stream_attribute()
503 cntl.pixel_clock = actual_pix_clk_khz; in enc1_stream_encoder_hdmi_set_stream_attribute()
504 cntl.lanes_number = LANE_COUNT_FOUR; in enc1_stream_encoder_hdmi_set_stream_attribute()
507 enc1->base.bp, &cntl) != BP_RESULT_OK) in enc1_stream_encoder_hdmi_set_stream_attribute()
603 struct bp_encoder_control cntl = {0}; in enc1_stream_encoder_dvi_set_stream_attribute() local
605 cntl.action = ENCODER_CONTROL_SETUP; in enc1_stream_encoder_dvi_set_stream_attribute()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/pl111/
Dpl111_display.c131 u32 cntl; in pl111_display_enable() local
242 cntl = CNTL_LCDEN | CNTL_LCDMONO8; in pl111_display_enable()
245 cntl = CNTL_LCDEN | CNTL_LCDTFT | CNTL_LCDVCOMP(1); in pl111_display_enable()
249 cntl |= CNTL_ST_CDWID_24; in pl111_display_enable()
261 cntl |= CNTL_ST_LCDBPP24_PACKED | CNTL_BGR; in pl111_display_enable()
266 cntl |= CNTL_ST_LCDBPP24_PACKED; in pl111_display_enable()
271 cntl |= CNTL_LCDBPP24 | CNTL_BGR; in pl111_display_enable()
273 cntl |= CNTL_LCDBPP24; in pl111_display_enable()
278 cntl |= CNTL_LCDBPP24; in pl111_display_enable()
280 cntl |= CNTL_LCDBPP24 | CNTL_BGR; in pl111_display_enable()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dtime.c63 u32 cntl; /* CNTL_TIMER, R/W */ member
82 writel(readl(&timer->cntl) | MPU_TIMER_AR, &timer->cntl); in omap_mpu_set_autoreset()
89 writel(readl(&timer->cntl) & ~MPU_TIMER_AR, &timer->cntl); in omap_mpu_remove_autoreset()
101 writel(MPU_TIMER_CLOCK_ENABLE, &timer->cntl); in omap_mpu_timer_start()
105 writel(timerflags, &timer->cntl); in omap_mpu_timer_start()
112 writel(readl(&timer->cntl) & ~MPU_TIMER_ST, &timer->cntl); in omap_mpu_timer_stop()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-bcm2835aux.c93 u32 cntl[2]; member
250 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1] | in bcm2835aux_spi_interrupt()
256 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1]); in bcm2835aux_spi_interrupt()
270 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1] | in __bcm2835aux_spi_transfer_one_irq()
288 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1]); in bcm2835aux_spi_transfer_one_irq()
289 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL0, bs->cntl[0]); in bcm2835aux_spi_transfer_one_irq()
314 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1]); in bcm2835aux_spi_transfer_one_poll()
315 bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL0, bs->cntl[0]); in bcm2835aux_spi_transfer_one_poll()
373 bs->cntl[0] &= ~(BCM2835_AUX_SPI_CNTL0_SPEED); in bcm2835aux_spi_transfer_one()
375 bs->cntl[0] |= speed << BCM2835_AUX_SPI_CNTL0_SPEED_SHIFT; in bcm2835aux_spi_transfer_one()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_dbgdev.c233 union TCP_WATCH_CNTL_BITS *cntl, in dbgdev_address_watch_set_registers() argument
241 cntl->u32All = 0; in dbgdev_address_watch_set_registers()
244 cntl->bitfields.mask = in dbgdev_address_watch_set_registers()
248 cntl->bitfields.mask = ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK; in dbgdev_address_watch_set_registers()
257 cntl->bitfields.mode = adw_info->watch_mode[index]; in dbgdev_address_watch_set_registers()
258 cntl->bitfields.vmid = (uint32_t) vmid; in dbgdev_address_watch_set_registers()
260 cntl->u32All |= ADDRESS_WATCH_REG_CNTL_ATC_BIT; in dbgdev_address_watch_set_registers()
262 pr_debug("\t\t%20s %08x\n", "set reg mask :", cntl->bitfields.mask); in dbgdev_address_watch_set_registers()
274 union TCP_WATCH_CNTL_BITS cntl; in dbgdev_address_watch_nodiq() local
288 cntl.u32All = 0; in dbgdev_address_watch_nodiq()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_hw_sequencer.c79 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_hw_sequencer.c120 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c495 struct bp_encoder_control cntl = {0}; in enc3_stream_encoder_dvi_set_stream_attribute() local
497 cntl.action = ENCODER_CONTROL_SETUP; in enc3_stream_encoder_dvi_set_stream_attribute()
498 cntl.engine_id = enc1->base.id; in enc3_stream_encoder_dvi_set_stream_attribute()
499 cntl.signal = is_dual_link ? in enc3_stream_encoder_dvi_set_stream_attribute()
501 cntl.enable_dp_audio = false; in enc3_stream_encoder_dvi_set_stream_attribute()
502 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc3_stream_encoder_dvi_set_stream_attribute()
503 cntl.lanes_number = (is_dual_link) ? LANE_COUNT_EIGHT : LANE_COUNT_FOUR; in enc3_stream_encoder_dvi_set_stream_attribute()
506 enc1->base.bp, &cntl) != BP_RESULT_OK) in enc3_stream_encoder_dvi_set_stream_attribute()
542 struct bp_encoder_control cntl = {0}; in enc3_stream_encoder_hdmi_set_stream_attribute() local
544 cntl.action = ENCODER_CONTROL_SETUP; in enc3_stream_encoder_hdmi_set_stream_attribute()
[all …]
/kernel/linux/linux-5.10/include/linux/amba/
Dclcd.h49 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()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_bcm2835aux.c44 u32 cntl; member
52 data->cntl &= ~BCM2835_AUX_UART_CNTL_RXEN; in bcm2835aux_rs485_start_tx()
53 serial_out(up, BCM2835_AUX_UART_CNTL, data->cntl); in bcm2835aux_rs485_start_tx()
76 data->cntl |= BCM2835_AUX_UART_CNTL_RXEN; in bcm2835aux_rs485_stop_tx()
77 serial_out(up, BCM2835_AUX_UART_CNTL, data->cntl); in bcm2835aux_rs485_stop_tx()
107 data->cntl = BCM2835_AUX_UART_CNTL_RXEN | BCM2835_AUX_UART_CNTL_TXEN; in bcm2835aux_serial_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_hw_sequencer.c159 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()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-ibm_iic.c89 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v7.c557 union TCP_WATCH_CNTL_BITS cntl; in kgd_address_watch_disable() local
560 cntl.u32All = 0; in kgd_address_watch_disable()
562 cntl.bitfields.valid = 0; in kgd_address_watch_disable()
563 cntl.bitfields.mask = ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK; in kgd_address_watch_disable()
564 cntl.bitfields.atc = 1; in kgd_address_watch_disable()
569 ADDRESS_WATCH_REG_CNTL], cntl.u32All); in kgd_address_watch_disable()
581 union TCP_WATCH_CNTL_BITS cntl; in kgd_address_watch_execute() local
583 cntl.u32All = cntl_val; in kgd_address_watch_execute()
586 cntl.bitfields.valid = 0; in kgd_address_watch_execute()
588 ADDRESS_WATCH_REG_CNTL], cntl.u32All); in kgd_address_watch_execute()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Damba-clcd.c96 static void clcdfb_enable(struct clcd_fb *fb, u32 cntl) in clcdfb_enable() argument
109 cntl |= CNTL_LCDEN; in clcdfb_enable()
110 writel(cntl, fb->regs + fb->off_cntl); in clcdfb_enable()
117 cntl |= CNTL_LCDPWR; in clcdfb_enable()
118 writel(cntl, fb->regs + fb->off_cntl); in clcdfb_enable()
145 caps = fb->panel->cntl & CNTL_BGR ? in clcdfb_set_bitfields()
152 if (!(fb->panel->cntl & CNTL_LCDTFT)) in clcdfb_set_bitfields()
318 fb->clcd_cntl = regs.cntl; in clcdfb_set_par()
320 clcdfb_enable(fb, regs.cntl); in clcdfb_set_par()
670 fb->panel->cntl |= CNTL_LCDTFT | CNTL_LCDVCOMP(1); in clcdfb_of_init_tft_panel()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c204 enum bp_pipe_control_action cntl; in dce110_enable_display_power_gating() local
212 cntl = ASIC_PIPE_INIT; in dce110_enable_display_power_gating()
214 cntl = ASIC_PIPE_ENABLE; in dce110_enable_display_power_gating()
216 cntl = ASIC_PIPE_DISABLE; in dce110_enable_display_power_gating()
224 dcb, controller_id + 1, cntl); in dce110_enable_display_power_gating()
703 struct bp_transmitter_control *cntl) in link_transmitter_control() argument
707 result = bios->funcs->transmitter_control(bios, cntl); in link_transmitter_control()
798 struct bp_transmitter_control cntl = { 0 }; in dce110_edp_power_control() local
875 cntl.action = power_up ? in dce110_edp_power_control()
878 cntl.transmitter = link->link_enc->transmitter; in dce110_edp_power_control()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-footbridge/
Ddc21285.c181 unsigned int cntl; in dc21285_serr_irq() local
187 cntl = *CSR_SA110_CNTL & 0xffffdf07; in dc21285_serr_irq()
188 *CSR_SA110_CNTL = cntl | SA110_CNTL_RXSERR; in dc21285_serr_irq()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_bios_types.h96 struct bp_encoder_control *cntl);
99 struct bp_transmitter_control *cntl);
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dcontext.c126 if (ctx->cntl) in spu_unmap_mappings()
127 unmap_mapping_range(ctx->cntl, 0, SPUFS_CNTL_MAP_SIZE, 1); in spu_unmap_mappings()
/kernel/linux/linux-5.10/arch/arm/mach-omap1/include/mach/
Dmtd-xip.h22 u32 cntl; /* CNTL_TIMER, R/W */ member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dcommon.h65 u8 cntl; member

12