/linux/drivers/gpu/drm/msm/dp/ |
A D | dp_link.c | 53 if (link->revision < 0x11) in dp_aux_link_power_up() 744 link->prev_sink_count = link->dp_link.sink_count; in dp_link_parse_sink_status_field() 748 link->link_status); in dp_link_parse_sink_status_field() 775 link->dp_link.link_params.num_lanes = link->request.test_lane_count; in dp_link_process_link_training_request() 911 link->dp_link.link_params.num_lanes = link->request.test_lane_count; in dp_link_process_phy_test_pattern_request() 971 if (link->prev_sink_count == link->dp_link.sink_count) in dp_link_process_ds_port_status_change() 976 link->prev_sink_count = link->dp_link.sink_count; in dp_link_process_ds_port_status_change() 1185 link = devm_kzalloc(dev, sizeof(*link), GFP_KERNEL); in dp_link_get() 1186 if (!link) in dp_link_get() 1189 link->dev = dev; in dp_link_get() [all …]
|
/linux/drivers/gpu/drm/tegra/ |
A D | dp.c | 38 if (!link) in drm_dp_link_reset() 89 link->rates[i] = link->rates[i - 1]; in drm_dp_link_add_rate() 125 link->rates[i] = link->rates[i + 1]; in drm_dp_link_remove_rate() 150 link->rates[count++] = link->rates[i]; in drm_dp_link_update_rates() 232 link->rate = link->max_rate; in drm_dp_link_probe() 233 link->lanes = link->max_lanes; in drm_dp_link_probe() 337 if (link->ops && link->ops->configure) { in drm_dp_link_configure() 338 err = link->ops->configure(link); in drm_dp_link_configure() 474 err = link->ops->apply_training(link); in drm_dp_link_apply_training() 732 err = drm_dp_link_configure(link->aux, link); in drm_dp_link_train_full() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_link_dp.c | 124 link, in get_cr_training_aux_rd_interval() 133 link, in get_cr_training_aux_rd_interval() 153 link, in get_eq_training_aux_rd_interval() 160 link, in get_eq_training_aux_rd_interval() 186 link, in get_eq_training_aux_rd_interval() 273 link, in dpcd_set_training_pattern() 888 link, in dp_get_lane_status_and_lane_adjust() 1420 link, 2251 struct dc_link *link = stream->link; local 2396 link->local_sink = link->remote_sinks[0]; [all …]
|
A D | dc_link.c | 239 link->dc->hwss.edp_wait_for_T12(link); in dc_link_wait_for_t12() 1084 sink_init_data.link = link; in dc_link_detect_helper() 1500 link->hpd_gpio = get_hpd_gpio(link->ctx->dc_bios, link->link_id, in dc_link_construct_legacy() 1561 ddc_service_init_data.link = link; in dc_link_construct_legacy() 1767 ddc_service_init_data.link = link; in dc_link_construct_dpia() 1871 struct dc_link *link = stream->link; in enable_link_dp() local 2507 struct dc_link *link = stream->link; in enable_link_hdmi() local 2567 struct dc_link *link = stream->link; in enable_link_lvds() local 2589 struct dc_link *link = stream->link; in enable_link() local 2851 if (!link || !link->ctx) in get_abm_from_stream_res() [all …]
|
A D | dc_link_dpia.c | 39 link->ctx->logger 90 link->lttpr_mode); in dpia_configure_link() 132 if (!link->ddc->ddc_pin && !link->aux_access_disabled && in core_link_send_set_config() 133 (dm_helpers_dmub_set_config_sync(link->ctx, link, in core_link_send_set_config() 291 link, in dpia_training_cr_non_transparent() 329 link, in dpia_training_cr_non_transparent() 349 link, in dpia_training_cr_non_transparent() 452 link, in dpia_training_cr_transparent() 620 link, in dpia_training_eq_non_transparent() 648 link, in dpia_training_eq_non_transparent() [all …]
|
A D | dc_link_hwss.c | 67 if (link != NULL && link->dc->debug.enable_driver_sequence_debug) in dp_source_sequence_trace() 73 struct dc_link *link, in dp_enable_link_phy() argument 96 link->dc->hwss.edp_power_control(link, true); in dp_enable_link_phy() 97 link->dc->hwss.edp_wait_for_hpd_ready(link, true); in dp_enable_link_phy() 106 pipes[i].stream->link == link) { in dp_enable_link_phy() 260 link->dc->hwss.edp_backlight_control(link, false); in dp_disable_link_phy() 269 link->dc->hwss.edp_power_control(link, false); in dp_disable_link_phy() 348 link->ctx->logger 442 pipes[i].stream->link == link) { in dp_retrain_link_dp_test() 746 link->ctx->logger [all …]
|
/linux/net/smc/ |
A D | smc_wr.c | 57 if (find_first_bit(link->wr_tx_mask, link->wr_tx_cnt) != in smc_wr_is_tx_pend() 67 wait_event(link->wr_tx_wait, !smc_wr_is_tx_pend(link)); in smc_wr_tx_wait_no_pending_sends() 180 for_each_clear_bit(*idx, link->wr_tx_mask, link->wr_tx_cnt) { in smc_wr_tx_get_free_slot_index() 237 wr_pend->link = link; in smc_wr_tx_get_free_slot() 257 if (link->wr_tx_v2_pend->idx == link->wr_tx_cnt) in smc_wr_tx_get_v2_slot() 266 wr_pend->link = link; in smc_wr_tx_get_v2_slot() 332 rc = ib_post_send(link->roce_qp, link->wr_tx_v2_ib, NULL); in smc_wr_tx_v2_send() 380 rc = ib_post_send(link->roce_qp, &link->wr_reg.wr, NULL); in smc_wr_reg_send() 792 link->wr_tx_v2_ib = kzalloc(sizeof(*link->wr_tx_v2_ib), in smc_wr_alloc_link_mem() 796 link->wr_tx_v2_sge = kzalloc(sizeof(*link->wr_tx_v2_sge), in smc_wr_alloc_link_mem() [all …]
|
/linux/drivers/acpi/ |
A D | pci_link.c | 462 if (link->irq.active && link->irq.active == irq) in acpi_irq_pci_sharing_penalty() 537 acpi_pci_link_set(link, link->irq.active); in acpi_pci_link_allocate() 545 if (link->irq.active == link->irq.possible[i]) in acpi_pci_link_allocate() 564 irq = link->irq.possible[link->irq.possible_count - 1]; in acpi_pci_link_allocate() 620 if (!link) { in acpi_pci_link_allocate_irq() 672 if (!link) { in acpi_pci_link_free_irq() 717 if (!link) in acpi_pci_link_add() 737 if (link->irq.active != link->irq.possible[i]) in acpi_pci_link_add() 760 if (link->refcnt && link->irq.active && link->irq.initialized) in acpi_pci_link_resume() 761 return (acpi_pci_link_set(link, link->irq.active)); in acpi_pci_link_resume() [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
A D | q_in_q_veto.sh | 55 ip link add name br0.100 link br0 type vlan \ 59 ip link add name br0.100 link br0 type vlan \ 66 ip link del dev br0 73 ip link add name $swp1.100 link $swp1 type vlan \ 77 ip link add name $swp1.100 link $swp1 type vlan \ 95 ip link add name $swp1.100 link $swp1 type vlan \ 99 ip link add name $swp1.100 link $swp1 type vlan \ 117 ip link add name bond1.100 link bond1 type vlan \ 121 ip link add name bond1.100 link bond1 type vlan \ 208 ip link add name $swp1.100 link $swp1 type vlan id 100 [all …]
|
A D | vxlan.sh | 20 ip link set dev $swp1 up 72 ip link del dev br0 89 ip link del dev br0 106 ip link del dev br0 126 ip link del dev br0 143 ip link del dev br0 160 ip link del dev br0 177 ip link del dev br0 196 ip link del dev br0 214 ip link del dev br0 [all …]
|
A D | rtnetlink.sh | 129 ip link add link br0 name br0.10 type vlan id 10 134 ip link add link br0 name br0.20 type vlan id 20 155 ip link add link br0 name br0.10 type vlan id 10 158 ip link add link br0 name br0.20 type vlan id 20 205 ip link add link $swp1 name $swp1.1 type vlan id 1 254 ip link add link $swp1 name $swp1.10 type vlan id 10 278 ip link add link br0 name br0.10 up type vlan id 10 406 ip link add link $swp1 name $swp1.10 type vlan id 10 407 ip link add link $swp1 name $swp1.20 type vlan id 20 511 ip link add link br0 name br0.10 type vlan id 10 [all …]
|
A D | extack.sh | 22 ip link set dev $swp1 up 23 ip link set dev $swp2 up 73 ip link del dev vx2 74 ip link del dev br2 76 ip link del dev vx1 77 ip link del dev br1 106 ip link del dev vx1 107 ip link del dev br1 137 ip link del dev br1 138 ip link del dev vx1 [all …]
|
/linux/drivers/pci/pcie/ |
A D | aspm.c | 161 if (!link->clkpm_capable || link->clkpm_disable) in pcie_set_clkpm() 422 link = link->parent; in pcie_aspm_check_latency() 656 link->aspm_default = link->aspm_enabled; in pcie_aspm_cap_init() 659 link->aspm_capable = link->aspm_support; in pcie_aspm_cap_init() 798 link = link->parent; in pcie_config_aspm_path() 847 link = kzalloc(sizeof(*link), GFP_KERNEL); in alloc_pcie_link_state() 865 link->root = link; in alloc_pcie_link_state() 876 link->root = link->parent->root; in alloc_pcie_link_state() 969 link->aspm_capable = link->aspm_support; in pcie_update_aspm_capable() 1056 pcie_set_clkpm(link, policy_to_clkpm_state(link)); in pcie_aspm_powersave_config_link() [all …]
|
/linux/drivers/ata/ |
A D | libata-pmp.c | 50 tf.device = link->pmp; in sata_pmp_read() 86 tf.device = link->pmp; in sata_pmp_write() 111 struct ata_link *link = qc->dev->link; in sata_pmp_qc_defer_cmd_switch() local 364 link->flags = 0; in sata_pmp_init_links() 487 struct ata_link *link = dev->link; in sata_pmp_attach() local 545 link->pmp = 0; in sata_pmp_attach() 561 struct ata_link *link = dev->link; in sata_pmp_detach() local 579 link->pmp = 0; in sata_pmp_detach() 650 struct ata_link *link = dev->link; in sata_pmp_revalidate() local 755 struct ata_link *link = &ap->link; in sata_pmp_eh_recover_pmp() local [all …]
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00link.c | 183 struct link *link = &rt2x00dev->link; in rt2x00link_update_stats() local 222 struct link *link = &rt2x00dev->link; in rt2x00link_start_tuner() local 268 rt2x00dev->link.count = 0; in rt2x00link_reset_tuner() 298 static void rt2x00link_tuner_sta(struct rt2x00_dev *rt2x00dev, struct link *link) in rt2x00link_tuner_sta() argument 345 struct link *link = &rt2x00dev->link; in rt2x00link_tuner() local 375 link->count++; in rt2x00link_tuner() 384 struct link *link = &rt2x00dev->link; in rt2x00link_start_watchdog() local 389 &link->watchdog_work, in rt2x00link_start_watchdog() 402 struct link *link = &rt2x00dev->link; in rt2x00link_watchdog() local 415 &link->watchdog_work, in rt2x00link_watchdog() [all …]
|
/linux/drivers/tty/serial/8250/ |
A D | serial_cs.c | 317 info->p_dev = link; in serial_probe() 318 link->priv = info; in serial_probe() 344 serial_remove(link); in serial_detach() 487 return setup_serial(link, info, link->resource[0]->start, link->irq); in simple_config() 552 if (!link->irq) in multi_config() 573 setup_serial(link, info, base2, link->irq); in multi_config() 576 setup_serial(link, info, link->resource[0]->start, in multi_config() 577 link->irq); in multi_config() 591 setup_serial(link, info, link->resource[0]->start, link->irq); in multi_config() 594 link->irq); in multi_config() [all …]
|
/linux/drivers/net/arcnet/ |
A D | com20020_cs.c | 172 com20020_release(link); in com20020_detach() 176 if (link->priv) { in com20020_detach() 196 info = link->priv; in com20020_config() 207 link->io_lines = 16; in com20020_config() 229 link->irq); in com20020_config() 230 if (!link->irq) { in com20020_config() 235 dev->irq = link->irq; in com20020_config() 255 dev_notice(&link->dev, in com20020_config() 266 com20020_release(link); in com20020_config() 281 if (link->open) in com20020_suspend() [all …]
|
/linux/drivers/net/wireless/intersil/orinoco/ |
A D | spectrum_cs.c | 84 if (!pcmcia_dev_present(link)) in spectrum_reset() 137 spectrum_reset(link, 0); in spectrum_cs_hard_reset() 148 return spectrum_reset(link, idle); in spectrum_cs_stop_firmware() 169 card->p_dev = link; in spectrum_cs_probe() 170 link->priv = priv; in spectrum_cs_probe() 172 return spectrum_cs_config(link); in spectrum_cs_probe() 181 spectrum_cs_release(link); in spectrum_cs_detach() 231 ret = pcmcia_enable_device(link); in spectrum_cs_config() 247 link->irq, NULL) != 0) { in spectrum_cs_config() 255 spectrum_cs_release(link); in spectrum_cs_config() [all …]
|
/linux/drivers/scsi/pcmcia/ |
A D | qlogic_stub.c | 155 info->p_dev = link; in qlogic_probe() 156 link->priv = info; in qlogic_probe() 160 return qlogic_config(link); in qlogic_probe() 169 qlogic_release(link); in qlogic_detach() 170 kfree(link->priv); in qlogic_detach() 190 scsi_info_t *info = link->priv; in qlogic_config() 200 if (!link->irq) in qlogic_config() 217 link->resource[0]->start + 16, link->irq); in qlogic_config() 220 link->resource[0]->start, link->irq); in qlogic_config() 232 pcmcia_disable_device(link); in qlogic_config() [all …]
|
/linux/drivers/media/mc/ |
A D | mc-entity.c | 314 link = list_entry(link_top(graph), typeof(*link), list); in media_graph_walk_iter() 321 link->source->entity->name, link->source->index, in media_graph_walk_iter() 322 link->sink->entity->name, link->sink->index); in media_graph_walk_iter() 453 ? link->sink : link->source; in __media_pipeline_start() 593 link = kzalloc(sizeof(*link), GFP_KERNEL); in media_add_link() 599 return link; in media_add_link() 630 kfree(link); in __media_entity_remove_link() 813 link->source, link->sink, flags); in __media_entity_setup_link_notify() 818 link->sink, link->source, flags); in __media_entity_setup_link_notify() 821 link->source, link->sink, link->flags); in __media_entity_setup_link_notify() [all …]
|
/linux/drivers/net/wireless/cisco/ |
A D | airo_cs.c | 80 dev_dbg(&link->dev, "airo_detach\n"); in airo_detach() 82 airo_release(link); in airo_detach() 90 kfree(link->priv); in airo_detach() 106 dev_dbg(&link->dev, "airo_config\n"); in airo_config() 115 if (!link->irq) in airo_config() 118 ret = pcmcia_enable_device(link); in airo_config() 122 init_airo_card(link->irq, in airo_config() 123 link->resource[0]->start, 1, &link->dev); in airo_config() 130 airo_release(link); in airo_config() 137 pcmcia_disable_device(link); in airo_release() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/inc/ |
A D | dc_link_dp.h | 58 struct dc_link *link, 63 struct dc_link *link, 68 struct dc_link *link); 71 struct dc_link *link, 91 struct dc_link *link, 116 struct dc_link *link, 120 struct dc_link *link, 125 struct dc_link *link, 133 struct dc_link *link, 164 struct dc_link *link, [all …]
|
/linux/sound/pcmcia/pdaudiocf/ |
A D | pdaudiocf.c | 50 free_irq(link->irq, link->priv); in pdacf_release() 51 pcmcia_disable_device(link); in pdacf_release() 61 pdacf_release(link); in snd_pdacf_free() 125 pdacf->p_dev = link; in snd_pdacf_probe() 126 link->priv = pdacf; in snd_pdacf_probe() 132 link->config_index = 1; in snd_pdacf_probe() 135 return pdacf_config(link); in snd_pdacf_probe() 207 link->config_index = 0x5; in pdacf_config() 216 IRQF_SHARED, link->devname, link->priv); in pdacf_config() 225 link->irq) < 0) in pdacf_config() [all …]
|
/linux/sound/soc/qcom/ |
A D | common.c | 55 link = card->dai_link; in qcom_snd_parse_of() 64 link->cpus = &dlc[0]; in qcom_snd_parse_of() 67 link->num_cpus = 1; in qcom_snd_parse_of() 99 link->name, ret); in qcom_snd_parse_of() 113 link->platforms->of_node = link->cpus->of_node; in qcom_snd_parse_of() 121 link->name, ret); in qcom_snd_parse_of() 127 link->no_pcm = 1; in qcom_snd_parse_of() 138 link->codecs = dlc; in qcom_snd_parse_of() 143 link->dynamic = 1; in qcom_snd_parse_of() 153 link->stream_name = link->name; in qcom_snd_parse_of() [all …]
|
/linux/drivers/parport/ |
A D | parport_cs.c | 92 link->priv = info; in parport_probe() 93 info->p_dev = link; in parport_probe() 97 return parport_config(link); in parport_probe() 104 parport_cs_release(link); in parport_detach() 106 kfree(link->priv); in parport_detach() 134 if (!link->irq) in parport_config() 141 link->resource[1]->start, in parport_config() 146 (unsigned int)link->resource[0]->start, link->irq); in parport_config() 159 parport_cs_release(link); in parport_config() 160 kfree(link->priv); in parport_config() [all …]
|