/drivers/leds/trigger/ |
D | ledtrig-transient.c | 24 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,
|
D | ledtrig-audio.c | 28 .activate = ledtrig_audio_mute_activate, 32 .activate = ledtrig_audio_micmute_activate,
|
D | ledtrig-panic.c | 37 if (trig->activate) in led_trigger_set_panic() 38 trig->activate(led_cdev); in led_trigger_set_panic()
|
D | ledtrig-default-on.c | 24 .activate = defon_trig_activate,
|
/drivers/thunderbolt/ |
D | tunnel.c | 86 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 …]
|
D | tunnel.h | 50 int (*activate)(struct tb_tunnel *tunnel, bool activate); member
|
/drivers/video/fbdev/core/ |
D | fbsysfs.c | 88 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()
|
D | fbmem.c | 938 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/ |
D | smsc47m1.c | 134 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/ |
D | raw3270.c | 521 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/ |
D | intel_th.h | 179 int (*activate)(struct intel_th_device *thdev); member 281 int (*activate)(struct intel_th *); member
|
D | pti.c | 237 .activate = intel_th_pti_activate, 305 .activate = intel_th_pti_activate,
|
/drivers/hid/ |
D | hid-picolcd_fb.c | 357 __u32 activate = var->activate; in picolcd_fb_check_var() local 361 var->activate = activate; in picolcd_fb_check_var()
|
/drivers/scsi/ |
D | scsi_dh.c | 274 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/ |
D | intf.c | 67 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/ |
D | cmd.c | 351 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()
|
D | libertas_tf.h | 407 u8 activate; member 470 void lbtf_set_bssid(struct lbtf_private *priv, bool activate, const u8 *bssid);
|
/drivers/staging/gdm724x/ |
D | hci_packet.h | 68 u8 activate; member
|
D | gdm_lte.h | 29 u8 activate; member
|
/drivers/video/fbdev/ |
D | atafb.c | 756 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 …]
|
D | q40fb.c | 47 .activate = FB_ACTIVATE_NOW,
|
D | maxinefb.c | 48 .activate = FB_ACTIVATE_NOW,
|
/drivers/nvdimm/ |
D | core.c | 452 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/ |
D | displayport.c | 321 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/ |
D | chip.h | 69 void (*activate)(void *ctx, struct brcmf_chip *chip, u32 rstvec); member
|