Home
last modified time | relevance | path

Searched refs:link_type (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.15/drivers/acpi/
H A Dnhlt.c69 int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_endpoint_match() argument
72 (link_type < 0 || ep->link_type == link_type) && in acpi_nhlt_endpoint_match()
95 int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_tb_find_endpoint() argument
100 if (acpi_nhlt_endpoint_match(ep, link_type, dev_type, dir, bus_id)) in acpi_nhlt_tb_find_endpoint()
120 acpi_nhlt_find_endpoint(int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_find_endpoint() argument
123 return acpi_nhlt_tb_find_endpoint(acpi_gbl_nhlt, link_type, dev_type, dir, bus_id); in acpi_nhlt_find_endpoint()
181 int link_type, int dev_type, int dir, int bus_id, in acpi_nhlt_tb_find_fmtcfg() argument
188 if (!acpi_nhlt_endpoint_match(ep, link_type, dev_type, dir, bus_id)) in acpi_nhlt_tb_find_fmtcfg()
219 acpi_nhlt_find_fmtcfg(int link_type, int dev_type, int dir, int bus_id, in acpi_nhlt_find_fmtcfg() argument
223 return acpi_nhlt_tb_find_fmtcfg(acpi_gbl_nhlt, link_type, dev_type, dir, bus_id, in acpi_nhlt_find_fmtcfg()
[all …]
/linux-6.15/include/acpi/
H A Dnhlt.h103 int link_type, int dev_type, int dir, int bus_id);
106 int link_type, int dev_type, int dir, int bus_id);
108 acpi_nhlt_find_endpoint(int link_type, int dev_type, int dir, int bus_id);
114 int link_type, int dev_type, int dir, int bus_id,
117 acpi_nhlt_find_fmtcfg(int link_type, int dev_type, int dir, int bus_id,
134 int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_endpoint_match() argument
141 int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_tb_find_endpoint() argument
155 int link_type, int dev_type, int dir, int bus_id, in acpi_nhlt_tb_find_fmtcfg() argument
167 acpi_nhlt_find_endpoint(int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_find_endpoint() argument
173 acpi_nhlt_find_fmtcfg(int link_type, int dev_type, int dir, int bus_id, in acpi_nhlt_find_fmtcfg() argument
/linux-6.15/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_lvds.c80 enum rcar_lvds_link_type link_type; member
395 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK) { in rcar_lvds_enable()
403 bool swap_pixels = lvds->link_type == in rcar_lvds_enable()
662 return lvds->link_type != RCAR_LVDS_SINGLE_LINK; in rcar_lvds_dual_link()
718 lvds->link_type = RCAR_LVDS_DUAL_LINK_ODD_EVEN_PIXELS; in rcar_lvds_parse_dt_companion()
721 lvds->link_type = RCAR_LVDS_DUAL_LINK_EVEN_ODD_PIXELS; in rcar_lvds_parse_dt_companion()
732 lvds->link_type = RCAR_LVDS_DUAL_LINK_EVEN_ODD_PIXELS; in rcar_lvds_parse_dt_companion()
734 lvds->link_type = RCAR_LVDS_SINGLE_LINK; in rcar_lvds_parse_dt_companion()
737 if (lvds->link_type == RCAR_LVDS_SINGLE_LINK) { in rcar_lvds_parse_dt_companion()
752 if (lvds->link_type == RCAR_LVDS_DUAL_LINK_ODD_EVEN_PIXELS) in rcar_lvds_parse_dt_companion()
[all …]
/linux-6.15/sound/hda/
H A Dintel-nhlt.c119 bool intel_nhlt_has_endpoint_type(struct nhlt_acpi_table *nhlt, u8 link_type) in intel_nhlt_has_endpoint_type() argument
129 if (epnt->linktype == link_type) in intel_nhlt_has_endpoint_type()
273 u32 bus_id, u8 link_type, u8 dir, u8 dev_type) in nhlt_check_ep_match() argument
280 (epnt->linktype != link_type) || in nhlt_check_ep_match()
291 u32 bus_id, u8 link_type, u8 vbps, u8 bps, in intel_nhlt_get_endpoint_blob() argument
305 bus_id, link_type, dir, dev_type); in intel_nhlt_get_endpoint_blob()
306 if (link_type == NHLT_LINK_DMIC && bps == 32 && (vbps == 24 || vbps == 32)) { in intel_nhlt_get_endpoint_blob()
331 if (nhlt_check_ep_match(dev, epnt, bus_id, link_type, dir, dev_type)) { in intel_nhlt_get_endpoint_blob()
/linux-6.15/include/sound/
H A Dintel-nhlt.h135 bool intel_nhlt_has_endpoint_type(struct nhlt_acpi_table *nhlt, u8 link_type);
143 u32 bus_id, u8 link_type, u8 vbps, u8 bps,
167 u8 link_type) in intel_nhlt_has_endpoint_type() argument
184 u32 bus_id, u8 link_type, u8 vbps, u8 bps, in intel_nhlt_get_endpoint_blob() argument
/linux-6.15/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-mac.h38 return mac->attr.link_type == DPMAC_LINK_TYPE_PHY || in dpaa2_mac_is_type_phy()
39 mac->attr.link_type == DPMAC_LINK_TYPE_BACKPLANE; in dpaa2_mac_is_type_phy()
H A Ddpmac.c110 attr->link_type = rsp_params->link_type; in dpmac_get_attributes()
H A Ddpmac-cmd.h47 u8 link_type; member
H A Ddpaa2-mac.c370 mac->if_link_type = mac->attr.link_type; in dpaa2_mac_connect()
409 if ((mac->attr.link_type == DPMAC_LINK_TYPE_PHY && in dpaa2_mac_connect()
411 mac->attr.link_type == DPMAC_LINK_TYPE_BACKPLANE) { in dpaa2_mac_connect()
H A Ddpmac.h78 enum dpmac_link_type link_type; member
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dlibbpf_str.c85 enum bpf_link_type link_type = (enum bpf_link_type)e->val; in test_libbpf_bpf_link_type_str() local
90 if (link_type == __MAX_BPF_LINK_TYPE) in test_libbpf_bpf_link_type_str()
94 link_type_str = libbpf_bpf_link_type_str(link_type); in test_libbpf_bpf_link_type_str()
/linux-6.15/drivers/gpu/drm/bridge/imx/
H A Dimx-ldb-helper.c22 return ldb_ch->link_type == LDB_CH_SINGLE_LINK; in ldb_channel_is_single_link()
28 return ldb_ch->link_type == LDB_CH_DUAL_LINK_EVEN_ODD_PIXELS || in ldb_channel_is_split_link()
29 ldb_ch->link_type == LDB_CH_DUAL_LINK_ODD_EVEN_PIXELS; in ldb_channel_is_split_link()
H A Dimx8qxp-ldb.c535 ldb_ch->link_type = LDB_CH_DUAL_LINK_ODD_EVEN_PIXELS; in imx8qxp_ldb_parse_dt_companion()
538 ldb_ch->link_type = LDB_CH_DUAL_LINK_EVEN_ODD_PIXELS; in imx8qxp_ldb_parse_dt_companion()
569 companion_ldb_ch->link_type = ldb_ch->link_type; in imx8qxp_ldb_parse_dt_companion()
H A Dimx-ldb-helper.h54 enum ldb_channel_link_type link_type; member
/linux-6.15/drivers/gpu/drm/stm/
H A Dlvds.c273 u32 link_type; member
495 if (lvds_is_dual_link(lvds->link_type)) in lvds_pll_config()
648 if (lvds_is_dual_link(lvds->link_type)) in lvds_pixel_clk_recalc_rate()
708 if (lvds_is_dual_link(lvds->link_type)) in lvds_pixel_clk_round_rate()
861 switch (lvds->link_type) { in lvds_config_mode()
1103 lvds->link_type = LVDS_DUAL_LINK_ODD_EVEN_PIXELS; in lvds_probe()
1108 lvds->link_type = LVDS_DUAL_LINK_EVEN_ODD_PIXELS; in lvds_probe()
1125 lvds->link_type = LVDS_SINGLE_LINK_PRIMARY; in lvds_probe()
1138 lvds->link_type = LVDS_SINGLE_LINK_SECONDARY; in lvds_probe()
/linux-6.15/drivers/comedi/drivers/
H A Djr3_pci.c77 u16 link_type; member
140 set_u16(&sensor->transforms[num].link[i].link_type, in set_transforms()
141 transf->link[i].link_type); in set_transforms()
146 if (transf->link[i].link_type == end_x_form) in set_transforms()
477 transf.link[i].link_type = (enum link_types)0; in jr3_pci_poll_subdevice()
H A Djr3_pci.h274 u32 link_type; member
/linux-6.15/drivers/net/usb/
H A Dsierra_net.c136 u8 link_type; member
380 if (single->link_type != SIERRA_NET_AS_LINK_TYPE_IPV4 && in sierra_net_parse_lsi()
381 single->link_type != SIERRA_NET_AS_LINK_TYPE_IPV6) { in sierra_net_parse_lsi()
383 single->link_type); in sierra_net_parse_lsi()
/linux-6.15/include/net/bluetooth/
H A Dhci_core.h2349 u8 link_type, u8 addr_type, u8 reason,
2352 u8 link_type, u8 addr_type, u8 status);
2361 u8 link_type, u8 addr_type, u32 value,
2364 u8 link_type, u8 addr_type, u8 status);
2366 u8 link_type, u8 addr_type, u8 status);
2368 u8 link_type, u8 addr_type);
2370 u8 link_type, u8 addr_type, u8 status);
2372 u8 link_type, u8 addr_type, u8 status);
2374 u8 link_type, u8 addr_type, u32 passkey,
2381 void mgmt_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type,
[all …]
/linux-6.15/tools/testing/selftests/net/
H A Dtap.c83 static int dev_create(const char *dev, const char *link_type, in dev_create() argument
122 rtattr_add_strsz(&req.nh, IFLA_INFO_KIND, link_type); in dev_create()
/linux-6.15/net/bluetooth/
H A Dmgmt.c3223 switch (link_type) { in link_to_bdaddr()
9696 u8 link_type, u8 addr_type, u8 reason, in mgmt_device_disconnected() argument
9705 if (link_type != ACL_LINK && link_type != LE_LINK) in mgmt_device_disconnected()
9723 u8 link_type, u8 addr_type, u8 status) in mgmt_disconnect_failed() argument
9803 u8 link_type, u8 addr_type, u32 value, in mgmt_user_confirm_request() argument
9820 u8 link_type, u8 addr_type) in mgmt_user_passkey_request() argument
9850 u8 link_type, u8 addr_type, u8 status) in mgmt_user_confirm_reply_complete() argument
9857 u8 link_type, u8 addr_type, u8 status) in mgmt_user_confirm_neg_reply_complete() argument
9872 u8 link_type, u8 addr_type, u8 status) in mgmt_user_passkey_neg_reply_complete() argument
10305 if (link_type == ACL_LINK) in mgmt_device_found()
[all …]
H A Dhci_event.c3135 if (ev->link_type == ACL_LINK && in hci_conn_complete_evt()
3139 conn = hci_conn_add_unset(hdev, ev->link_type, in hci_conn_complete_evt()
3146 if (ev->link_type != SCO_LINK) in hci_conn_complete_evt()
3197 ev->link_type == ACL_LINK) { in hci_conn_complete_evt()
3234 } else if (ev->link_type == SCO_LINK) { in hci_conn_complete_evt()
3313 conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, in hci_conn_request_evt()
3316 conn = hci_conn_add_unset(hdev, ev->link_type, &ev->bdaddr, in hci_conn_request_evt()
3328 if (ev->link_type == ACL_LINK || in hci_conn_request_evt()
4943 switch (ev->link_type) { in hci_sync_conn_complete_evt()
4962 if (ev->link_type == ESCO_LINK) in hci_sync_conn_complete_evt()
[all …]
/linux-6.15/sound/soc/intel/avs/
H A Dpath.c230 int link_type, dev_type; in avs_nhlt_config_or_default() local
237 link_type = ACPI_NHLT_LINKTYPE_SSP; in avs_nhlt_config_or_default()
245 link_type = ACPI_NHLT_LINKTYPE_SSP; in avs_nhlt_config_or_default()
253 link_type = ACPI_NHLT_LINKTYPE_PDM; in avs_nhlt_config_or_default()
268 fmtcfg = acpi_nhlt_find_fmtcfg(link_type, dev_type, dir, bus_id, in avs_nhlt_config_or_default()
/linux-6.15/drivers/s390/net/
H A Dqeth_core_main.c125 switch (card->info.link_type) { in qeth_get_cardname_short()
781 switch (card->info.link_type) { in qeth_default_link_info()
803 card->info.link_type); in qeth_default_link_info()
2393 if (link_type == QETH_LINK_TYPE_LANE_TR || in qeth_is_supported_link_type()
2394 link_type == QETH_LINK_TYPE_HSTR) { in qeth_is_supported_link_type()
2462 u8 link_type = 0; in qeth_ulp_enable_cb() local
2480 memcpy(&link_type, in qeth_ulp_enable_cb()
2482 if (!qeth_is_supported_link_type(card, link_type)) in qeth_ulp_enable_cb()
2486 card->info.link_type = link_type; in qeth_ulp_enable_cb()
2487 QETH_CARD_TEXT_(card, 2, "link%d", card->info.link_type); in qeth_ulp_enable_cb()
[all …]
/linux-6.15/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c1829 uint8_t link_type; in kfd_fill_iolink_info_for_cpu() local
1832 link_type = CRAT_IOLINK_TYPE_HYPERTRANSPORT; in kfd_fill_iolink_info_for_cpu()
1834 link_type = CRAT_IOLINK_TYPE_QPI_1_1; in kfd_fill_iolink_info_for_cpu()
1857 sub_type_hdr->io_interface_type = link_type; in kfd_fill_iolink_info_for_cpu()

12