Home
last modified time | relevance | path

Searched refs:activate (Results 1 – 25 of 194) sorted by relevance

12345678

/drivers/leds/trigger/
Dledtrig-transient.c24 int activate; member
38 transient_data->activate = 0; in transient_timer_function()
48 return sprintf(buf, "%d\n", transient_data->activate); in transient_activate_show()
68 if (state == 0 && transient_data->activate == 1) { in transient_activate_store()
70 transient_data->activate = state; in transient_activate_store()
77 if (state == 1 && transient_data->activate == 0 && in transient_activate_store()
79 transient_data->activate = state; in transient_activate_store()
149 static DEVICE_ATTR(activate, 0644, transient_activate_show,
190 .activate = transient_trig_activate,
Dledtrig-audio.c28 .activate = ledtrig_audio_mute_activate,
32 .activate = ledtrig_audio_micmute_activate,
Dledtrig-panic.c37 if (trig->activate) in led_trigger_set_panic()
38 trig->activate(led_cdev); in led_trigger_set_panic()
Dledtrig-default-on.c24 .activate = defon_trig_activate,
/drivers/thunderbolt/
Dtunnel.c86 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate() argument
90 res = tb_pci_port_enable(tunnel->src_port, activate); in tb_pci_activate()
95 return tb_pci_port_enable(tunnel->dst_port, activate); in tb_pci_activate()
153 tunnel->activate = tb_pci_activate; in tb_tunnel_discover_pci()
228 tunnel->activate = tb_pci_activate; in tb_tunnel_alloc_pci()
668 tunnel->activate = tb_dp_activate; in tb_tunnel_discover_dp()
754 tunnel->activate = tb_dp_activate; in tb_tunnel_alloc_dp()
853 tunnel->activate = tb_dma_activate; in tb_tunnel_alloc_dma()
906 static int tb_usb3_activate(struct tb_tunnel *tunnel, bool activate) in tb_usb3_activate() argument
910 res = tb_usb3_port_enable(tunnel->src_port, activate); in tb_usb3_activate()
[all …]
Dtunnel.h50 int (*activate)(struct tb_tunnel *tunnel, bool activate); member
/drivers/video/fbdev/core/
Dfbsysfs.c88 static int activate(struct fb_info *fb_info, struct fb_var_screeninfo *var) in activate() function
92 var->activate |= FB_ACTIVATE_FORCE; in activate()
96 fbcon_update_vcs(fb_info, var->activate & FB_ACTIVATE_ALL); in activate()
147 if ((err = activate(fb_info, &var))) in store_mode()
224 if ((err = activate(fb_info, &var))) in store_bpp()
248 if ((err = activate(fb_info, &var))) in store_rotate()
279 if ((err = activate(fb_info, &var))) in store_virtual()
Dfbmem.c938 u32 activate) in fb_check_caps() argument
945 caps.flags = (activate & FB_ACTIVATE_ALL) ? 1 : 0; in fb_check_caps()
961 u32 activate; in fb_set_var() local
967 if (var->activate & FB_ACTIVATE_INV_MODE) { in fb_set_var()
983 if (!(var->activate & FB_ACTIVATE_FORCE) && in fb_set_var()
987 activate = var->activate; in fb_set_var()
1032 if ((var->activate & FB_ACTIVATE_MASK) != FB_ACTIVATE_NOW) in fb_set_var()
1036 ret = fb_check_caps(info, var, activate); in fb_set_var()
1121 var.activate &= ~FB_ACTIVATE_KD_TEXT; in do_fb_ioctl()
1128 fbcon_update_vcs(info, var.activate & FB_ACTIVATE_ALL); in do_fb_ioctl()
[all …]
/drivers/hwmon/
Dsmsc47m1.c134 u8 activate; /* Remember initial device state */ member
599 sio_data->activate = superio_inb(SUPERIO_REG_ACT); in smsc47m1_find()
600 if ((sio_data->activate & 0x01) == 0) { in smsc47m1_find()
602 superio_outb(SUPERIO_REG_ACT, sio_data->activate | 0x01); in smsc47m1_find()
612 if ((sio_data->activate & 0x01) == 0) { in smsc47m1_restore()
616 superio_outb(SUPERIO_REG_ACT, sio_data->activate); in smsc47m1_restore()
/drivers/s390/char/
Draw3270.c521 if (view->fn->activate(view) == 0) in raw3270_size_device_done()
866 rc = view->fn->activate(view); in raw3270_activate_view()
870 if (!oldview || oldview->fn->activate(oldview) != 0) { in raw3270_activate_view()
875 if (nv->fn->activate(nv) == 0) in raw3270_activate_view()
910 if (view->fn->activate(view) == 0) in raw3270_deactivate_view()
1006 if (nv->fn->activate(nv) == 0) { in raw3270_del_view()
1255 if (rp->view && rp->view->fn->activate) in raw3270_pm_start()
1256 rp->view->fn->activate(rp->view); in raw3270_pm_start()
/drivers/hwtracing/intel_th/
Dintel_th.h179 int (*activate)(struct intel_th_device *thdev); member
281 int (*activate)(struct intel_th *); member
Dpti.c237 .activate = intel_th_pti_activate,
305 .activate = intel_th_pti_activate,
/drivers/hid/
Dhid-picolcd_fb.c357 __u32 activate = var->activate; in picolcd_fb_check_var() local
361 var->activate = activate; in picolcd_fb_check_var()
/drivers/scsi/
Dscsi_dh.c274 if (sdev->handler->activate) in scsi_dh_activate()
275 err = sdev->handler->activate(sdev, fn, data); in scsi_dh_activate()
/drivers/net/ethernet/mellanox/mlx4/
Dintf.c67 if (intf->activate) in mlx4_add_device()
68 intf->activate(&priv->dev, dev_ctx->context); in mlx4_add_device()
/drivers/net/wireless/marvell/libertas_tf/
Dcmd.c351 void lbtf_set_bssid(struct lbtf_private *priv, bool activate, const u8 *bssid) in lbtf_set_bssid() argument
357 cmd.activate = activate ? 1 : 0; in lbtf_set_bssid()
358 if (activate) in lbtf_set_bssid()
Dlibertas_tf.h407 u8 activate; member
470 void lbtf_set_bssid(struct lbtf_private *priv, bool activate, const u8 *bssid);
/drivers/staging/gdm724x/
Dhci_packet.h68 u8 activate; member
Dgdm_lte.h29 u8 activate; member
/drivers/video/fbdev/
Datafb.c756 var->activate = 0; in tt_encode_var()
1526 var->activate = 0; in falcon_encode_var()
1945 var->activate = 0; in stste_encode_var()
2185 var->activate = 0; in ext_encode_var()
2364 int err, activate; in do_fb_set_var() local
2370 activate = var->activate; in do_fb_set_var()
2371 if (((var->activate & FB_ACTIVATE_MASK) == FB_ACTIVATE_NOW) && isactive) in do_fb_set_var()
2374 var->activate = activate; in do_fb_set_var()
2756 var.activate = FB_ACTIVATE_TEST; in check_default_par()
2763 var.activate = FB_ACTIVATE_TEST; in check_default_par()
[all …]
Dq40fb.c47 .activate = FB_ACTIVATE_NOW,
Dmaxinefb.c48 .activate = FB_ACTIVATE_NOW,
/drivers/nvdimm/
Dcore.c452 return nd_desc->fw_ops->activate(nd_desc); in exec_firmware_activate()
485 rc = nd_desc->fw_ops->activate(nd_desc); in activate_store()
497 static DEVICE_ATTR_ADMIN_RW(activate);
/drivers/usb/typec/altmodes/
Ddisplayport.c321 static int dp_altmode_activate(struct typec_altmode *alt, int activate) in dp_altmode_activate() argument
323 return activate ? typec_altmode_enter(alt, NULL) : in dp_altmode_activate()
330 .activate = dp_altmode_activate,
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dchip.h69 void (*activate)(void *ctx, struct brcmf_chip *chip, u32 rstvec); member

12345678