| /src/sys/dev/ic/ | 
| depca.c | 141 	struct depca_softc *dsc = device_private(device_parent(sc->sc_dev));  local in function:depca_wrcsr 143 	bus_space_write_2(dsc->sc_iot, dsc->sc_ioh, DEPCA_RAP, port);
 144 	bus_space_write_2(dsc->sc_iot, dsc->sc_ioh, DEPCA_RDP, val);
 150 	struct depca_softc *dsc = device_private(device_parent(sc->sc_dev));  local in function:depca_rdcsr
 152 	bus_space_write_2(dsc->sc_iot, dsc->sc_ioh, DEPCA_RAP, port);
 153 	return (bus_space_read_2(dsc->sc_iot, dsc->sc_ioh, DEPCA_RDP))
 241  struct depca_softc *dsc = device_private(parent);  local in function:le_depca_attach
 324  struct depca_softc *dsc = device_private(device_parent(sc->sc_dev));  local in function:depca_copytobuf
 333  struct depca_softc *dsc = device_private(device_parent(sc->sc_dev));  local in function:depca_copyfrombuf
 342  struct depca_softc *dsc = device_private(device_parent(sc->sc_dev));  local in function:depca_zerobuf
 [all...]
 | 
| ne2000.c | 114 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne2000_attach 115 	bus_space_tag_t nict = dsc->sc_regt;
 116 	bus_space_handle_t nich = dsc->sc_regh;
 136 		aprint_error_dev(dsc->sc_dev, "where did the card go?\n");
 175 		dsc->init_card = rtl80x9_init_card;
 176 		dsc->sc_media_init = rtl80x9_media_init;
 177 		dsc->sc_mediachange = rtl80x9_mediachange;
 178 		dsc->sc_mediastatus = rtl80x9_mediastatus;
 182 	dsc->cr_proto = ED_CR_RD2;
 185 		dsc->rcr_proto = ED_RCR_INTT
 886  struct dp8390_softc *dsc = &sc->sc_dp8390;  local in function:ne2000_suspend
 902  struct dp8390_softc *dsc = &sc->sc_dp8390;  local in function:ne2000_resume
 [all...]
 | 
| /src/sys/arch/hp300/dev/ | 
| spc.c | 105 	struct spc_dio_softc *dsc = device_private(self);  local in function:spc_dio_attach 106 	struct spc_softc *sc = &dsc->sc_spc;
 108 	bus_space_tag_t iot = &dsc->sc_tag;
 133 		dsc->sc_dflags |= SCSI_DMA32;
 145 	dsc->sc_iohsc = iohsc;
 146 	dsc->sc_dq.dq_softc = dsc;
 147 	dsc->sc_dq.dq_start = spc_dio_dmago;
 148 	dsc->sc_dq.dq_done  = spc_dio_dmastop;
 164 	struct spc_dio_softc *dsc = (struct spc_dio_softc *)sc  local in function:spc_dio_dmastart
 182  struct spc_dio_softc *dsc = arg;  local in function:spc_dio_dmago
 243  struct spc_dio_softc *dsc = (struct spc_dio_softc *)sc;  local in function:spc_dio_dmadone
 289  struct spc_dio_softc *dsc = arg;  local in function:spc_dio_dmastop
 [all...]
 | 
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dsc/ | 
| Makefile | 3 # Makefile for the 'dsc' sub-component of DAL. 30 CFLAGS_$(AMDDALPATH)/dc/dsc/rc_calc.o := $(dsc_ccflags)
 31 CFLAGS_$(AMDDALPATH)/dc/dsc/rc_calc_dpi.o := $(dsc_ccflags)
 32 CFLAGS_$(AMDDALPATH)/dc/dsc/dc_dsc.o := $(dsc_ccflags)
 34 DSC = dc_dsc.o rc_calc.o rc_calc_dpi.o
 36 AMD_DAL_DSC = $(addprefix $(AMDDALPATH)/dc/dsc/,$(DSC))
 
 | 
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ | 
| dsc.h | 1 /*	$NetBSD: dsc.h,v 1.2 2021/12/18 23:45:05 riastradh Exp $	*/ 38 /* Input parameters for configuring DSC from the outside of DSC */
 48 /* Output parameters for configuring DSC-related part of OPTC */
 63 /* DSC encoder capabilities
 64  * They differ from the DPCD DSC caps because they are based on AMD DSC encoder caps.
 70 		uint8_t NUM_SLICES_3 : 1; /* This one is not per DSC spec, but our encoder supports it */
 91 	void (*dsc_read_state)(struct display_stream_compressor *dsc, struct dcn_dsc_state *s);
 92 	bool (*dsc_validate_stream)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg)
 [all...]
 | 
| /src/sys/arch/amiga/dev/ | 
| if_ne_xsurf.c | 121 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_xsurf_attach 130 	dsc->sc_dev = self;
 131 	dsc->sc_mediachange = rtl80x9_mediachange;
 132 	dsc->sc_mediastatus = rtl80x9_mediastatus;
 133 	dsc->init_card = rtl80x9_init_card;
 134 	dsc->sc_media_init = rtl80x9_media_init;
 155 	dsc->sc_regt = nict;
 156 	dsc->sc_regh = nich;
 162 	dsc->sc_enabled = 1;
 171 	zsc->sc_isr.isr_arg = dsc;
 [all...]
 | 
| if_ne_zbus.c | 108 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_zbus_attach 115 	dsc->sc_dev = self;
 116 	dsc->sc_mediachange = rtl80x9_mediachange;
 117 	dsc->sc_mediastatus = rtl80x9_mediastatus;
 118 	dsc->init_card = rtl80x9_init_card;
 119 	dsc->sc_media_init = rtl80x9_media_init;
 139 	dsc->sc_regt = nict;
 140 	dsc->sc_regh = nich;
 146 	dsc->sc_enabled = 1;
 155 	zsc->sc_isr.isr_arg = dsc;
 [all...]
 | 
| if_ne_xsh.c | 100 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_xsh_attach 108 	dsc->sc_dev = self;
 132 	dsc->sc_regt = xsht;
 133 	dsc->sc_regh = nich;
 139 	dsc->sc_enabled = 1;
 143 	dsc->sc_mediachange = ax88190_mediachange;
 144 	dsc->sc_mediastatus = ax88190_mediastatus;
 145 	dsc->init_card = ax88190_init_card;
 146 	dsc->stop_card = ax88190_stop_card;
 147 	dsc->sc_media_init = ax88190_media_init
 [all...]
 | 
| /src/sys/arch/acorn32/podulebus/ | 
| if_ne_pbus.c | 235 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_pbus_attach 241 	dsc->sc_dev = self;
 321 	dsc->sc_regt = &npsc->sc_tag;
 322 	nsc->sc_asict = dsc->sc_regt;
 325 	if (bus_space_map(dsc->sc_regt, ne->nicbase, ne->nicsize,
 326 	    0, &dsc->sc_regh)) {
 346 	dsc->sc_enabled = 1;
 363 		dsc->sc_mediachange = ne->mediachange;
 364 		dsc->sc_mediastatus = ne->mediastatus;
 365 		dsc->init_card = ne->init_card
 490  struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:eh600_preattach
 515  struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:eh600_postattach
 [all...]
 | 
| /src/sys/arch/sgimips/hpc/ | 
| wdsc.c | 207 	struct hpc_dma_softc *dsc = &wsc->sc_hpcdma;  local in function:wdsc_dmasetup 214 	count = dsc->sc_dlen = *len;
 225 		hpcdma_sglist_create(dsc, wsc->sc_dmamap);
 229 			dsc->sc_dmacmd =
 231 			dsc->sc_flags |= HPCDMA_READ;
 233 			dsc->sc_dmacmd =
 235 			dsc->sc_flags &= ~HPCDMA_READ;
 248 	struct hpc_dma_softc *dsc = &wsc->sc_hpcdma;  local in function:wdsc_dmago
 250 	if (dsc->sc_dlen == 0)
 260 	    (dsc->sc_flags & HPCDMA_READ)
 275  struct hpc_dma_softc *dsc = &wsc->sc_hpcdma;  local in function:wdsc_dmastop
 298  struct hpc_dma_softc *dsc = &wsc->sc_hpcdma;  local in function:wdsc_reset
 [all...]
 | 
| /src/sys/arch/powerpc/booke/dev/ | 
| pq3duart.c | 97 	struct pq3duart_softc * const dsc = device_private(parent);  local in function:com_pq3duart_match 102 	    || dsc->dsc_sc[da->da_port-1] != NULL)
 128 	struct pq3duart_softc * const dsc = arg;  local in function:pq3duart_intr
 131 	if (dsc->dsc_sc[0] != NULL)
 132 		rv += comintr(dsc->dsc_sc[0]);
 133 	if (dsc->dsc_sc[1] != NULL)
 134 		rv += comintr(dsc->dsc_sc[1]);
 156 	struct pq3duart_softc * const dsc = device_private(self);  local in function:pq3duart_attach
 163 	dsc->dsc_dev = self;
 175 	if (dsc->dsc_sc[0] != NULL || dsc->dsc_sc[1] != NULL)
 192  struct pq3duart_softc * const dsc = device_private(parent);  local in function:com_pq3duart_attach
 [all...]
 | 
| /src/sys/dev/mca/ | 
| if_ne_mca.c | 133 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_mca_attach 142 	dsc->sc_dev = self;
 182 	dsc->sc_regt = nict;
 183 	dsc->sc_regh = nich;
 189 	dsc->sc_enabled = 1;
 191 	dsc->sc_mediachange	= NULL;
 192 	dsc->sc_mediastatus	= NULL;
 193 	dsc->sc_media_init	= NULL;
 194 	dsc->init_card		= NULL;
 211 			dsc);
 [all...]
 | 
| /src/sys/dev/pci/ | 
| if_ne_pci.c | 172 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_pci_attach 191 	dsc->sc_dev = self;
 197 		aprint_error_dev(dsc->sc_dev, "can't map i/o space\n");
 204 		aprint_error_dev(dsc->sc_dev, "can't subregion i/o space\n");
 208 	dsc->sc_regt = nict;
 209 	dsc->sc_regh = nich;
 221 	dsc->sc_enabled = 1;
 223 	dsc->sc_mediachange = npp->npp_mediachange;
 224 	dsc->sc_mediastatus = npp->npp_mediastatus;
 225 	dsc->sc_media_init = npp->npp_media_init
 [all...]
 | 
| /src/sys/arch/mmeye/dev/ | 
| if_ne_mainbus.c | 101 	struct dp8390_softc *dsc = &sc->sc_dp8390;  local in function:ne_mainbus_attach 109 	dsc->sc_dev = self;
 126 	dsc->sc_regt = nict;
 127 	dsc->sc_regh = nich;
 152 	dsc->sc_enabled = 1;
 162 	    dp8390_intr, dsc);
 
 | 
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/ | 
| dc_dsc.h | 30 /* DP Extended DSC Capabilities */ 64 		const struct display_stream_compressor *dsc,
 73 		const struct display_stream_compressor *dsc,
 
 | 
| /src/sys/arch/arm/sunxi/ | 
| sunxi_dwhdmi.c | 141 sunxi_dwhdmi_detect(struct dwhdmi_softc *dsc, bool force) 143 	struct sunxi_dwhdmi_softc * const sc = to_sunxi_dwhdmi_softc(dsc);
 154 sunxi_dwhdmi_enable(struct dwhdmi_softc *dsc)
 156 	struct sunxi_dwhdmi_softc * const sc = to_sunxi_dwhdmi_softc(dsc);
 163 		device_printf(dsc->sc_dev, "failed to enable phy: %d\n", error);
 169 		device_printf(dsc->sc_dev, "failed to configure phy: %d\n", error);
 173 sunxi_dwhdmi_disable(struct dwhdmi_softc *dsc)
 175 	struct sunxi_dwhdmi_softc * const sc = to_sunxi_dwhdmi_softc(dsc);
 182 		device_printf(dsc->sc_dev, "failed to disable phy\n");
 186 sunxi_dwhdmi_mode_set(struct dwhdmi_softc *dsc,
 [all...]
 | 
| /src/sys/dev/pcmcia/ | 
| if_ne_pcmcia.c | 580 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_pcmcia_attach 590 	dsc->sc_dev = self;
 600 	dsc->sc_regt = cfe->iospace[0].handle.iot;
 601 	dsc->sc_regh = cfe->iospace[0].handle.ioh;
 604 		nsc->sc_asict = dsc->sc_regt;
 605 		if (bus_space_subregion(dsc->sc_regt, dsc->sc_regh,
 616 	error = ne_pcmcia_enable(dsc);
 621 	dsc->sc_enable = ne_pcmcia_enable;
 622 	dsc->sc_disable = ne_pcmcia_disable
 809  struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_pcmcia_get_enaddr
 [all...]
 | 
| /src/sys/external/bsd/drm2/dist/drm/i915/display/ | 
| intel_vdsc.c | 353 	/* On TGL, DSC is supported on all Pipes */ 381 	/* There's no pipe A DSC engine on ICL */
 390 	struct drm_dsc_config *vdsc_cfg = &pipe_config->dsc.config;
 391 	u16 compressed_bpp = pipe_config->dsc.compressed_bpp;
 398 					     pipe_config->dsc.slice_count);
 505 	const struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config;
 510 	u8 num_vdsc_instances = (crtc_state->dsc.dsc_split) ? 2 : 1;
 533 		if (crtc_state->dsc.dsc_split)
 537 		if (crtc_state->dsc.dsc_split)
 552 		if (crtc_state->dsc.dsc_split
 [all...]
 | 
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/ | 
| amdgpu_dcn20_dsc.c | 33 #include "dsc/dscc_types.h" 35 static void dsc_log_pps(struct display_stream_compressor *dsc, struct drm_dsc_config *pps);
 40 static void dsc_write_to_registers(struct display_stream_compressor *dsc, const struct dsc_reg_values *reg_vals);
 46 static void dsc2_read_state(struct display_stream_compressor *dsc, struct dcn_dsc_state *s);
 47 static bool dsc2_validate_stream(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg);
 48 static void dsc2_set_config(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
 50 static bool dsc2_get_packed_pps(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg, uint8_t *dsc_packed_pps);
 51 static void dsc2_enable(struct display_stream_compressor *dsc, int opp_pipe);
 52 static void dsc2_disable(struct display_stream_compressor *dsc);
 75 	dsc->ctx->logge
 [all...]
 | 
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/ | 
| amdgpu_dc_link_hwss.c | 20 #include "dsc.h" 378 	dsc->ctx->logger
 379 static void dsc_optc_config_log(struct display_stream_compressor *dsc,
 387 	/* 7 fractional digits decimal precision for bytes per pixel is enough because DSC
 413 /* The stream with these settings can be sent (unblanked) only after DSC was enabled on RX first,
 418 	struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc;  local in function:dp_set_dsc_on_stream
 432 		/* Enable DSC hw block */
 441 		dsc->funcs->dsc_set_config(dsc, &dsc_cfg, &dsc_optc_cfg)
 498  struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc;  local in function:dp_set_dsc_enable
 522  struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc;  local in function:dp_set_dsc_pps_sdp
 566  struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc;  local in function:dp_update_dsc_config
 [all...]
 | 
| /src/sys/arch/evbsh3/t_sh7706lan/ | 
| if_ne_mainbus.c | 113 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_mainbus_attach 121 	dsc->sc_dev = self;
 139 	dsc->sc_regt = nict;
 140 	dsc->sc_regh = nich;
 172 	dsc->sc_enabled = 1;
 185 	    IPL_NET, dp8390_intr, dsc);
 
 | 
| /src/sys/arch/x68k/dev/ | 
| if_ne_neptune.c | 118 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_neptune_attach 127 	dsc->sc_dev = self;
 142 	dsc->sc_regt = nict;
 143 	dsc->sc_regh = nich;
 174 	dsc->sc_enabled = 1;
 183 	if (neptune_intr_establish(na->na_intr, "ne", dp8390_intr, dsc))
 
 | 
| if_ne_intio.c | 135 	struct dp8390_softc *dsc = &sc->sc_dp8390;  local in function:ne_intio_attach 144 	dsc->sc_dev = self;
 161 	dsc->sc_regt = iot;
 162 	dsc->sc_regh = ioh;
 194 	dsc->sc_enabled = 1;
 203 	if (intio_intr_establish(ia->ia_intr, "ne", dp8390_intr, dsc))
 
 | 
| /src/sys/dev/isa/ | 
| if_ne_isa.c | 135 	struct dp8390_softc *dsc = &nsc->sc_dp8390;  local in function:ne_isa_attach 144 	dsc->sc_dev = self;
 160 	dsc->sc_regt = nict;
 161 	dsc->sc_regh = nich;
 192 	dsc->sc_enabled = 1;
 202 	    IST_EDGE, IPL_NET, dp8390_intr, dsc);
 
 | 
| /src/sys/dev/isapnp/ | 
| if_ne_isapnp.c | 95 	struct dp8390_softc * const dsc = &nsc->sc_dp8390;  local in function:ne_isapnp_attach 106 	dsc->sc_dev = self;
 124 	dsc->sc_regt = nict;
 125 	dsc->sc_regh = nich;
 156 	dsc->sc_enabled = 1;
 166 	    ipa->ipa_irq[0].type, IPL_NET, dp8390_intr, dsc);
 
 |