| /openbsd/src/sys/dev/pci/drm/amd/display/dc/core/ |
| D | dc_link_exports.c | 66 const struct dc_link *link, in dc_get_edp_link_panel_inst() argument 73 if (link->connector_signal != SIGNAL_TYPE_EDP) in dc_get_edp_link_panel_inst() 77 if (link == edp_links[i]) in dc_get_edp_link_panel_inst() 84 bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason) in dc_link_detect() argument 86 return link->dc->link_srv->detect_link(link, reason); in dc_link_detect() 89 bool dc_link_detect_connection_type(struct dc_link *link, in dc_link_detect_connection_type() argument 92 return link->dc->link_srv->detect_connection_type(link, type); in dc_link_detect_connection_type() 95 const struct dc_link_status *dc_link_get_status(const struct dc_link *link) in dc_link_get_status() argument 97 return link->dc->link_srv->get_status(link); in dc_link_get_status() 101 bool dc_link_is_hdcp14(struct dc_link *link, enum amd_signal_type signal) in dc_link_is_hdcp14() argument [all …]
|
| D | dc_link_enc_cfg.c | 46 if (link_enc && ((uint32_t)stream->link->connector_signal & link_enc->output_signals)) { in is_dig_link_enc_stream() 153 .link_id = stream->link->link_id, in add_link_enc_assignment() 154 .ep_type = stream->link->ep_type}, in add_link_enc_assignment() 216 if (stream_assigned && stream != stream_assigned && stream->link == stream_assigned->link) in is_avail_link_enc() 239 const struct dc_link *link) in get_link_enc_used_by_link() argument 246 .link_id = link->link_id, in get_link_enc_used_by_link() 247 .ep_type = link->ep_type}; in get_link_enc_used_by_link() 255 link_enc = link->dc->res_pool->link_encoders[assignment.eng_id - ENGINE_ID_DIGA]; in get_link_enc_used_by_link() 323 if (stream->link->is_dig_mapping_flexible) in link_enc_cfg_link_encs_assign() 331 eng_id = stream->link->eng_id; in link_enc_cfg_link_encs_assign() [all …]
|
| /openbsd/src/usr.bin/dig/lib/isc/include/isc/ |
| D | list.h | 28 #define ISC_LINK_INIT_TYPE(elt, link, type) \ argument 30 (elt)->link.prev = (type *)(-1); \ 31 (elt)->link.next = (type *)(-1); \ 33 #define ISC_LINK_INIT(elt, link) \ argument 34 ISC_LINK_INIT_TYPE(elt, link, void) 35 #define ISC_LINK_LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1)) argument 41 #define __ISC_LIST_PREPENDUNSAFE(list, elt, link) \ argument 44 (list).head->link.prev = (elt); \ 47 (elt)->link.prev = NULL; \ 48 (elt)->link.next = (list).head; \ [all …]
|
| D | util.h | 97 #define INIT_LINK(elt, link) ISC_LINK_INIT(elt, link) argument 101 #define PREV(elt, link) ISC_LIST_PREV(elt, link) argument 102 #define NEXT(elt, link) ISC_LIST_NEXT(elt, link) argument 103 #define APPEND(list, elt, link) ISC_LIST_APPEND(list, elt, link) argument 104 #define PREPEND(list, elt, link) ISC_LIST_PREPEND(list, elt, link) argument 105 #define UNLINK(list, elt, link) ISC_LIST_UNLINK(list, elt, link) argument 106 #define ENQUEUE(list, elt, link) ISC_LIST_APPEND(list, elt, link) argument 107 #define DEQUEUE(list, elt, link) ISC_LIST_UNLINK(list, elt, link) argument 110 #define APPENDLIST(list1, list2, link) ISC_LIST_APPENDLIST(list1, list2, link) argument
|
| /openbsd/src/sys/dev/pci/drm/amd/display/dc/inc/ |
| D | link.h | 95 struct dc_link *link; member 103 void (*destroy_link)(struct dc_link **link); 107 bool (*detect_link)(struct dc_link *link, enum dc_detect_reason reason); 108 bool (*detect_connection_type)(struct dc_link *link, 111 struct dc_link *link, 115 void (*remove_remote_sink)(struct dc_link *link, struct dc_sink *sink); 116 bool (*get_hpd_state)(struct dc_link *link); 120 void (*enable_hpd)(const struct dc_link *link); 121 void (*disable_hpd)(const struct dc_link *link); 122 void (*enable_hpd_filter)(struct dc_link *link, bool enable); [all …]
|
| /openbsd/src/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
| D | amdgpu_dm_psr.c | 33 static bool link_supports_psrsu(struct dc_link *link) in link_supports_psrsu() argument 35 struct dc *dc = link->ctx->dc; in link_supports_psrsu() 43 if (!is_psr_su_specific_panel(link)) in link_supports_psrsu() 46 if (!link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP || in link_supports_psrsu() 47 !link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED) in link_supports_psrsu() 50 if (link->dpcd_caps.psr_info.psr_dpcd_caps.bits.SU_GRANULARITY_REQUIRED && in link_supports_psrsu() 51 !link->dpcd_caps.psr_info.psr2_su_y_granularity_cap) in link_supports_psrsu() 65 void amdgpu_dm_set_psr_caps(struct dc_link *link) in amdgpu_dm_set_psr_caps() argument 67 if (!(link->connector_signal & SIGNAL_TYPE_EDP)) { in amdgpu_dm_set_psr_caps() 68 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps() [all …]
|
| D | amdgpu_dm_replay.c | 41 bool amdgpu_dm_link_supports_replay(struct dc_link *link, struct amdgpu_dm_connector *aconnector) in amdgpu_dm_link_supports_replay() argument 44 struct dpcd_caps *dpcd_caps = &link->dpcd_caps; in amdgpu_dm_link_supports_replay() 45 struct adaptive_sync_caps *as_caps = &link->dpcd_caps.adaptive_sync_caps; in amdgpu_dm_link_supports_replay() 78 bool amdgpu_dm_set_replay_caps(struct dc_link *link, struct amdgpu_dm_connector *aconnector) in amdgpu_dm_set_replay_caps() argument 82 struct dc *dc = link->ctx->dc; in amdgpu_dm_set_replay_caps() 85 if (link->replay_settings.config.replay_supported) in amdgpu_dm_set_replay_caps() 88 if (!dc_is_embedded_signal(link->connector_signal)) in amdgpu_dm_set_replay_caps() 91 if (link->panel_config.psr.disallow_replay) in amdgpu_dm_set_replay_caps() 94 if (!amdgpu_dm_link_supports_replay(link, aconnector)) in amdgpu_dm_set_replay_caps() 107 link->ctx->dc->debug.visual_confirm == VISUAL_CONFIRM_REPLAY; in amdgpu_dm_set_replay_caps() [all …]
|
| D | amdgpu_dm_helpers.c | 96 struct dc_link *link, in dm_helpers_parse_edid_caps() argument 100 struct amdgpu_dm_connector *aconnector = link->priv; in dm_helpers_parse_edid_caps() 166 fill_dc_mst_payload_table_from_drm(struct dc_link *link, in fill_dc_mst_payload_table_from_drm() argument 174 link->mst_stream_alloc_table; in fill_dc_mst_payload_table_from_drm() 218 const struct dc_link *link) in dm_helpers_dp_update_branch_info() argument 300 fill_dc_mst_payload_table_from_drm(stream->link, enable, target_payload, proposed_table); in dm_helpers_dp_mst_write_payload_allocation_table() 310 const struct dc_link *link) in dm_helpers_dp_mst_poll_pending_down_reply() argument 318 const struct dc_link *link) in dm_helpers_dp_mst_clear_payload_allocation_table() argument 503 const struct dc_link *link, in dm_helpers_dp_mst_start_top_mgr() argument 506 struct amdgpu_dm_connector *aconnector = link->priv; in dm_helpers_dp_mst_start_top_mgr() [all …]
|
| /openbsd/src/sys/scsi/ |
| D | scsiconf.c | 286 struct scsi_link *link = sa->sa_sc_link; in scsibussubmatch() local 288 if (cf->cf_loc[0] != -1 && cf->cf_loc[0] != link->target) in scsibussubmatch() 290 if (cf->cf_loc[1] != -1 && cf->cf_loc[1] != link->lun) in scsibussubmatch() 355 struct scsi_link *link; in scsi_activate_bus() local 359 SLIST_FOREACH(link, &sb->sc_link_list, bus_list) { in scsi_activate_bus() 360 r = scsi_activate_link(link, act); in scsi_activate_bus() 370 struct scsi_link *link; in scsi_activate_target() local 374 SLIST_FOREACH(link, &sb->sc_link_list, bus_list) { in scsi_activate_target() 375 if (link->target == target) { in scsi_activate_target() 376 r = scsi_activate_link(link, act); in scsi_activate_target() [all …]
|
| D | scsi_base.c | 508 scsi_xsh_set(struct scsi_xshandler *xsh, struct scsi_link *link, in scsi_xsh_set() argument 511 scsi_ioh_set(&xsh->ioh, link->pool, scsi_xsh_ioh, xsh); in scsi_xsh_set() 513 xsh->link = link; in scsi_xsh_set() 520 struct scsi_link *link = xsh->link; in scsi_xsh_add() local 523 if (ISSET(link->state, SDEV_S_DYING)) in scsi_xsh_add() 526 mtx_enter(&link->pool->mtx); in scsi_xsh_add() 528 TAILQ_INSERT_TAIL(&link->queue, &xsh->ioh, q_entry); in scsi_xsh_add() 532 mtx_leave(&link->pool->mtx); in scsi_xsh_add() 535 scsi_xsh_runqueue(link); in scsi_xsh_add() 543 struct scsi_link *link = xsh->link; in scsi_xsh_del() local [all …]
|
| D | sd.c | 163 struct scsi_link *link = sa->sa_sc_link; in sdattach() local 167 SC_DEBUG(link, SDEV_DB2, ("sdattach:\n")); in sdattach() 175 sc->sc_link = link; in sdattach() 176 link->interpret_sense = sd_interpret_sense; in sdattach() 177 link->device_softc = sc; in sdattach() 179 if (ISSET(link->flags, SDEV_ATAPI) && ISSET(link->flags, in sdattach() 181 SET(link->quirks, SDEV_NOSYNCCACHE); in sdattach() 189 scsi_xsh_set(&sc->sc_xsh, link, sdstart); in sdattach() 192 if (!ISSET(link->flags, SDEV_UMASS)) in sdattach() 193 scsi_start(link, SSS_START, sd_autoconf); in sdattach() [all …]
|
| D | mpath_hds.c | 118 struct scsi_link *link = sa->sa_sc_link; in hds_match() local 119 struct scsi_inquiry_data *inq = &link->inqdata; in hds_match() 131 hds_inquiry(link, &mode) == 0) in hds_match() 143 struct scsi_link *link = sa->sa_sc_link; in hds_attach() local 148 link->device_softc = sc; in hds_attach() 151 scsi_xsh_set(&sc->sc_path.p_xsh, link, hds_mpath_start); in hds_attach() 152 sc->sc_path.p_link = link; in hds_attach() 155 scsi_xsh_set(&sc->sc_xsh, link, hds_status); in hds_attach() 158 if (hds_inquiry(link, &sc->sc_mode) != 0) { in hds_attach() 213 hds_mpath_status(struct scsi_link *link) in hds_mpath_status() argument [all …]
|
| D | scsi_ioctl.c | 99 scsi_ioc_cmd(struct scsi_link *link, scsireq_t *screq) in scsi_ioc_cmd() argument 109 xs = scsi_xs_get(link, 0); in scsi_ioc_cmd() 195 scsi_ioc_ata_cmd(struct scsi_link *link, atareq_t *atareq) in scsi_ioc_ata_cmd() argument 204 xs = scsi_xs_get(link, 0); in scsi_ioc_ata_cmd() 295 scsi_do_ioctl(struct scsi_link *link, u_long cmd, caddr_t addr, int flag) in scsi_do_ioctl() argument 297 SC_DEBUG(link, SDEV_DB2, ("scsi_do_ioctl(0x%lx)\n", cmd)); in scsi_do_ioctl() 303 if (!ISSET(link->flags, (SDEV_ATAPI | SDEV_UMASS))) in scsi_do_ioctl() 309 sca->scbus = link->bus->sc_dev.dv_unit; in scsi_do_ioctl() 310 sca->target = link->target; in scsi_do_ioctl() 311 sca->lun = link->lun; in scsi_do_ioctl() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/podlators/lib/Pod/ |
| D | ParseLink.pm | 33 my ($link) = @_; 34 $link =~ s/^\s+//; 35 $link =~ s/\s+$//; 39 return (undef, $1) if ($link =~ /^"\s*(.*?)\s*"$/); 44 my ($page, $section) = split (/\s*\/\s*/, $link, 2); 74 my ($link) = @_; 75 $link =~ s/\s+/ /g; 77 if ($link =~ /\|/) { 78 ($text, $link) = split (/\|/, $link, 2); 80 if ($link =~ /\A\w+:[^:\s]\S*\Z/) { [all …]
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/ |
| D | ra.c | 253 struct df_link *link; local 256 for (n = 0, link = DF_INSN_DEFS (df, insn); link; link = link->next) 257 if (link->ref 258 && (DF_REF_REGNO (link->ref) >= FIRST_PSEUDO_REGISTER 260 DF_REF_REGNO (link->ref)))) 264 insn_df[uid].defs[n++] = link->ref; 268 for (n = 0, link = DF_INSN_USES (df, insn); link; link = link->next) 269 if (link->ref 270 && (DF_REF_REGNO (link->ref) >= FIRST_PSEUDO_REGISTER 272 DF_REF_REGNO (link->ref)))) [all …]
|
| D | genpeep.c | 36 struct link struct 38 struct link *next; argument 55 static void match_rtx PARAMS ((rtx, struct link *, int)); argument 56 static void print_path PARAMS ((struct link *)); 146 struct link *path; 153 struct link link; local 198 link.next = path; 199 link.vecelt = -1; 202 link.pos = i; 203 match_rtx (XVECEXP (x, 1, i), &link, fail_label); [all …]
|
| D | sched-deps.c | 185 rtx link, next; local 291 for (link = LOG_LINKS (insn); link; link = XEXP (link, 1)) 292 if (XEXP (link, 0) == elem) 299 if (REG_NOTE_KIND (link) == REG_DEP_ANTI) 302 else if (REG_NOTE_KIND (link) == REG_DEP_OUTPUT 313 if ((int) dep_type < (int) REG_NOTE_KIND (link)) 314 PUT_REG_NOTE_KIND (link, dep_type); 321 if ((int) REG_NOTE_KIND (link) == 0) 324 else if (REG_NOTE_KIND (link) == REG_DEP_ANTI) 327 else if (REG_NOTE_KIND (link) == REG_DEP_OUTPUT) [all …]
|
| /openbsd/src/usr.bin/openssl/ |
| D | certhash.c | 360 struct hashinfo *link = NULL; in certhash_addlink() local 362 if ((link = hashinfo(NULL, hi->hash, hi->fingerprint)) == NULL) in certhash_addlink() 365 if ((link->filename = hashinfo_linkname(hi)) == NULL) in certhash_addlink() 368 link->reference = hi; in certhash_addlink() 369 link->changed = 1; in certhash_addlink() 370 *links = hashinfo_chain(*links, link); in certhash_addlink() 371 hi->reference = link; in certhash_addlink() 376 hashinfo_free(link); in certhash_addlink() 383 struct hashinfo *link; in certhash_findlink() local 385 for (link = links; link != NULL; link = link->next) { in certhash_findlink() [all …]
|
| /openbsd/src/sys/dev/pci/drm/amd/display/dc/ |
| D | dm_helpers.h | 63 struct dc_link *link, 73 const struct dc_link *link); 89 const struct dc_link *link); 96 const struct dc_link *link); 120 const struct dc_link *link, 125 struct dc_link *link); 129 struct dc_link *link); 136 const struct dc_link *link, 146 const struct dc_link *link, 153 const struct dc_link *link, [all …]
|
| /openbsd/src/gnu/gcc/gcc/ |
| D | genpeep.c | 38 struct link struct 40 struct link *next; argument 57 static void match_rtx (rtx, struct link *, int); argument 58 static void print_path (struct link *); 128 match_rtx (rtx x, struct link *path, int fail_label) in match_rtx() 134 struct link link; in match_rtx() local 179 link.next = path; in match_rtx() 180 link.vecelt = -1; in match_rtx() 183 link.pos = i; in match_rtx() 184 match_rtx (XVECEXP (x, 1, i), &link, fail_label); in match_rtx() [all …]
|
| D | haifa-sched.c | 629 insn_cost (rtx insn, rtx link, rtx used) in insn_cost() argument 631 return insn_cost1 (insn, used ? REG_NOTE_KIND (link) : REG_NOTE_MAX, in insn_cost() 632 link, used); in insn_cost() 644 insn_cost1 (rtx insn, enum reg_note dep_type, rtx link, rtx used) in insn_cost1() argument 680 gcc_assert (!link || dep_type == REG_NOTE_KIND (link)); in insn_cost1() 701 gcc_assert (link); in insn_cost1() 703 cost = targetm.sched.adjust_cost (used, link, insn, cost); in insn_cost1() 718 rtx link; in priority() local 753 for (link = INSN_DEPEND (twin); link; link = XEXP (link, 1)) in priority() 758 next = XEXP (link, 0); in priority() [all …]
|
| /openbsd/src/bin/ksh/ |
| D | alloc.c | 14 struct link { struct 15 struct link *prev; argument 16 struct link *next; argument 29 struct link *l, *l2; in afreeall() 38 #define L2P(l) ( (void *)(((char *)(l)) + sizeof(struct link)) ) 39 #define P2L(p) ( (struct link *)(((char *)(p)) - sizeof(struct link)) ) 44 struct link *l; in alloc() 47 if (size > SIZE_MAX - sizeof(struct link)) in alloc() 50 l = malloc(sizeof(struct link) + size); in alloc() 85 struct link *l, *l2, *lprev, *lnext; in aresize() [all …]
|
| /openbsd/src/regress/bin/chmod/ |
| D | Makefile | 62 ${LN} -s ${.OBJDIR}/regress/file regress/link 63 ${CHMOD} -h 755 regress/link 64 [ `${STAT} -f '%p' regress/link` == '120755' ] 152 ${CHMOD} -h 0000 regress/link 154 [ `${STAT} -f '%p' regress/link` == '120000' ] 157 ${CHMOD} -h 0644 regress/link 159 [ `${STAT} -f '%p' regress/link` == '120644' ] 162 ${CHMOD} -h a-rwx regress/link 164 [ `${STAT} -f '%p' regress/link` == '120000' ] 167 ${CHMOD} -h u=rw,go=r regress/link [all …]
|
| /openbsd/src/sys/dev/pci/drm/amd/display/dc/hdcp/ |
| D | hdcp_msg.c | 36 link->ctx->logger 114 struct dc_link *link, 123 struct dc_link *link, in hdmi_14_process_transaction() argument 146 switch (message_info->link) { in hdmi_14_process_transaction() 178 i2c_command.speed = link->ddc->ctx->dc->caps.i2c_speed_in_khz; in hdmi_14_process_transaction() 181 link->ctx, in hdmi_14_process_transaction() 182 link, in hdmi_14_process_transaction() 230 struct dc_link *link, in dpcd_access_helper() argument 263 link, in dpcd_access_helper() 272 link, in dpcd_access_helper() [all …]
|
| /openbsd/src/sys/dev/pci/drm/amd/display/dc/dce/ |
| D | dmub_psr.c | 145 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED) in dmub_psr_set_version() 151 switch (stream->link->psr_settings.psr_version) { in dmub_psr_set_version() 293 struct dc_link *link, in dmub_psr_copy_settings() argument 302 struct resource_context *res_ctx = &link->ctx->dc->current_state->res_ctx; in dmub_psr_copy_settings() 307 res_ctx->pipe_ctx[i].stream->link == link && in dmub_psr_copy_settings() 308 res_ctx->pipe_ctx[i].stream->link->connector_signal == SIGNAL_TYPE_EDP) { in dmub_psr_copy_settings() 323 link->link_enc->funcs->psr_program_dp_dphy_fast_training(link->link_enc, in dmub_psr_copy_settings() 327 link->link_enc->funcs->psr_program_secondary_packet(link->link_enc, in dmub_psr_copy_settings() 357 copy_settings_data->use_phy_fsm = link->ctx->dc->debug.psr_power_use_phy_fsm; in dmub_psr_copy_settings() 378 copy_settings_data->fec_enable_status = (link->fec_state == dc_link_fec_enabled); in dmub_psr_copy_settings() [all …]
|