Home
last modified time | relevance | path

Searched refs:is_port (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/hwtracing/ptt/
H A Dhisi_ptt.c156 static u16 hisi_ptt_get_filter_val(u16 devid, bool is_port) in hisi_ptt_get_filter_val() argument
158 if (is_port) in hisi_ptt_get_filter_val()
234 if (!hisi_ptt->trace_ctrl.is_port) in hisi_ptt_trace_start()
363 if (filter->is_port) in hisi_ptt_del_free_filter()
372 hisi_ptt_alloc_add_filter(struct hisi_ptt *hisi_ptt, u16 devid, bool is_port) in hisi_ptt_alloc_add_filter() argument
396 filter->is_port = is_port; in hisi_ptt_alloc_add_filter()
399 if (filter->is_port) { in hisi_ptt_alloc_add_filter()
418 filter_val = hisi_ptt_get_filter_val(filter->devid, filter->is_port) | in hisi_ptt_filter_show()
419 (filter->is_port ? HISI_PTT_PMU_FILTER_IS_PORT : 0); in hisi_ptt_filter_show()
475 if (filter->is_port) in hisi_ptt_create_filter_attr()
[all …]
H A Dhisi_ptt.h137 bool is_port; member
164 bool is_port; member
176 bool is_port; member
/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_mld.sh572 local is_port=$1
575 [[ $is_port -ne 1 ]] && msg="vlan"
590 [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 0
591 [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 4
596 [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 3
597 [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 3
H A Dbridge_igmp.sh573 local is_port=$1
576 [[ $is_port -ne 1 ]] && msg="vlan"
589 [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 0
590 [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 4
596 [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 3
597 [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 3
/linux/drivers/usb/typec/
H A Dbus.c62 bool is_port = is_typec_port(adev->dev.parent); in typec_altmode_set_state() local
65 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state()
89 bool is_port; in typec_altmode_notify() local
102 is_port = is_typec_port(adev->dev.parent); in typec_altmode_notify()
105 ret = typec_altmode_set_switches(is_port ? altmode : partner, conf, data); in typec_altmode_notify()
H A Dclass.c645 bool is_port = is_typec_port(parent); in typec_register_altmode() local
666 if (is_port) { in typec_register_altmode()
684 if (!is_port) in typec_register_altmode()
/linux/drivers/cxl/core/
H A Dpci.c742 bool is_port = true; in cxl_gpf_get_dvsec() local
750 is_port = false; in cxl_gpf_get_dvsec()
753 is_port ? PCI_DVSEC_CXL_PORT_GPF : PCI_DVSEC_CXL_DEVICE_GPF); in cxl_gpf_get_dvsec()
756 is_port ? "Port" : "Device"); in cxl_gpf_get_dvsec()
/linux/include/linux/
H A Drio.h474 u32 is_port; /* Implementation specific + PortID */ member
/linux/drivers/rapidio/
H A Drio.c1223 portnum = pw_msg->em.is_port & 0xFF; in rio_inb_pwrite_handler()