Home
last modified time | relevance | path

Searched refs:attached (Results 1 - 25 of 173) sorted by relevance

1234567

/kernel/linux/linux-5.10/drivers/extcon/
H A Dextcon-max77843.c200 u8 val, bool attached, bool nobccomp) in max77843_muic_set_path()
206 if (attached) in max77843_muic_set_path()
225 if (attached) in max77843_muic_set_path()
241 ctrl1, ctrl2, attached ? "attached" : "detached"); in max77843_muic_set_path()
262 enum max77843_muic_cable_group group, bool *attached) in max77843_muic_get_cable_type()
273 *attached = false; in max77843_muic_get_cable_type()
277 *attached = true; in max77843_muic_get_cable_type()
293 *attached = false; in max77843_muic_get_cable_type()
302 *attached in max77843_muic_get_cable_type()
199 max77843_muic_set_path(struct max77843_muic_info *info, u8 val, bool attached, bool nobccomp) max77843_muic_set_path() argument
261 max77843_muic_get_cable_type(struct max77843_muic_info *info, enum max77843_muic_cable_group group, bool *attached) max77843_muic_get_cable_type() argument
372 bool attached; max77843_muic_adc_gnd_handler() local
410 max77843_muic_jig_handler(struct max77843_muic_info *info, int cable_type, bool attached) max77843_muic_jig_handler() argument
440 max77843_muic_dock_handler(struct max77843_muic_info *info, bool attached) max77843_muic_dock_handler() argument
463 bool attached; max77843_muic_adc_handler() local
535 bool attached; max77843_muic_chg_handler() local
709 bool attached; max77843_muic_detect_cable_wq() local
816 bool attached; max77843_muic_probe() local
[all...]
H A Dextcon-max8997.c185 * max8997_muic_set_path - Set hardware line according to attached cable
187 * @value: the path according to attached cable
188 * @attached: the state of cable (true:attached, false:detached)
192 * attached cable.
195 u8 val, bool attached) in max8997_muic_set_path()
200 if (attached) in max8997_muic_set_path()
212 if (attached) in max8997_muic_set_path()
227 ctrl1, ctrl2, attached ? "attached" in max8997_muic_set_path()
194 max8997_muic_set_path(struct max8997_muic_info *info, u8 val, bool attached) max8997_muic_set_path() argument
243 max8997_muic_get_cable_type(struct max8997_muic_info *info, enum max8997_muic_cable_group group, bool *attached) max8997_muic_get_cable_type() argument
309 max8997_muic_handle_usb(struct max8997_muic_info *info, enum max8997_muic_usb_type usb_type, bool attached) max8997_muic_handle_usb() argument
338 max8997_muic_handle_dock(struct max8997_muic_info *info, int cable_type, bool attached) max8997_muic_handle_dock() argument
363 max8997_muic_handle_jig_uart(struct max8997_muic_info *info, bool attached) max8997_muic_handle_jig_uart() argument
383 bool attached; max8997_muic_adc_handler() local
461 bool attached; max8997_muic_chg_handler() local
576 bool attached; max8997_muic_detect_dev() local
634 bool attached; max8997_muic_probe() local
[all...]
H A Dextcon-max77693.c247 * max77693_muic_set_path - Set hardware line according to attached cable
249 * @value: the path according to attached cable
250 * @attached: the state of cable (true:attached, false:detached)
254 * attached cable.
257 u8 val, bool attached) in max77693_muic_set_path()
262 if (attached) in max77693_muic_set_path()
274 if (attached) in max77693_muic_set_path()
290 ctrl1, ctrl2, attached ? "attached" in max77693_muic_set_path()
256 max77693_muic_set_path(struct max77693_muic_info *info, u8 val, bool attached) max77693_muic_set_path() argument
308 max77693_muic_get_cable_type(struct max77693_muic_info *info, enum max77693_muic_cable_group group, bool *attached) max77693_muic_get_cable_type() argument
449 max77693_muic_dock_handler(struct max77693_muic_info *info, int cable_type, bool attached) max77693_muic_dock_handler() argument
531 max77693_muic_dock_button_handler(struct max77693_muic_info *info, int button_type, bool attached) max77693_muic_dock_button_handler() argument
578 bool attached; max77693_muic_adc_ground_handler() local
617 max77693_muic_jig_handler(struct max77693_muic_info *info, int cable_type, bool attached) max77693_muic_jig_handler() argument
657 bool attached; max77693_muic_adc_handler() local
766 bool attached; max77693_muic_chg_handler() local
1019 bool attached; max77693_muic_detect_accessory() local
1076 bool attached; max77693_muic_probe() local
[all...]
H A Dextcon-max14577.c185 * max14577_muic_set_path - Set hardware line according to attached cable
187 * @value: the path according to attached cable
188 * @attached: the state of cable (true:attached, false:detached)
192 * attached cable.
195 u8 val, bool attached) in max14577_muic_set_path()
209 if (attached) in max14577_muic_set_path()
222 if (attached) in max14577_muic_set_path()
237 ctrl1, ctrl2, attached ? "attached" in max14577_muic_set_path()
194 max14577_muic_set_path(struct max14577_muic_info *info, u8 val, bool attached) max14577_muic_set_path() argument
253 max14577_muic_get_cable_type(struct max14577_muic_info *info, enum max14577_muic_cable_group group, bool *attached) max14577_muic_get_cable_type() argument
320 max14577_muic_jig_handler(struct max14577_muic_info *info, int cable_type, bool attached) max14577_muic_jig_handler() argument
358 bool attached; max14577_muic_adc_handler() local
429 bool attached; max14577_muic_chg_handler() local
607 bool attached; max14577_muic_detect_accessory() local
661 bool attached; max14577_muic_probe() local
[all...]
H A Dextcon-rt8973a.c223 unsigned int con_sw, bool attached) in rt8973a_muic_set_path()
234 if (!attached) in rt8973a_muic_set_path()
303 bool attached = false; in rt8973a_muic_cable_handler() local
308 attached = true; in rt8973a_muic_cable_handler()
312 attached = false; in rt8973a_muic_cable_handler()
320 attached = false; in rt8973a_muic_cable_handler()
394 ret = rt8973a_muic_set_path(info, con_sw, attached); in rt8973a_muic_cable_handler()
399 extcon_set_state_sync(info->edev, id, attached); in rt8973a_muic_cable_handler()
402 attached); in rt8973a_muic_cable_handler()
418 /* Detect attached o in rt8973a_muic_irq_work()
222 rt8973a_muic_set_path(struct rt8973a_muic_info *info, unsigned int con_sw, bool attached) rt8973a_muic_set_path() argument
[all...]
/kernel/linux/linux-6.6/drivers/extcon/
H A Dextcon-max77843.c199 u8 val, bool attached, bool nobccomp) in max77843_muic_set_path()
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()
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 in max77843_muic_get_cable_type()
198 max77843_muic_set_path(struct max77843_muic_info *info, u8 val, bool attached, bool nobccomp) max77843_muic_set_path() argument
260 max77843_muic_get_cable_type(struct max77843_muic_info *info, enum max77843_muic_cable_group group, bool *attached) max77843_muic_get_cable_type() argument
371 bool attached; max77843_muic_adc_gnd_handler() local
409 max77843_muic_jig_handler(struct max77843_muic_info *info, int cable_type, bool attached) max77843_muic_jig_handler() argument
439 max77843_muic_dock_handler(struct max77843_muic_info *info, bool attached) max77843_muic_dock_handler() argument
462 bool attached; max77843_muic_adc_handler() local
534 bool attached; max77843_muic_chg_handler() local
708 bool attached; max77843_muic_detect_cable_wq() local
815 bool attached; max77843_muic_probe() local
[all...]
H A Dextcon-max8997.c188 * max8997_muic_set_path - Set hardware line according to attached cable
190 * @value: the path according to attached cable
191 * @attached: the state of cable (true:attached, false:detached)
195 * attached cable.
198 u8 val, bool attached) in max8997_muic_set_path()
203 if (attached) in max8997_muic_set_path()
215 if (attached) in max8997_muic_set_path()
230 ctrl1, ctrl2, attached ? "attached" in max8997_muic_set_path()
197 max8997_muic_set_path(struct max8997_muic_info *info, u8 val, bool attached) max8997_muic_set_path() argument
246 max8997_muic_get_cable_type(struct max8997_muic_info *info, enum max8997_muic_cable_group group, bool *attached) max8997_muic_get_cable_type() argument
312 max8997_muic_handle_usb(struct max8997_muic_info *info, enum max8997_muic_usb_type usb_type, bool attached) max8997_muic_handle_usb() argument
341 max8997_muic_handle_dock(struct max8997_muic_info *info, int cable_type, bool attached) max8997_muic_handle_dock() argument
366 max8997_muic_handle_jig_uart(struct max8997_muic_info *info, bool attached) max8997_muic_handle_jig_uart() argument
386 bool attached; max8997_muic_adc_handler() local
464 bool attached; max8997_muic_chg_handler() local
581 bool attached; max8997_muic_detect_dev() local
639 bool attached; max8997_muic_probe() local
[all...]
H A Dextcon-max77693.c248 * max77693_muic_set_path - Set hardware line according to attached cable
250 * @value: the path according to attached cable
251 * @attached: the state of cable (true:attached, false:detached)
255 * attached cable.
258 u8 val, bool attached) in max77693_muic_set_path()
263 if (attached) in max77693_muic_set_path()
275 if (attached) in max77693_muic_set_path()
291 ctrl1, ctrl2, attached ? "attached" in max77693_muic_set_path()
257 max77693_muic_set_path(struct max77693_muic_info *info, u8 val, bool attached) max77693_muic_set_path() argument
309 max77693_muic_get_cable_type(struct max77693_muic_info *info, enum max77693_muic_cable_group group, bool *attached) max77693_muic_get_cable_type() argument
450 max77693_muic_dock_handler(struct max77693_muic_info *info, int cable_type, bool attached) max77693_muic_dock_handler() argument
532 max77693_muic_dock_button_handler(struct max77693_muic_info *info, int button_type, bool attached) max77693_muic_dock_button_handler() argument
579 bool attached; max77693_muic_adc_ground_handler() local
618 max77693_muic_jig_handler(struct max77693_muic_info *info, int cable_type, bool attached) max77693_muic_jig_handler() argument
658 bool attached; max77693_muic_adc_handler() local
767 bool attached; max77693_muic_chg_handler() local
1020 bool attached; max77693_muic_detect_accessory() local
1077 bool attached; max77693_muic_probe() local
[all...]
H A Dextcon-max14577.c186 * max14577_muic_set_path - Set hardware line according to attached cable
188 * @value: the path according to attached cable
189 * @attached: the state of cable (true:attached, false:detached)
193 * attached cable.
196 u8 val, bool attached) in max14577_muic_set_path()
210 if (attached) in max14577_muic_set_path()
223 if (attached) in max14577_muic_set_path()
238 ctrl1, ctrl2, attached ? "attached" in max14577_muic_set_path()
195 max14577_muic_set_path(struct max14577_muic_info *info, u8 val, bool attached) max14577_muic_set_path() argument
254 max14577_muic_get_cable_type(struct max14577_muic_info *info, enum max14577_muic_cable_group group, bool *attached) max14577_muic_get_cable_type() argument
321 max14577_muic_jig_handler(struct max14577_muic_info *info, int cable_type, bool attached) max14577_muic_jig_handler() argument
359 bool attached; max14577_muic_adc_handler() local
430 bool attached; max14577_muic_chg_handler() local
608 bool attached; max14577_muic_detect_accessory() local
662 bool attached; max14577_muic_probe() local
[all...]
H A Dextcon-rt8973a.c222 unsigned int con_sw, bool attached) in rt8973a_muic_set_path()
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()
417 /* Detect attached o in rt8973a_muic_irq_work()
221 rt8973a_muic_set_path(struct rt8973a_muic_info *info, unsigned int con_sw, bool attached) rt8973a_muic_set_path() argument
[all...]
/kernel/linux/linux-5.10/tools/usb/ffs-aio-example/simple/host_app/
H A Dtest.c44 * @attached: indicates that device was attached to kernel, and has to be
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()
/kernel/linux/linux-5.10/tools/usb/ffs-aio-example/multibuff/host_app/
H A Dtest.c44 * @attached: indicates that device was attached to kernel, and has to be
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()
/kernel/linux/linux-6.6/tools/usb/ffs-aio-example/simple/host_app/
H A Dtest.c44 * @attached: indicates that device was attached to kernel, and has to be
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()
/kernel/linux/linux-6.6/tools/usb/ffs-aio-example/multibuff/host_app/
H A Dtest.c44 * @attached: indicates that device was attached to kernel, and has to be
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()
/kernel/linux/linux-5.10/drivers/message/fusion/
H A Dmptsas.c433 mptsas_is_end_device(struct mptsas_devinfo * attached) in mptsas_is_end_device() argument
435 if ((attached->sas_address) && in mptsas_is_end_device()
436 (attached->device_info & in mptsas_is_end_device()
438 ((attached->device_info & in mptsas_is_end_device()
440 (attached->device_info & in mptsas_is_end_device()
442 (attached->device_info & in mptsas_is_end_device()
471 memset(&phy_info->attached, 0, sizeof(struct mptsas_devinfo)); in mptsas_port_delete()
774 phy_info->attached.handle_enclosure); in mptsas_add_device_component_starget()
776 mptsas_add_device_component(ioc, phy_info->attached.channel, in mptsas_add_device_component_starget()
777 phy_info->attached in mptsas_add_device_component_starget()
[all...]
/kernel/linux/linux-6.6/drivers/message/fusion/
H A Dmptsas.c460 mptsas_is_end_device(struct mptsas_devinfo * attached) in mptsas_is_end_device() argument
462 if ((attached->sas_address) && in mptsas_is_end_device()
463 (attached->device_info & in mptsas_is_end_device()
465 ((attached->device_info & in mptsas_is_end_device()
467 (attached->device_info & in mptsas_is_end_device()
469 (attached->device_info & in mptsas_is_end_device()
498 memset(&phy_info->attached, 0, sizeof(struct mptsas_devinfo)); in mptsas_port_delete()
800 phy_info->attached.handle_enclosure); in mptsas_add_device_component_starget()
802 mptsas_add_device_component(ioc, phy_info->attached.channel, in mptsas_add_device_component_starget()
803 phy_info->attached in mptsas_add_device_component_starget()
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A Dnet_namespace.c8 * Functions to manage BPF programs attached to netns
22 struct list_head node; /* node in list of links attached to net */
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()
333 /* The same program cannot be attached twice */ 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
369 /* Progs attached vi in __netns_bpf_prog_detach()
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Dnet_namespace.c9 * Functions to manage BPF programs attached to netns
23 struct list_head node; /* node in list of links attached to net */
301 struct bpf_prog *attached; in netns_bpf_prog_attach() local
332 attached = net->bpf.progs[type]; in netns_bpf_prog_attach()
333 if (attached == prog) { in netns_bpf_prog_attach()
334 /* The same program cannot be attached twice */ in netns_bpf_prog_attach()
354 if (attached) in netns_bpf_prog_attach()
355 bpf_prog_put(attached); in netns_bpf_prog_attach()
368 struct bpf_prog *attached; in __netns_bpf_prog_detach() local
370 /* Progs attached vi in __netns_bpf_prog_detach()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/zoran/
H A Dvideocodec.c26 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()
257 seq_puts(m, "<S>lave or attached <M>aster name type flags magic "); in videocodec_debugfs_show()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dadf_dev_mgr.c18 bool attached; member
183 map->attached = true; in adf_devmgr_add_dev()
196 map->attached = true; in adf_devmgr_add_dev()
223 map->attached = true; in adf_devmgr_add_dev()
263 map->attached = false; in adf_devmgr_rm_dev()
359 if (ptr->bdf != ~0 && !ptr->attached) in adf_get_num_dettached_vfs()
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dadf_dev_mgr.c18 bool attached; member
183 map->attached = true; in adf_devmgr_add_dev()
196 map->attached = true; in adf_devmgr_add_dev()
223 map->attached = true; in adf_devmgr_add_dev()
265 map->attached = false; in adf_devmgr_rm_dev()
362 if (ptr->bdf != ~0 && !ptr->attached) in adf_get_num_dettached_vfs()
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc/
H A Defc_device.c280 if (node->attached) { in __efc_d_initiate_shutdown()
282 * away or sometime later, will check node->attached in __efc_d_initiate_shutdown()
467 /* we're not attached and nport is p2p, in efc_d_check_plogi_topology()
474 /* we're not attached and nport is fabric, domain in efc_d_check_plogi_topology()
523 * and domain is attached in __efc_d_init()
526 node->nport->domain->attached) { in __efc_d_init()
533 node_printf(node, "domain attached=%d\n", in __efc_d_init()
534 node->nport->domain->attached); in __efc_d_init()
547 /* domain not attached; several possibilities: */ in __efc_d_init()
548 if (!node->nport->domain->attached) { in __efc_d_init()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_output.c129 int attached = 0; in atmel_hlcdc_create_outputs() local
141 attached++; in atmel_hlcdc_create_outputs()
144 /* At least one device was successfully attached.*/ in atmel_hlcdc_create_outputs()
145 if (ret == -ENODEV && attached) in atmel_hlcdc_create_outputs()
/kernel/linux/linux-6.6/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_output.c130 int attached = 0; in atmel_hlcdc_create_outputs() local
142 attached++; in atmel_hlcdc_create_outputs()
145 /* At least one device was successfully attached.*/ in atmel_hlcdc_create_outputs()
146 if (ret == -ENODEV && attached) in atmel_hlcdc_create_outputs()
/kernel/linux/linux-6.6/drivers/usb/typec/
H A Drt1719.c97 bool attached; member
199 bool attached) in rt1719_set_data_role()
203 if (attached) { in rt1719_set_data_role()
216 if (!data->attached) in rt1719_update_data_role()
284 data->attached = true; in rt1719_attach()
291 if (!data->attached || (data->conn_info & RT1719_ATTACHDEV_MASK)) in rt1719_detach()
303 data->attached = data->pd_capable = false; in rt1719_detach()
367 if (!data->attached) in rt1719_update_pwr_opmode()
386 if (!data->attached) in rt1719_update_source_pdos()
405 if (!data->attached || !dat in rt1719_dr_set()
197 rt1719_set_data_role(struct rt1719_data *data, enum typec_data_role data_role, bool attached) rt1719_set_data_role() argument
[all...]

Completed in 20 milliseconds

1234567