Home
last modified time | relevance | path

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

/linux/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/sound/hda/core/
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
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 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/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/drivers/net/usb/
H A Dsierra_net.c134 u8 link_type; member
378 if (single->link_type != SIERRA_NET_AS_LINK_TYPE_IPV4 && in sierra_net_parse_lsi()
379 single->link_type != SIERRA_NET_AS_LINK_TYPE_IPV6) { in sierra_net_parse_lsi()
381 single->link_type); in sierra_net_parse_lsi()
/linux/include/net/bluetooth/
H A Dhci_core.h2529 u8 link_type, u8 addr_type, u8 reason,
2532 u8 link_type, u8 addr_type, u8 status);
2541 u8 link_type, u8 addr_type, u32 value,
2544 u8 link_type, u8 addr_type, u8 status);
2546 u8 link_type, u8 addr_type, u8 status);
2548 u8 link_type, u8 addr_type);
2550 u8 link_type, u8 addr_type, u8 status);
2552 u8 link_type, u8 addr_type, u8 status);
2554 u8 link_type, u8 addr_type, u32 passkey,
2561 void mgmt_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type,
[all...]
H A Dhci.h2562 __u8 link_type;
2570 __u8 link_type;
2754 __u8 link_type;
2561 __u8 link_type; global() member
2569 __u8 link_type; global() member
2753 __u8 link_type; global() member
/linux/drivers/comedi/drivers/
H A Djr3_pci.h274 u32 link_type; member
/linux/tools/testing/selftests/net/
H A Dtap.c77 static int dev_create(const char *dev, const char *link_type, in dev_create() argument
116 rtattr_add_str(&req.nh, IFLA_INFO_KIND, link_type); in dev_create()
/linux/net/bluetooth/
H A Dmgmt.c3549 static u8 link_to_bdaddr(u8 link_type, u8 addr_type) in set_io_capability()
3551 switch (link_type) { in set_io_capability()
10464 u8 link_type, u8 addr_type, u8 reason, in eir_has_uuids()
10473 if (link_type != ACL_LINK && in eir_has_uuids()
10474 link_type != LE_LINK && in eir_has_uuids()
10475 link_type != BIS_LINK) in eir_has_uuids()
10479 ev.addr.type = link_to_bdaddr(link_type, addr_type); in eir_has_uuids()
10493 u8 link_type, u8 addr_type, u8 status) in eir_has_uuids()
10495 u8 bdaddr_type = link_to_bdaddr(link_type, addr_type); in eir_has_uuids()
10578 u8 link_type, u in mgmt_send_adv_monitor_device_found()
3374 link_to_bdaddr(u8 link_type,u8 addr_type) link_to_bdaddr() argument
10121 mgmt_device_disconnected(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 reason,bool mgmt_connected) mgmt_device_disconnected() argument
10150 mgmt_disconnect_failed(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_disconnect_failed() argument
10231 mgmt_user_confirm_request(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u32 value,u8 confirm_hint) mgmt_user_confirm_request() argument
10248 mgmt_user_passkey_request(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type) mgmt_user_passkey_request() argument
10262 user_pairing_resp_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status,u8 opcode) user_pairing_resp_complete() argument
10278 mgmt_user_confirm_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_confirm_reply_complete() argument
10285 mgmt_user_confirm_neg_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_confirm_neg_reply_complete() argument
10293 mgmt_user_passkey_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_passkey_reply_complete() argument
10300 mgmt_user_passkey_neg_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_passkey_neg_reply_complete() argument
10308 mgmt_user_passkey_notify(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u32 passkey,u8 entered) mgmt_user_passkey_notify() argument
10721 mgmt_device_found(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 * dev_class,s8 rssi,u32 flags,u8 * eir,u16 eir_len,u8 * scan_rsp,u8 scan_rsp_len,u64 instant) mgmt_device_found() argument
10813 mgmt_remote_name(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,s8 rssi,u8 * name,u8 name_len) mgmt_remote_name() argument
[all...]
H A Dhci_event.c3258 conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr); in hci_conn_complete_evt()
3276 if (ev->link_type == ACL_LINK && in hci_conn_complete_evt()
3280 conn = hci_conn_add_unset(hdev, ev->link_type, in hci_conn_complete_evt()
3288 if (ev->link_type != SCO_LINK) in hci_conn_complete_evt()
3339 ev->link_type == ACL_LINK) { in hci_conn_request_evt()
3376 } else if (ev->link_type == SCO_LINK) { in hci_conn_request_evt()
3409 bt_dev_dbg(hdev, "bdaddr %pMR type 0x%x", &ev->bdaddr, ev->link_type); in hci_conn_request_evt()
3425 mask |= hci_proto_connect_ind(hdev, &ev->bdaddr, ev->link_type, in hci_disconn_complete_evt()
3459 conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, in hci_disconn_complete_evt()
3462 conn = hci_conn_add_unset(hdev, ev->link_type, in hci_disconn_complete_evt()
[all...]
H A Dl2cap_core.c65 static inline u8 bdaddr_type(u8 link_type, u8 bdaddr_type) in bdaddr_type()
67 if (link_type == LE_LINK) { in bdaddr_type()
2005 u8 link_type)
2015 if (link_type == ACL_LINK && c->src_type != BDADDR_BREDR) in l2cap_ertm_send()
2018 if (link_type == LE_LINK && c->src_type == BDADDR_BREDR) in l2cap_ertm_send()
63 bdaddr_type(u8 link_type,u8 bdaddr_type) bdaddr_type() argument
1881 l2cap_global_chan_by_psm(int state,__le16 psm,bdaddr_t * src,bdaddr_t * dst,u8 link_type) l2cap_global_chan_by_psm() argument
/linux/sound/soc/intel/avs/
H A Dpath.c281 int link_type, dev_type; in avs_nhlt_config_or_default() local
288 link_type = ACPI_NHLT_LINKTYPE_SSP; in avs_nhlt_config_or_default()
296 link_type = ACPI_NHLT_LINKTYPE_SSP; in avs_nhlt_config_or_default()
304 link_type = ACPI_NHLT_LINKTYPE_PDM; in avs_nhlt_config_or_default()
319 fmtcfg = acpi_nhlt_find_fmtcfg(link_type, dev_type, dir, bus_id, in avs_nhlt_config_or_default()
/linux/drivers/s390/net/
H A Dqeth_core_main.c124 switch (card->info.link_type) { in qeth_get_cardname_short()
780 switch (card->info.link_type) { in qeth_default_link_info()
802 card->info.link_type); in qeth_default_link_info()
2390 static bool qeth_is_supported_link_type(struct qeth_card *card, u8 link_type) in qeth_is_supported_link_type() argument
2392 if (link_type == QETH_LINK_TYPE_LANE_TR || in qeth_is_supported_link_type()
2393 link_type == QETH_LINK_TYPE_HSTR) { in qeth_is_supported_link_type()
2461 u8 link_type = 0; in qeth_ulp_enable_cb() local
2479 memcpy(&link_type, in qeth_ulp_enable_cb()
2481 if (!qeth_is_supported_link_type(card, link_type)) in qeth_ulp_enable_cb()
2485 card->info.link_type = link_type; in qeth_ulp_enable_cb()
[all …]
H A Dqeth_core.h727 enum qeth_link_types link_type; member
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c1851 uint8_t link_type; in kfd_fill_iolink_info_for_cpu() local
1854 link_type = CRAT_IOLINK_TYPE_HYPERTRANSPORT; in kfd_fill_iolink_info_for_cpu()
1856 link_type = CRAT_IOLINK_TYPE_QPI_1_1; in kfd_fill_iolink_info_for_cpu()
1879 sub_type_hdr->io_interface_type = link_type; in kfd_fill_iolink_info_for_cpu()
/linux/drivers/media/mc/
H A Dmc-entity.c1673 unsigned long link_type) in __media_entity_next_link()
1679 if ((link->flags & MEDIA_LNK_FL_LINK_TYPE) == link_type)
1664 __media_entity_next_link(struct media_entity * entity,struct media_link * link,unsigned long link_type) __media_entity_next_link() argument
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq_cmd.h1616 u8 link_type[4]; member
H A Di40e_common.c1364 memcpy(&tmp, resp->link_type, sizeof(tmp)); in i40e_aq_get_link_info()