| /drivers/usb/typec/altmodes/ |
| A D | thunderbolt.c | 31 struct typec_altmode *plug[2]; member 42 struct typec_altmode *plug = tbt->plug[TYPEC_PLUG_SOP_P]; in tbt_enter_mode() local 49 if (plug) { in tbt_enter_mode() 116 if (tbt->plug[i]) in tbt_altmode_work() 119 tbt->plug[i] = NULL; in tbt_altmode_work() 147 if (tbt->plug[i]) in tbt_enter_modes_ordered() 150 tbt->plug[i] = NULL; in tbt_enter_modes_ordered() 328 if (tbt->plug[i]) in tbt_altmode_remove() 339 struct typec_altmode *plug; in tbt_ready() local 354 if (!plug) in tbt_ready() [all …]
|
| A D | displayport.c | 757 struct typec_altmode *plug = typec_altmode_get_plug(alt, TYPEC_PLUG_SOP_P); in dp_altmode_probe() local 782 if (plug) { in dp_altmode_probe() 783 plug->desc = "Displayport"; in dp_altmode_probe() 784 plug->cable_ops = &dp_cable_ops; in dp_altmode_probe() 787 dp->plug_prime = plug; in dp_altmode_probe() 798 if (plug) in dp_altmode_probe() 799 typec_altmode_set_drvdata(plug, dp); in dp_altmode_probe() 801 dp->state = plug ? DP_STATE_ENTER_PRIME : DP_STATE_ENTER; in dp_altmode_probe()
|
| /drivers/usb/typec/ |
| A D | class.c | 264 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 285 partner->plug[plug->index] = NULL; in typec_altmode_put_partner() 719 struct typec_plug *plug; in number_of_alternate_modes_show() local 1112 kfree(plug); in typec_plug_release() 1214 struct typec_plug *plug; in typec_register_plug() local 1218 plug = kzalloc(sizeof(*plug), GFP_KERNEL); in typec_register_plug() 1219 if (!plug) in typec_register_plug() 1224 ida_init(&plug->mode_ids); in typec_register_plug() 1225 plug->num_altmodes = -1; in typec_register_plug() 1235 put_device(&plug->dev); in typec_register_plug() [all …]
|
| A D | bus.c | 337 if (!altmode->plug[sop]) in typec_cable_altmode_vdm() 339 pdev = &altmode->plug[sop]->adev; in typec_cable_altmode_vdm() 365 if (port->plug[index]) { in typec_altmode_get_plug() 366 get_device(&port->plug[index]->adev.dev); in typec_altmode_get_plug() 367 return &port->plug[index]->adev; in typec_altmode_get_plug() 378 void typec_altmode_put_plug(struct typec_altmode *plug) in typec_altmode_put_plug() argument 380 if (plug) in typec_altmode_put_plug() 381 put_device(&plug->dev); in typec_altmode_put_plug()
|
| A D | Kconfig | 7 only one type of plug is supported on both ends, i.e. there will not 8 be Type-A plug on one end of the cable and Type-B plug on the other.
|
| A D | bus.h | 26 struct altmode *plug[2]; member
|
| /drivers/md/ |
| A D | raid1-10.c | 136 struct raid1_plug_cb *plug = NULL; in raid1_add_bio_to_plug() local 148 cb = blk_check_plugged(unplug, mddev, sizeof(*plug)); in raid1_add_bio_to_plug() 152 plug = container_of(cb, struct raid1_plug_cb, cb); in raid1_add_bio_to_plug() 153 bio_list_add(&plug->pending, bio); in raid1_add_bio_to_plug() 154 if (++plug->count / MAX_PLUG_BIO >= copies) { in raid1_add_bio_to_plug()
|
| A D | dm-clone-target.c | 321 struct blk_plug plug; in submit_bios() local 323 blk_start_plug(&plug); in submit_bios() 328 blk_finish_plug(&plug); in submit_bios() 1179 struct blk_plug plug; in process_deferred_discards() local 1206 blk_start_plug(&plug); in process_deferred_discards() 1209 blk_finish_plug(&plug); in process_deferred_discards()
|
| A D | raid1.c | 923 struct blk_plug plug; in flush_pending_writes() local 939 blk_start_plug(&plug); in flush_pending_writes() 941 blk_finish_plug(&plug); in flush_pending_writes() 1272 struct mddev *mddev = plug->cb.data; in raid1_unplug() 1278 bio_list_merge(&conf->pending_bio_list, &plug->pending); in raid1_unplug() 1282 kfree(plug); in raid1_unplug() 1287 bio = bio_list_get(&plug->pending); in raid1_unplug() 1289 kfree(plug); in raid1_unplug() 2677 struct blk_plug plug; in raid1d() local 2701 blk_start_plug(&plug); in raid1d() [all …]
|
| A D | dm-kcopyd.c | 654 struct blk_plug plug; in do_work() local 667 blk_start_plug(&plug); in do_work() 671 blk_finish_plug(&plug); in do_work()
|
| A D | dm-bufio.c | 1467 struct blk_plug plug; in __flush_write_list() local 1469 blk_start_plug(&plug); in __flush_write_list() 1477 blk_finish_plug(&plug); in __flush_write_list() 1972 struct blk_plug plug; in __dm_bufio_prefetch() local 1979 blk_start_plug(&plug); in __dm_bufio_prefetch() 1997 blk_finish_plug(&plug); in __dm_bufio_prefetch() 1999 blk_start_plug(&plug); in __dm_bufio_prefetch() 2019 blk_finish_plug(&plug); in __dm_bufio_prefetch()
|
| /drivers/thermal/renesas/ |
| A D | Kconfig | 9 Enable this to plug the R-Car thermal sensor driver into the Linux 18 Enable this to plug the R-Car Gen3 or RZ/G2 thermal sensor driver into 27 Enable this to plug the RZ/G2L thermal sensor driver into the Linux
|
| /drivers/block/drbd/ |
| A D | drbd_req.c | 1296 struct drbd_plug_cb *plug; in drbd_check_plugged() local 1302 plug = NULL; in drbd_check_plugged() 1303 return plug; in drbd_check_plugged() 1312 plug->most_recent_req = req; in drbd_update_plug() 1392 if (plug) in drbd_send_and_submit() 1444 struct blk_plug plug; in submit_fast_path() local 1447 blk_start_plug(&plug); in submit_fast_path() 1465 blk_finish_plug(&plug); in submit_fast_path() 1497 struct blk_plug plug; in send_and_submit_pending() local 1500 blk_start_plug(&plug); in send_and_submit_pending() [all …]
|
| /drivers/media/firewire/ |
| A D | firedtv.h | 132 int cmp_establish_pp_connection(struct firedtv *fdtv, int plug, int channel); 133 void cmp_break_pp_connection(struct firedtv *fdtv, int plug, int channel);
|
| A D | firedtv-avc.c | 1379 int cmp_establish_pp_connection(struct firedtv *fdtv, int plug, int channel) in cmp_establish_pp_connection() argument 1382 u64 opcr_address = CMP_OUTPUT_PLUG_CONTROL_REG_0 + (plug << 2); in cmp_establish_pp_connection() 1439 void cmp_break_pp_connection(struct firedtv *fdtv, int plug, int channel) in cmp_break_pp_connection() argument 1442 u64 opcr_address = CMP_OUTPUT_PLUG_CONTROL_REG_0 + (plug << 2); in cmp_break_pp_connection()
|
| /drivers/usb/typec/ucsi/ |
| A D | ucsi.c | 461 alt = typec_plug_register_altmode(con->plug, desc); in ucsi_register_altmode() 904 struct typec_plug *plug; in ucsi_register_plug() local 907 plug = typec_register_plug(con->cable, &desc); in ucsi_register_plug() 908 if (IS_ERR(plug)) { in ucsi_register_plug() 911 PTR_ERR(plug)); in ucsi_register_plug() 912 return PTR_ERR(plug); in ucsi_register_plug() 915 con->plug = plug; in ucsi_register_plug() 921 if (!con->plug) in ucsi_unregister_plug() 925 typec_unregister_plug(con->plug); in ucsi_unregister_plug() 926 con->plug = NULL; in ucsi_unregister_plug() [all …]
|
| /drivers/md/dm-vdo/ |
| A D | io-submitter.c | 36 struct blk_plug plug; member 52 blk_start_plug(&bio_queue_data->plug); in start_bio_queue() 59 blk_finish_plug(&bio_queue_data->plug); in finish_bio_queue()
|
| /drivers/platform/chrome/ |
| A D | cros_ec_typec.c | 357 typec_unregister_plug(port->plug); in cros_typec_remove_cable() 358 port->plug = NULL; in cros_typec_remove_cable() 906 amode = typec_plug_register_altmode(port->plug, &desc); in cros_typec_register_altmodes() 934 ret = typec_plug_set_num_altmodes(port->plug, num_altmodes); in cros_typec_register_altmodes() 1027 port->plug = typec_register_plug(port->cable, &p_desc); in cros_typec_handle_sop_prime_disc() 1028 if (IS_ERR(port->plug)) { in cros_typec_handle_sop_prime_disc() 1029 ret = PTR_ERR(port->plug); in cros_typec_handle_sop_prime_disc() 1030 port->plug = NULL; in cros_typec_handle_sop_prime_disc()
|
| A D | cros_ec_typec.h | 55 struct typec_plug *plug; member
|
| /drivers/nvme/target/ |
| A D | io-cmd-bdev.c | 246 struct blk_plug plug; in nvmet_bdev_execute_rw() local 292 blk_start_plug(&plug); in nvmet_bdev_execute_rw() 332 blk_finish_plug(&plug); in nvmet_bdev_execute_rw()
|
| /drivers/auxdisplay/ |
| A D | Kconfig | 235 1..17 : directly connected to any of these pins on the DB25 plug 250 1..17 : directly connected to any of these pins on the DB25 plug 265 1..17 : directly connected to any of these pins on the DB25 plug 280 1..17 : directly connected to any of these pins on the DB25 plug 295 1..17 : directly connected to any of these pins on the DB25 plug 310 1..17 : directly connected to any of these pins on the DB25 plug
|
| /drivers/platform/surface/ |
| A D | Kconfig | 187 Driver for out-of-band hot-plug event signaling on Microsoft Surface 193 hot-plug signaling. Thus, without this driver, detaching the base 196 for out-of-band hot-plug notifications, ensuring that the device state
|
| /drivers/thermal/qcom/ |
| A D | Kconfig | 29 This enables a thermal sysfs driver for Qualcomm plug-and-play (QPNP)
|
| /drivers/gpu/drm/sti/ |
| A D | NOTES | 11 - The video plug (VID) connects to the HQVDP output.
|
| /drivers/thermal/ |
| A D | Kconfig | 262 Enable this to plug hisilicon's thermal sensor driver into the Linux 336 Enable this to plug the Airoha thermal sensor driver into the Linux 345 Enable this to plug the SPEAr thermal sensor driver into the Linux 487 Enable this to plug in UniPhier on-chip PVT thermal driver into the
|