/linux/drivers/acpi/ |
H A D | nhlt.c | 58 * @link_type: the hardware link type, e.g.: PDM or SSP. 63 * Either of @link_type, @dev_type, @dir or @bus_id may be set to a negative 69 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() 82 * @link_type: the hardware link type, e.g.: PDM or SSP. 87 * Either of @link_type, @dev_type, @dir or @bus_id may be set to a negative 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_typ in acpi_nhlt_tb_find_endpoint() 120 acpi_nhlt_find_endpoint(int link_type,int dev_type,int dir,int bus_id) acpi_nhlt_find_endpoint() argument 181 acpi_nhlt_tb_find_fmtcfg(const struct acpi_table_nhlt * tb,int link_type,int dev_type,int dir,int bus_id,u16 ch,u32 rate,u16 vbps,u16 bps) acpi_nhlt_tb_find_fmtcfg() argument 219 acpi_nhlt_find_fmtcfg(int link_type,int dev_type,int dir,int bus_id,u16 ch,u32 rate,u16 vbps,u16 bps) acpi_nhlt_find_fmtcfg() argument [all...] |
/linux/include/acpi/ |
H A D | nhlt.h | 103 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, in argument [all...] |
/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_oldi.c | 30 enum tidss_oldi_link_type link_type; member 126 switch (oldi->link_type) { in tidss_oldi_tx_power() 150 switch (oldi->link_type) { in tidss_oldi_tx_power() 194 switch (oldi->link_type) { in tidss_oldi_config() 232 if (oldi->link_type == OLDI_MODE_SECONDARY_CLONE_SINGLE_LINK) in tidss_oldi_atomic_pre_enable() 265 if (oldi->link_type == OLDI_MODE_SECONDARY_CLONE_SINGLE_LINK) in tidss_oldi_atomic_post_disable() 445 enum tidss_oldi_link_type link_type = OLDI_MODE_UNSUPPORTED; in tidss_oldi_init() local 498 link_type = get_oldi_mode(child, &companion_instance); in tidss_oldi_init() 499 if (link_type == OLDI_MODE_UNSUPPORTED) { in tidss_oldi_init() 504 } else if ((link_type in tidss_oldi_init() [all...] |
/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_lvds.c | 80 enum rcar_lvds_link_type link_type; member 368 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK && lvds->companion) in rcar_lvds_enable() 395 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK) { in rcar_lvds_enable() 403 bool swap_pixels = lvds->link_type == in rcar_lvds_enable() 427 if ((lvds->link_type == RCAR_LVDS_SINGLE_LINK || lvds->companion) && in rcar_lvds_enable() 531 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK && lvds->companion) in rcar_lvds_disable() 663 return lvds->link_type != RCAR_LVDS_SINGLE_LINK; in rcar_lvds_dual_link() 719 lvds->link_type = RCAR_LVDS_DUAL_LINK_ODD_EVEN_PIXELS; in rcar_lvds_parse_dt_companion() 722 lvds->link_type = RCAR_LVDS_DUAL_LINK_EVEN_ODD_PIXELS; in rcar_lvds_parse_dt_companion() 733 lvds->link_type in rcar_lvds_parse_dt_companion() [all...] |
/linux/sound/hda/core/ |
H A D | intel-nhlt.c | 119 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 275 dev_dbg(dev, "Endpoint: vbus_id=%d link_type=%d dir=%d dev_type = %d\n", in nhlt_check_ep_match() 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 304 dev_dbg(dev, " vbus_id=%d link_type=%d dir=%d, dev_type=%d\n", in intel_nhlt_get_endpoint_blob() 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, di in intel_nhlt_get_endpoint_blob() [all...] |
/linux/include/sound/ |
H A D | intel-nhlt.h | 135 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/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-mac.h | 38 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 D | dpmac.c | 110 attr->link_type = rsp_params->link_type; in dpmac_get_attributes()
|
H A D | dpmac-cmd.h | 47 u8 link_type; member
|
H A D | dpaa2-mac.c | 370 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 D | dpmac.h | 72 * @link_type: link type 78 enum dpmac_link_type link_type; member
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | libbpf_str.c | 85 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/drivers/gpu/drm/bridge/imx/ |
H A D | imx-ldb-helper.c | 22 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 D | imx8qxp-ldb.c | 535 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 D | imx-ldb-helper.h | 54 enum ldb_channel_link_type link_type; member
|
H A D | imx8qm-ldb.c | 512 ldb_ch->link_type = pixel_order; in imx8qm_ldb_probe()
|
/linux/drivers/gpu/drm/stm/ |
H A D | lvds.c | 273 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() 1102 lvds->link_type = LVDS_DUAL_LINK_ODD_EVEN_PIXELS; in lvds_probe() 1107 lvds->link_type = LVDS_DUAL_LINK_EVEN_ODD_PIXELS; in lvds_probe() 1124 lvds->link_type = LVDS_SINGLE_LINK_PRIMARY; in lvds_probe() 1137 lvds->link_type = LVDS_SINGLE_LINK_SECONDARY; in lvds_probe()
|
/linux/drivers/comedi/drivers/ |
H A D | jr3_pci.c | 77 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 D | jr3_pci.h | 274 u32 link_type; member
|
/linux/drivers/net/usb/ |
H A D | sierra_net.c | 136 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/include/net/bluetooth/ |
H A D | hci_core.h | 2346 u8 link_type, u8 addr_type, u8 reason, 2349 u8 link_type, u8 addr_type, u8 status); 2358 u8 link_type, u8 addr_type, u32 value, 2361 u8 link_type, u8 addr_type, u8 status); 2363 u8 link_type, u8 addr_type, u8 status); 2365 u8 link_type, u8 addr_type); 2367 u8 link_type, u8 addr_type, u8 status); 2369 u8 link_type, u8 addr_type, u8 status); 2371 u8 link_type, u8 addr_type, u32 passkey, 2378 void mgmt_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, [all...] |
/linux/tools/testing/selftests/net/ |
H A D | tap.c | 83 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/sound/soc/intel/avs/ |
H A D | path.c | 232 int link_type, dev_type; in avs_nhlt_config_or_default() local 239 link_type = ACPI_NHLT_LINKTYPE_SSP; in avs_nhlt_config_or_default() 247 link_type = ACPI_NHLT_LINKTYPE_SSP; in avs_nhlt_config_or_default() 255 link_type = ACPI_NHLT_LINKTYPE_PDM; in avs_nhlt_config_or_default() 270 fmtcfg = acpi_nhlt_find_fmtcfg(link_type, dev_type, dir, bus_id, in avs_nhlt_config_or_default()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_crat.c | 1829 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()
|
/linux/net/bluetooth/ |
H A D | hci_event.c | 3084 conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr); in hci_conn_complete_evt() 3101 if (ev->link_type == ACL_LINK && in hci_conn_complete_evt() 3105 conn = hci_conn_add_unset(hdev, ev->link_type, in hci_conn_complete_evt() 3112 if (ev->link_type != SCO_LINK) in hci_conn_complete_evt() 3163 ev->link_type == ACL_LINK) { in hci_conn_complete_evt() 3200 } else if (ev->link_type == SCO_LINK) { in hci_conn_complete_evt() 3233 bt_dev_dbg(hdev, "bdaddr %pMR type 0x%x", &ev->bdaddr, ev->link_type); in hci_conn_request_evt() 3245 mask |= hci_proto_connect_ind(hdev, &ev->bdaddr, ev->link_type, in hci_conn_request_evt() 3279 conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, in hci_conn_request_evt() 3282 conn = hci_conn_add_unset(hdev, ev->link_type, in hci_conn_request_evt() [all...] |