/Linux-v5.15/drivers/gpu/drm/msm/dp/ |
D | dp_link.c | 48 struct dp_link_info *link) in dp_aux_link_power_up() argument 53 if (link->revision < 0x11) in dp_aux_link_power_up() 73 struct dp_link_info *link) in dp_aux_link_power_down() argument 78 if (link->revision < 0x11) in dp_aux_link_power_down() 95 static int dp_link_get_period(struct dp_link_private *link, int const addr) in dp_link_get_period() argument 102 if (drm_dp_dpcd_readb(link->aux, addr, &data) < 0) { in dp_link_get_period() 121 static int dp_link_parse_audio_channel_period(struct dp_link_private *link) in dp_link_parse_audio_channel_period() argument 124 struct dp_link_test_audio *req = &link->dp_link.test_audio; in dp_link_parse_audio_channel_period() 126 ret = dp_link_get_period(link, DP_TEST_AUDIO_PERIOD_CH1); in dp_link_parse_audio_channel_period() 133 ret = dp_link_get_period(link, DP_TEST_AUDIO_PERIOD_CH2); in dp_link_parse_audio_channel_period() [all …]
|
/Linux-v5.15/drivers/gpu/drm/tegra/ |
D | dp.c | 34 static void drm_dp_link_reset(struct drm_dp_link *link) in drm_dp_link_reset() argument 38 if (!link) in drm_dp_link_reset() 41 link->revision = 0; in drm_dp_link_reset() 42 link->max_rate = 0; in drm_dp_link_reset() 43 link->max_lanes = 0; in drm_dp_link_reset() 45 drm_dp_link_caps_reset(&link->caps); in drm_dp_link_reset() 46 link->aux_rd_interval.cr = 0; in drm_dp_link_reset() 47 link->aux_rd_interval.ce = 0; in drm_dp_link_reset() 48 link->edp = 0; in drm_dp_link_reset() 50 link->rate = 0; in drm_dp_link_reset() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link.c | 67 static void dc_link_destruct(struct dc_link *link) in dc_link_destruct() argument 71 if (link->hpd_gpio) { in dc_link_destruct() 72 dal_gpio_destroy_irq(&link->hpd_gpio); in dc_link_destruct() 73 link->hpd_gpio = NULL; in dc_link_destruct() 76 if (link->ddc) in dc_link_destruct() 77 dal_ddc_service_destroy(&link->ddc); in dc_link_destruct() 79 if (link->panel_cntl) in dc_link_destruct() 80 link->panel_cntl->funcs->destroy(&link->panel_cntl); in dc_link_destruct() 82 if (link->link_enc) { in dc_link_destruct() 87 if (link->link_id.id != CONNECTOR_ID_VIRTUAL) { in dc_link_destruct() [all …]
|
D | dc_link_dp.c | 47 link->ctx->logger 72 static uint32_t get_cr_training_aux_rd_interval(struct dc_link *link, in get_cr_training_aux_rd_interval() argument 80 link, in get_cr_training_aux_rd_interval() 90 struct dc_link *link, in get_eq_training_aux_rd_interval() argument 98 if (link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) { in get_eq_training_aux_rd_interval() 102 link, in get_eq_training_aux_rd_interval() 115 struct dc_link *link, in dp_wait_for_training_aux_rd_interval() argument 127 struct dc_link *link, in dc_dp_training_pattern_to_dpcd_training_pattern() argument 160 struct dc_link *link, in dpcd_set_training_pattern() argument 167 link, training_pattern); in dpcd_set_training_pattern() [all …]
|
D | dc_link_hwss.c | 46 static inline bool is_immediate_downstream(struct dc_link *link, uint32_t offset) in is_immediate_downstream() argument 48 return (convert_to_count(link->dpcd_caps.lttpr_caps.phy_repeater_cnt) == offset); in is_immediate_downstream() 51 void dp_receiver_power_ctrl(struct dc_link *link, bool on) in dp_receiver_power_ctrl() argument 57 if (link->sync_lt_in_progress) in dp_receiver_power_ctrl() 60 core_link_write_dpcd(link, DP_SET_POWER, &state, in dp_receiver_power_ctrl() 65 struct dc_link *link, in dp_enable_link_phy() argument 71 struct dc *dc = link->ctx->dc; in dp_enable_link_phy() 75 link->dc->current_state->res_ctx.pipe_ctx; in dp_enable_link_phy() 77 link->dc->res_pool->dp_clock_source; in dp_enable_link_phy() 81 if (link->is_dig_mapping_flexible && dc->res_pool->funcs->link_encs_assign) in dp_enable_link_phy() [all …]
|
/Linux-v5.15/drivers/acpi/ |
D | pci_link.c | 87 struct acpi_pci_link *link = context; in acpi_pci_link_check_possible() local 88 acpi_handle handle = link->device->handle; in acpi_pci_link_check_possible() 112 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible() 113 link->irq.possible_count++; in acpi_pci_link_check_possible() 115 link->irq.triggering = p->triggering; in acpi_pci_link_check_possible() 116 link->irq.polarity = p->polarity; in acpi_pci_link_check_possible() 117 link->irq.resource_type = ACPI_RESOURCE_TYPE_IRQ; in acpi_pci_link_check_possible() 138 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible() 139 link->irq.possible_count++; in acpi_pci_link_check_possible() 141 link->irq.triggering = p->triggering; in acpi_pci_link_check_possible() [all …]
|
/Linux-v5.15/net/smc/ |
D | smc_wr.c | 44 struct smc_link *link; member 55 static inline bool smc_wr_is_tx_pend(struct smc_link *link) in smc_wr_is_tx_pend() argument 57 if (find_first_bit(link->wr_tx_mask, link->wr_tx_cnt) != in smc_wr_is_tx_pend() 58 link->wr_tx_cnt) { in smc_wr_is_tx_pend() 65 int smc_wr_tx_wait_no_pending_sends(struct smc_link *link) in smc_wr_tx_wait_no_pending_sends() argument 67 if (wait_event_timeout(link->wr_tx_wait, !smc_wr_is_tx_pend(link), in smc_wr_tx_wait_no_pending_sends() 74 static inline int smc_wr_tx_find_pending_index(struct smc_link *link, u64 wr_id) in smc_wr_tx_find_pending_index() argument 78 for (i = 0; i < link->wr_tx_cnt; i++) { in smc_wr_tx_find_pending_index() 79 if (link->wr_tx_pends[i].wr_id == wr_id) in smc_wr_tx_find_pending_index() 82 return link->wr_tx_cnt; in smc_wr_tx_find_pending_index() [all …]
|
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/ |
D | q_in_q_veto.sh | 28 ip link set dev $swp1 up 29 ip link set dev $swp2 up 38 ip link set dev $swp2 down 39 ip link set dev $swp1 down 49 ip link add dev br0 type bridge vlan_filtering 1 \ 52 ip link set dev br0 up 53 ip link set dev $swp1 master br0 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 [all …]
|
D | vxlan.sh | 20 ip link set dev $swp1 up 21 ip link set dev $swp2 up 28 ip link set dev $swp2 down 29 ip link set dev $swp1 down 34 ip link set dev $swp1 master br0 36 ip link set dev vxlan0 master br0 39 ip link set dev $swp1 nomaster 41 ip link set dev $swp1 master br0 47 ip link set dev $swp1 master br0 49 ip link set dev vxlan0 master br0 &> /dev/null [all …]
|
D | extack.sh | 22 ip link set dev $swp1 up 23 ip link set dev $swp2 up 30 ip link set dev $swp2 down 31 ip link set dev $swp1 down 38 ip link add name br1 up type bridge vlan_filtering 0 mcast_snooping 0 39 ip link add name vx1 up type vxlan id 1000 \ 43 ip link set dev vx1 master br1 46 ip link set dev $swp1 master br1 49 ip link add name br2 up type bridge vlan_filtering 0 mcast_snooping 0 50 ip link add name vx2 up type vxlan id 2000 \ [all …]
|
D | rtnetlink.sh | 51 ip link set dev $swp1 up 52 ip link set dev $swp2 up 59 ip link set dev $swp2 down 60 ip link set dev $swp1 down 79 ip link set dev $swp1 addr 00:11:22:33:44:55 90 ip link set dev $swp2 addr 00:11:22:33:44:66 97 ip link set dev $swp2 addr 00:11:22:33:00:66 &>/dev/null 99 ip link set dev $swp2 addr 00:11:22:33:00:66 2>&1 >/dev/null \ 108 ip link set dev $swp2 addr $swp2_mac 109 ip link set dev $swp1 addr $swp1_mac [all …]
|
/Linux-v5.15/drivers/pci/pcie/ |
D | aspm.c | 108 static int policy_to_aspm_state(struct pcie_link_state *link) in policy_to_aspm_state() argument 121 return link->aspm_default; in policy_to_aspm_state() 126 static int policy_to_clkpm_state(struct pcie_link_state *link) in policy_to_clkpm_state() argument 137 return link->clkpm_default; in policy_to_clkpm_state() 142 static void pcie_set_clkpm_nocheck(struct pcie_link_state *link, int enable) in pcie_set_clkpm_nocheck() argument 145 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_set_clkpm_nocheck() 152 link->clkpm_enabled = !!enable; in pcie_set_clkpm_nocheck() 155 static void pcie_set_clkpm(struct pcie_link_state *link, int enable) in pcie_set_clkpm() argument 161 if (!link->clkpm_capable || link->clkpm_disable) in pcie_set_clkpm() 164 if (link->clkpm_enabled == enable) in pcie_set_clkpm() [all …]
|
/Linux-v5.15/drivers/ata/ |
D | libata-pmp.c | 38 static unsigned int sata_pmp_read(struct ata_link *link, int reg, u32 *r_val) in sata_pmp_read() argument 40 struct ata_port *ap = link->ap; in sata_pmp_read() 41 struct ata_device *pmp_dev = ap->link.device; in sata_pmp_read() 50 tf.device = link->pmp; in sata_pmp_read() 75 static unsigned int sata_pmp_write(struct ata_link *link, int reg, u32 val) in sata_pmp_write() argument 77 struct ata_port *ap = link->ap; in sata_pmp_write() 78 struct ata_device *pmp_dev = ap->link.device; in sata_pmp_write() 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 112 struct ata_port *ap = link->ap; in sata_pmp_qc_defer_cmd_switch() [all …]
|
/Linux-v5.15/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00link.c | 38 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_get_link_rssi() 40 if (rt2x00dev->link.qual.rx_success) in rt2x00link_antenna_get_link_rssi() 48 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_get_rssi_history() 58 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_update_rssi_history() 64 ewma_rssi_init(&rt2x00dev->link.ant.rssi_ant); in rt2x00link_antenna_reset() 69 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity_sample() 110 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity_eval() 150 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity() 171 } else if (rt2x00dev->link.count & 1) { in rt2x00lib_antenna_diversity() 183 struct link *link = &rt2x00dev->link; in rt2x00link_update_stats() local [all …]
|
/Linux-v5.15/drivers/net/arcnet/ |
D | com20020_cs.c | 104 static int com20020_config(struct pcmcia_device *link); 105 static void com20020_release(struct pcmcia_device *link); 153 static void com20020_detach(struct pcmcia_device *link) in com20020_detach() argument 155 struct com20020_dev *info = link->priv; in com20020_detach() 158 dev_dbg(&link->dev, "detach...\n"); in com20020_detach() 160 dev_dbg(&link->dev, "com20020_detach\n"); in com20020_detach() 162 dev_dbg(&link->dev, "unregister...\n"); in com20020_detach() 172 com20020_release(link); in com20020_detach() 175 dev_dbg(&link->dev, "unlinking...\n"); in com20020_detach() 176 if (link->priv) { in com20020_detach() [all …]
|
/Linux-v5.15/drivers/net/wireless/intersil/orinoco/ |
D | spectrum_cs.c | 63 static int spectrum_cs_config(struct pcmcia_device *link); 64 static void spectrum_cs_release(struct pcmcia_device *link); 77 spectrum_reset(struct pcmcia_device *link, int idle) in spectrum_reset() argument 84 if (!pcmcia_dev_present(link)) in spectrum_reset() 88 ret = pcmcia_read_config_byte(link, CISREG_COR, &save_cor); in spectrum_reset() 93 ret = pcmcia_write_config_byte(link, CISREG_COR, in spectrum_reset() 100 ret = pcmcia_read_config_byte(link, CISREG_CCSR, &ccsr); in spectrum_reset() 109 ret = pcmcia_write_config_byte(link, CISREG_CCSR, ccsr); in spectrum_reset() 115 ret = pcmcia_write_config_byte(link, CISREG_COR, in spectrum_reset() 134 struct pcmcia_device *link = card->p_dev; in spectrum_cs_hard_reset() local [all …]
|
/Linux-v5.15/drivers/net/wireless/cisco/ |
D | airo_cs.c | 53 static int airo_config(struct pcmcia_device *link); 54 static void airo_release(struct pcmcia_device *link); 78 static void airo_detach(struct pcmcia_device *link) in airo_detach() argument 80 dev_dbg(&link->dev, "airo_detach\n"); in airo_detach() 82 airo_release(link); in airo_detach() 84 if (((struct local_info *)link->priv)->eth_dev) { in airo_detach() 85 stop_airo_card(((struct local_info *)link->priv)->eth_dev, in airo_detach() 88 ((struct local_info *)link->priv)->eth_dev = NULL; in airo_detach() 90 kfree(link->priv); in airo_detach() 102 static int airo_config(struct pcmcia_device *link) in airo_config() argument [all …]
|
/Linux-v5.15/drivers/scsi/pcmcia/ |
D | qlogic_stub.c | 86 static void qlogic_release(struct pcmcia_device *link); 88 static int qlogic_config(struct pcmcia_device * link); 91 struct pcmcia_device *link, int qbase, int qlirq) in qlogic_detect() argument 145 static int qlogic_probe(struct pcmcia_device *link) in qlogic_probe() argument 149 dev_dbg(&link->dev, "qlogic_attach()\n"); in qlogic_probe() 155 info->p_dev = link; in qlogic_probe() 156 link->priv = info; in qlogic_probe() 157 link->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_SET_IO; in qlogic_probe() 158 link->config_regs = PRESENT_OPTION; in qlogic_probe() 160 return qlogic_config(link); in qlogic_probe() [all …]
|
/Linux-v5.15/drivers/tty/serial/8250/ |
D | serial_cs.c | 108 static void quirk_setup_brainboxes_0104(struct pcmcia_device *link, struct uart_8250_port *uart) in quirk_setup_brainboxes_0104() argument 113 static int quirk_post_ibm(struct pcmcia_device *link) in quirk_post_ibm() argument 118 ret = pcmcia_read_config_byte(link, 0x800, &val); in quirk_post_ibm() 122 ret = pcmcia_write_config_byte(link, 0x800, val | 1); in quirk_post_ibm() 135 static void quirk_config_nokia(struct pcmcia_device *link) in quirk_config_nokia() argument 137 struct serial_info *info = link->priv; in quirk_config_nokia() 143 static void quirk_wakeup_oxsemi(struct pcmcia_device *link) in quirk_wakeup_oxsemi() argument 145 struct serial_info *info = link->priv; in quirk_wakeup_oxsemi() 157 static void quirk_wakeup_possio_gcc(struct pcmcia_device *link) in quirk_wakeup_possio_gcc() argument 159 struct serial_info *info = link->priv; in quirk_wakeup_possio_gcc() [all …]
|
/Linux-v5.15/drivers/parport/ |
D | parport_cs.c | 80 static int parport_config(struct pcmcia_device *link); 83 static int parport_probe(struct pcmcia_device *link) in parport_probe() argument 87 dev_dbg(&link->dev, "parport_attach()\n"); in parport_probe() 92 link->priv = info; in parport_probe() 93 info->p_dev = link; in parport_probe() 95 link->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_SET_IO; in parport_probe() 97 return parport_config(link); in parport_probe() 100 static void parport_detach(struct pcmcia_device *link) in parport_detach() argument 102 dev_dbg(&link->dev, "parport_detach\n"); in parport_detach() 104 parport_cs_release(link); in parport_detach() [all …]
|
/Linux-v5.15/sound/soc/qcom/ |
D | common.c | 15 struct snd_soc_dai_link *link; in qcom_snd_parse_of() local 50 card->dai_link = devm_kcalloc(dev, num_links, sizeof(*link), GFP_KERNEL); in qcom_snd_parse_of() 55 link = card->dai_link; in qcom_snd_parse_of() 64 link->cpus = &dlc[0]; in qcom_snd_parse_of() 65 link->platforms = &dlc[1]; in qcom_snd_parse_of() 67 link->num_cpus = 1; in qcom_snd_parse_of() 68 link->num_platforms = 1; in qcom_snd_parse_of() 70 ret = of_property_read_string(np, "link-name", &link->name); in qcom_snd_parse_of() 81 dev_err(dev, "%s: Can't find cpu DT node\n", link->name); in qcom_snd_parse_of() 89 dev_err(card->dev, "%s: error getting cpu phandle\n", link->name); in qcom_snd_parse_of() [all …]
|
/Linux-v5.15/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf.c | 45 static int pdacf_config(struct pcmcia_device *link); 48 static void pdacf_release(struct pcmcia_device *link) in pdacf_release() argument 50 free_irq(link->irq, link->priv); in pdacf_release() 51 pcmcia_disable_device(link); in pdacf_release() 59 struct pcmcia_device *link = pdacf->p_dev; in snd_pdacf_free() local 61 pdacf_release(link); in snd_pdacf_free() 79 static int snd_pdacf_probe(struct pcmcia_device *link) in snd_pdacf_probe() argument 102 err = snd_card_new(&link->dev, index[i], id[i], THIS_MODULE, in snd_pdacf_probe() 125 pdacf->p_dev = link; in snd_pdacf_probe() 126 link->priv = pdacf; in snd_pdacf_probe() [all …]
|
/Linux-v5.15/drivers/media/mc/ |
D | mc-entity.c | 106 struct media_link *link = gobj_to_link(gobj); in dev_dbg_obj() local 111 media_type(link->gobj0) == MEDIA_GRAPH_PAD ? in dev_dbg_obj() 113 media_id(link->gobj0), in dev_dbg_obj() 114 media_id(link->gobj1)); in dev_dbg_obj() 232 media_entity_other(struct media_entity *entity, struct media_link *link) in media_entity_other() argument 234 if (link->source->entity == entity) in media_entity_other() 235 return link->sink->entity; in media_entity_other() 237 return link->source->entity; in media_entity_other() 249 graph->stack[graph->top].link = entity->links.next; in stack_push() 263 #define link_top(en) ((en)->stack[(en)->top].link) [all …]
|
/Linux-v5.15/drivers/net/wireless/atmel/ |
D | atmel_cs.c | 63 static int atmel_config(struct pcmcia_device *link); 64 static void atmel_release(struct pcmcia_device *link); 88 static void atmel_detach(struct pcmcia_device *link) in atmel_detach() argument 90 dev_dbg(&link->dev, "atmel_detach\n"); in atmel_detach() 92 atmel_release(link); in atmel_detach() 94 kfree(link->priv); in atmel_detach() 101 struct pcmcia_device *link = (struct pcmcia_device *)arg; in card_present() local 103 if (pcmcia_dev_present(link)) in card_present() 117 static int atmel_config(struct pcmcia_device *link) in atmel_config() argument 122 did = dev_get_drvdata(&link->dev); in atmel_config() [all …]
|
/Linux-v5.15/tools/testing/selftests/net/forwarding/ |
D | dual_vxlan_bridge.sh | 133 ip link add name br1 type bridge vlan_filtering 1 \ 137 ip link set dev br1 address $(mac_get $swp1) 138 ip link set dev br1 up 141 ip link add name br2 type bridge vlan_filtering 0 mcast_snooping 0 144 ip link set dev br2 address $(mac_get $swp2) 145 ip link set dev br2 up 147 ip link set dev $rp1 up 151 ip link add name vx100 type vxlan id 1000 local 192.0.2.17 \ 153 ip link set dev vx100 up 155 ip link set dev vx100 master br1 [all …]
|