| /linux/drivers/extcon/ |
| H A D | extcon-max77843.c | 199 u8 val, bool attached, bool nobccomp) in max77843_muic_set_path() argument 205 if (attached) in max77843_muic_set_path() 224 if (attached) in max77843_muic_set_path() 240 ctrl1, ctrl2, attached ? "attached" : "detached"); in max77843_muic_set_path() 261 enum max77843_muic_cable_group group, bool *attached) in max77843_muic_get_cable_type() argument 272 *attached = false; in max77843_muic_get_cable_type() 276 *attached = true; in max77843_muic_get_cable_type() 292 *attached = false; in max77843_muic_get_cable_type() 301 *attached = true; in max77843_muic_get_cable_type() 310 *attached = false; in max77843_muic_get_cable_type() [all …]
|
| H A D | extcon-max77693.c | 258 u8 val, bool attached) in max77693_muic_set_path() argument 263 if (attached) in max77693_muic_set_path() 275 if (attached) in max77693_muic_set_path() 291 ctrl1, ctrl2, attached ? "attached" : "detached"); in max77693_muic_set_path() 310 enum max77693_muic_cable_group group, bool *attached) in max77693_muic_get_cable_type() argument 334 *attached = false; in max77693_muic_get_cable_type() 339 *attached = true; in max77693_muic_get_cable_type() 358 *attached = false; in max77693_muic_get_cable_type() 363 *attached = true; in max77693_muic_get_cable_type() 400 *attached = false; in max77693_muic_get_cable_type() [all …]
|
| H A D | extcon-max8997.c | 198 u8 val, bool attached) in max8997_muic_set_path() argument 203 if (attached) in max8997_muic_set_path() 215 if (attached) in max8997_muic_set_path() 230 ctrl1, ctrl2, attached ? "attached" : "detached"); in max8997_muic_set_path() 247 enum max8997_muic_cable_group group, bool *attached) in max8997_muic_get_cable_type() argument 268 *attached = false; in max8997_muic_get_cable_type() 273 *attached = true; in max8997_muic_get_cable_type() 287 *attached = false; in max8997_muic_get_cable_type() 292 *attached = true; in max8997_muic_get_cable_type() 313 enum max8997_muic_usb_type usb_type, bool attached) in max8997_muic_handle_usb() argument [all …]
|
| H A D | extcon-max14577.c | 196 u8 val, bool attached) in max14577_muic_set_path() argument 210 if (attached) in max14577_muic_set_path() 223 if (attached) in max14577_muic_set_path() 238 ctrl1, ctrl2, attached ? "attached" : "detached"); in max14577_muic_set_path() 255 enum max14577_muic_cable_group group, bool *attached) in max14577_muic_get_cable_type() argument 276 *attached = false; in max14577_muic_get_cable_type() 281 *attached = true; in max14577_muic_get_cable_type() 296 *attached = false; in max14577_muic_get_cable_type() 301 *attached = true; in max14577_muic_get_cable_type() 322 int cable_type, bool attached) in max14577_muic_jig_handler() argument [all …]
|
| H A D | extcon-rt8973a.c | 222 unsigned int con_sw, bool attached) in rt8973a_muic_set_path() argument 233 if (!attached) in rt8973a_muic_set_path() 302 bool attached = false; in rt8973a_muic_cable_handler() local 307 attached = true; in rt8973a_muic_cable_handler() 311 attached = false; in rt8973a_muic_cable_handler() 319 attached = false; in rt8973a_muic_cable_handler() 393 ret = rt8973a_muic_set_path(info, con_sw, attached); in rt8973a_muic_cable_handler() 398 extcon_set_state_sync(info->edev, id, attached); in rt8973a_muic_cable_handler() 401 attached); in rt8973a_muic_cable_handler()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-i2c-devices-fsa9480 | 5 show what device is attached 9 USB USB device is attached 10 UART UART is attached 11 CHARGER Charger is attached 12 JIG JIG is attached
|
| H A D | configfs-most | 49 name of the device the link is to be attached to 52 name of the channel the link is to be attached to 61 a physical device is being attached to the bus. 104 name of the device the link is to be attached to 107 name of the channel the link is to be attached to 116 a physical device is being attached to the bus. 159 name of the device the link is to be attached to 162 name of the channel the link is to be attached to 171 a physical device is being attached to the bus. 225 name of the device the link is to be attached to [all …]
|
| H A D | sysfs-class-extcon | 12 attached simultaneously. Many of docks, cradles, and 15 may have both HDMI and Charger attached, or analog audio, 16 video, and USB cables attached simultaneously. 52 cables attached and HDMI and EAR_JACK cables detached. 82 (attached).
|
| /linux/tools/usb/ffs-aio-example/multibuff/host_app/ |
| H A D | test.c | 52 int attached; member 68 state->attached = 0; in test_init() 115 state->attached = 1; in test_init() 127 if (state->attached == 1) in test_init() 148 if (state->attached == 1) in test_exit()
|
| /linux/tools/usb/ffs-aio-example/simple/host_app/ |
| H A D | test.c | 52 int attached; member 68 state->attached = 0; in test_init() 115 state->attached = 1; in test_init() 127 if (state->attached == 1) in test_init() 148 if (state->attached == 1) in test_exit()
|
| /linux/drivers/iio/imu/bno055/ |
| H A D | Kconfig | 9 tristate "Bosch BNO055 attached via UART" 14 Enable this to support Bosch BNO055 IMUs attached via UART. 20 tristate "Bosch BNO055 attached via I2C bus" 25 Enable this to support Bosch BNO055 IMUs attached via I2C bus.
|
| /linux/kernel/bpf/ |
| H A D | net_namespace.c | 300 struct bpf_prog *attached; in netns_bpf_prog_attach() local 331 attached = net->bpf.progs[type]; in netns_bpf_prog_attach() 332 if (attached == prog) { in netns_bpf_prog_attach() 353 if (attached) in netns_bpf_prog_attach() 354 bpf_prog_put(attached); in netns_bpf_prog_attach() 367 struct bpf_prog *attached; in __netns_bpf_prog_detach() local 373 attached = net->bpf.progs[type]; in __netns_bpf_prog_detach() 374 if (!attached || attached != old) in __netns_bpf_prog_detach() 378 bpf_prog_put(attached); in __netns_bpf_prog_detach()
|
| /linux/drivers/scsi/elx/libefc/ |
| H A D | efc_device.c | 280 if (node->attached) { in __efc_d_initiate_shutdown() 526 node->nport->domain->attached) { in __efc_d_init() 534 node->nport->domain->attached); in __efc_d_init() 548 if (!node->nport->domain->attached) { in __efc_d_init() 594 if (!node->nport->domain->attached) { in __efc_d_init() 619 if (!node->nport->domain->attached) { in __efc_d_init() 645 if (!node->nport->domain->attached) { in __efc_d_init() 895 WARN_ON(!node->nport->domain->attached); in __efc_d_wait_domain_attach() 933 WARN_ON(node->nport->domain->attached); in __efc_d_wait_topology_notify() 961 WARN_ON(!node->nport->domain->attached); in __efc_d_wait_topology_notify() [all …]
|
| H A D | efc_cmds.c | 18 nport->attached = false; in efc_nport_free_resources() 97 nport->attached = true; in efc_nport_send_evt() 306 if (nport->attached) in efc_cmd_nport_free() 644 rnode->attached = false; in efc_cmd_node_attach_cb() 647 rnode->attached = true; in efc_cmd_node_attach_cb() 698 if (rnode->attached) { in efc_node_free_resources() 738 if (!rnode->attached || in efc_cmd_node_free_cb() 744 rnode->attached = false; in efc_cmd_node_free_cb() 765 if (!rnode->attached) in efc_cmd_node_detach()
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-net.rst | 45 For programs attached to a particular cgroup, e.g., 56 programs attached to the same networking device through **tc**, the order 57 will be first all bpf programs attached to tcx, netkit, then tc classes, 58 then all bpf programs attached to non clsact qdiscs, and finally all bpf 59 programs attached to root and clsact qdisc. 63 by *ATTACH_TYPE*. Previously attached bpf program can be replaced by the 76 Detach bpf program attached to network interface *NAME* with type specified
|
| H A D | bpftool-cgroup.rst | 53 List all programs attached to the cgroup *CGROUP*. 59 for events within a cgroup. This includes inherited along with attached 63 Iterate over all cgroups in *CGROUP_ROOT* and list all attached programs. 71 for events within a cgroup. This includes inherited along with attached 83 Only one program is allowed to be attached to a cgroup with no attach flags 87 Multiple programs are allowed to be attached to a cgroup with **multi**. 88 They are executed in FIFO order (those that were attached first, run
|
| /linux/Documentation/bpf/ |
| H A D | prog_sk_lookup.rst | 36 BPF sk_lookup program can be attached to a network namespace with 40 Multiple programs can be attached to one network namespace. Programs will be 41 invoked in the same order as they were attached. 46 The attached BPF sk_lookup programs run whenever the transport layer needs to 52 The attached BPF programs must return with either ``SK_PASS`` or ``SK_DROP`` 65 When multiple programs are attached, the end result is determined from return
|
| /linux/Documentation/driver-api/cxl/linux/example-configurations/ |
| H A D | hb-interleave.rst | 46 This chunk shows the CXL "bus" (root0) has 4 downstream ports attached to CXL 47 Host Bridges. The `Root` can be considered the singular upstream port attached 114 This chunk shows the endpoints attached to the host bridge :code:`port1`. 144 target is :code:`dport1` - which is attached to :code:`endpoint5`. 147 the second host bridge with a memory device attached. 212 The next chunk shows the two CXL host bridges without attached endpoints.
|
| H A D | single-device.rst | 46 This chunk shows the CXL "bus" (root0) has 4 downstream ports attached to CXL 47 Host Bridges. The `Root` can be considered the singular upstream port attached 113 This chunk shows the endpoints attached to the host bridge :code:`port1`. 143 target is :code:`dport1` - which is attached to :code:`endpoint5`. 145 The next chunk shows the three CXL host bridges without attached endpoints.
|
| H A D | multi-interleave.rst | 47 This chunk shows the CXL "bus" (root0) has 4 downstream ports attached to CXL 48 Host Bridges. The `Root` can be considered the singular upstream port attached 141 This chunk shows the endpoints attached to the host bridge :code:`port1`. 181 targets are :code:`dport0` and :code:`dport2` - which are attached to 185 the second host bridge with a memory device attached. 288 The next chunk shows the two CXL host bridges without attached endpoints.
|
| H A D | intra-hb-interleave.rst | 46 This chunk shows the CXL "bus" (root0) has 4 downstream ports attached to CXL 47 Host Bridges. The `Root` can be considered the singular upstream port attached 140 This chunk shows the endpoints attached to the host bridge :code:`port1`. 178 targets: :code:`dport1` and :code:`dport3` - which are attached to 183 The next chunk shows the three CXL host bridges without attached endpoints.
|
| /linux/drivers/media/pci/zoran/ |
| H A D | videocodec.c | 26 int attached; member 71 snprintf(codec->name + res, sizeof(codec->name) - res, "[%d]", h->attached); in videocodec_attach() 93 h->attached += 1; in videocodec_attach() 154 h->attached -= 1; in videocodec_detach() 225 if (h->attached) { in videocodec_unregister()
|
| /linux/drivers/usb/typec/ |
| H A D | rt1719.c | 97 bool attached; member 193 bool attached) in rt1719_set_data_role() argument 197 if (attached) { in rt1719_set_data_role() 210 if (!data->attached) in rt1719_update_data_role() 278 data->attached = true; in rt1719_attach() 285 if (!data->attached || (data->conn_info & RT1719_ATTACHDEV_MASK)) in rt1719_detach() 297 data->attached = data->pd_capable = false; in rt1719_detach() 361 if (!data->attached) in rt1719_update_pwr_opmode() 380 if (!data->attached) in rt1719_update_source_pdos() 399 if (!data->attached || !data->pd_capable || !data->drswap_support) in rt1719_dr_set() [all …]
|
| /linux/io_uring/ |
| H A D | sqpoll.c | 140 bool *attached) in io_get_sq_data() argument 144 *attached = false; in io_get_sq_data() 148 *attached = true; in io_get_sq_data() 463 bool attached; in io_sq_offload_create() local 469 sqd = io_get_sq_data(p, &attached); in io_sq_offload_create() 485 ret = (attached && !sqd->thread) ? -ENXIO : 0; in io_sq_offload_create() 490 if (attached) in io_sq_offload_create()
|
| /linux/drivers/comedi/kcomedilib/ |
| H A D | kcomedilib_main.c | 144 if (dev->attached && kcomedilib_set_link_from_to(from, minor)) in comedi_open_from() 185 if (!dev->attached) { in comedi_do_insn() 327 if (dev->attached) in comedi_find_subdevice_by_type() 345 if (!dev->attached || subdevice >= dev->n_subdevices) in comedi_get_n_channels()
|