Home
last modified time | relevance | path

Searched refs:online (Results 1 – 25 of 196) sorted by relevance

12345678

/Linux-v4.19/drivers/s390/crypto/
Dzcrypt_queue.c47 return snprintf(buf, PAGE_SIZE, "%d\n", zq->online); in online_show()
56 int online; in online_store() local
58 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1) in online_store()
61 if (online && !zc->online) in online_store()
63 zq->online = online; in online_store()
68 online); in online_store()
70 if (!online) in online_store()
75 static DEVICE_ATTR_RW(online);
98 void zcrypt_queue_force_online(struct zcrypt_queue *zq, int online) in zcrypt_queue_force_online() argument
100 zq->online = online; in zcrypt_queue_force_online()
[all …]
Dzcrypt_card.c57 return snprintf(buf, PAGE_SIZE, "%d\n", zc->online); in online_show()
66 int online, id; in online_store() local
68 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1) in online_store()
71 zc->online = online; in online_store()
74 ZCRYPT_DBF(DBF_INFO, "card=%02x online=%d\n", id, online); in online_store()
78 zcrypt_queue_force_online(zq, online); in online_store()
83 static DEVICE_ATTR_RW(online);
165 zc->online = 1; in zcrypt_card_register()
Dzcrypt_error.h109 zq->online = 0; in convert_error()
121 zq->online = 0; in convert_error()
129 zq->online = 0; in convert_error()
Dzcrypt_api.c247 if (!zc->online || !(zc->card->functions & 0x18000000)) in zcrypt_rsa_modexpo()
259 if (!zq->online || !zq->ops->rsa_modexpo) in zcrypt_rsa_modexpo()
321 if (!zc->online || !(zc->card->functions & 0x18000000)) in zcrypt_rsa_crt()
333 if (!zq->online || !zq->ops->rsa_modexpo_crt) in zcrypt_rsa_crt()
386 if (!zc->online || !(zc->card->functions & 0x10000000)) in zcrypt_send_cprb()
398 if (!zq->online || in zcrypt_send_cprb()
507 if (!zc->online || !(zc->card->functions & 0x04000000)) in zcrypt_send_ep11_cprb()
519 if (!zq->online || in zcrypt_send_ep11_cprb()
579 if (!zc->online || !(zc->card->functions & 0x10000000)) in zcrypt_rng()
587 if (!zq->online || !zq->ops->rng) in zcrypt_rng()
[all …]
/Linux-v4.19/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh32 online_cpus=`cat $SYSFS/devices/system/cpu/online`
59 if [ -f $cpu/online ] && grep -q $state $cpu/online; then
77 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
82 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
87 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online
92 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
116 echo $FUNCNAME $cpu: unexpected online >&2
/Linux-v4.19/Documentation/core-api/
Dcpu_hotplug.rst35 other CPUs later online.
40 those CPUs can not be brought online later.
77 Bitmap of all CPUs currently online. Its set in ``__cpu_up()``
85 of them may be online. When physical hotplug is processed by the relevant
117 -r--r--r-- 1 root root 4.0K Dec 21 16:33 online
121 The files *offline*, *online*, *possible*, *present* represent the CPU masks.
122 Each CPU folder contains an *online* file which controls the logical on (1) and
125 $ echo 0 > /sys/devices/system/cpu/cpu4/online
130 bring CPU4 back online: ::
132 $ echo 1 > /sys/devices/system/cpu/cpu4/online
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-devices-online1 What: /sys/devices/.../online
5 The /sys/devices/.../online attribute is only present for
6 devices whose bus types provide .online() and .offline()
13 this file, the device bus type's .online() callback is executed
20 type's .online() is exeucted successfully.
Dsysfs-devices-system-xen_cpu12 What: /sys/devices/system/xen_cpu/xen_cpu#/online
16 Interface to online/offline Xen physical cpus
19 to online/offline physical cpus, except cpu0 due to several
Dsysfs-devices-memory47 online/offline state of the memory section. When written,
48 root can toggle the the online/offline state of a removable
51 # echo online > /sys/devices/system/memory/memoryX/state
57 string "online" the following command can be executed by
/Linux-v4.19/drivers/power/supply/
D88pm860x_charger.c110 unsigned online:1; /* usb charger */ member
277 if (vbatt > CHARGE_THRESHOLD && info->online) in stop_charge()
320 (info->online) ? "online" : "N/A", in set_charging_fsm()
326 if (info->online && info->present && info->allowed) { in set_charging_fsm()
347 if (info->online && info->present && info->allowed) { in set_charging_fsm()
358 if (info->online && info->present && info->allowed) { in set_charging_fsm()
369 if (info->online && info->present && info->allowed) { in set_charging_fsm()
380 else if (vbatt > CHARGE_THRESHOLD && info->online) in set_charging_fsm()
392 (info->online) ? "online" : "N/A", in set_charging_fsm()
411 info->online = 1; in pm860x_charger_handler()
[all …]
Dtps65217_charger.c35 int online; member
84 if (charger->online) in tps65217_enable_charging()
99 charger->online = 1; in tps65217_enable_charging()
111 val->intval = charger->online; in tps65217_charger_get_property()
122 charger->prev_online = charger->online; in tps65217_charger_irq()
142 charger->online = 0; in tps65217_charger_irq()
145 if (charger->prev_online != charger->online) in tps65217_charger_irq()
Dpower_supply_leds.c116 union power_supply_propval online; in power_supply_update_gen_leds() local
118 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online)) in power_supply_update_gen_leds()
121 dev_dbg(&psy->dev, "%s %d\n", __func__, online.intval); in power_supply_update_gen_leds()
123 if (online.intval) in power_supply_update_gen_leds()
Dmax14656_charger_detector.c91 int online; member
158 chip->online = 1; in max14656_irq_worker()
160 chip->online = 0; in max14656_irq_worker()
222 val->intval = chip->online; in max14656_get_property()
269 chip->online = 0; in max14656_probe()
Dmax17040_battery.c42 int online; member
62 val->intval = chip->online; in max17040_get_property()
139 chip->online = chip->pdata->battery_online(); in max17040_get_online()
141 chip->online = 1; in max17040_get_online()
Dbq25890_charger.c81 u8 online; member
386 if (!state.online) in bq25890_power_supply_get_property()
405 val->intval = state.online; in bq25890_power_supply_get_property()
435 if (!state.online) { in bq25890_power_supply_get_property()
473 {F_PG_STAT, &state->online}, in bq25890_get_chip_state()
489 state->chrg_status, state->online, state->vsys_status, in bq25890_get_chip_state()
506 old_state.online != new_state->online || in bq25890_state_changed()
522 if (!new_state->online) { /* power removed */ in bq25890_handle_state_change()
527 } else if (!old_state.online) { /* power inserted */ in bq25890_handle_state_change()
944 if (state.online) { in bq25890_resume()
Disp1704_charger.c70 unsigned online:1; member
228 } while (!time_after(jiffies, timeout) && isp->online); in isp1704_charger_detect()
257 isp->online = true; in isp1704_charger_work()
288 isp->online = false; in isp1704_charger_work()
337 val->intval = isp->online; in isp1704_charger_get_property()
/Linux-v4.19/kernel/irq/
Dmatrix.c18 bool online; member
81 BUG_ON(cm->online); in irq_matrix_online()
89 cm->online = true; in irq_matrix_online()
104 cm->online = false; in irq_matrix_offline()
179 if (cm->online) { in irq_matrix_reserve_managed()
229 if (cm->online) { in irq_matrix_remove_managed()
333 if (!cm->online || cm->available <= maxavl) in irq_matrix_alloc()
377 if (cm->online) in irq_matrix_free()
382 if (cm->online) in irq_matrix_free()
/Linux-v4.19/Documentation/s390/
Ddriver-model.txt45 online: An interface to set the device online and offline.
47 notify function under 1.2), piping 0 to online will forcibly delete
70 via the 'online' interface.
86 int online;
142 activated via the 'online' attribute. The driver should finally
148 verified that the device is not already online.
152 de-activated via the 'online' attribute. The driver should shut
158 verified that the device is online.
164 * In online state, device detached (CIO_GONE) or last path gone
213 possible). This ccwgroup device can be set online or offline just like a normal
[all …]
/Linux-v4.19/arch/mips/kernel/
Dpm-cps.c42 typedef unsigned (*cps_nc_entry_fn)(unsigned online, u32 *nc_ready_count);
88 static void coupled_barrier(atomic_t *a, unsigned online) in coupled_barrier() argument
102 while (atomic_read(a) < online) in coupled_barrier()
105 if (atomic_inc_return(a) == online * 2) { in coupled_barrier()
110 while (atomic_read(a) > online) in coupled_barrier()
118 unsigned online, left; in cps_pm_enter_state() local
136 online = cpumask_weight(coupled_mask); in cps_pm_enter_state()
142 online = 1; in cps_pm_enter_state()
171 coupled_barrier(&per_cpu(pm_barrier, core), online); in cps_pm_enter_state()
174 left = entry(online, nc_core_ready_count); in cps_pm_enter_state()
[all …]
/Linux-v4.19/Documentation/
Dcputopology.txt119 offline: CPUs that are not online because they have been
124 online: CPUs that are online and being scheduled [cpu_online_mask]
127 brought online if they are present. [cpu_possible_mask]
138 being 32. Note also that CPUs 2 and 4-31 are not online but could be
139 brought online as they are both present and possible::
143 online: 0-1,3
150 online.)::
154 online: 0-1,3
Dmemory-hotplug.txt17 1.3. Unit of Memory online/offline operation
25 5.2. How to online memory
87 In this document, this phase is described as online/offline.
96 Unit of Memory online/offline operation
106 unit upon which memory online/offline operations are to be performed. The
178 - at read: contains online/offline state of memory.
181 "online_movable", "online", "offline" command
234 You may have to write it by yourself or online/offline memory by hand.
263 not called (in current implementation). You'll have to online memory by
273 To see (online/offline) state of a memory block, read 'state' file::
[all …]
/Linux-v4.19/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh58 hotpluggable_memory online
63 grep -q online $SYSFS/devices/system/memory/memory$1/state
73 echo online > $SYSFS/devices/system/memory/memory$1/state
103 echo $FUNCNAME $memory: unexpected online >&2
/Linux-v4.19/tools/testing/selftests/cpufreq/
Dcpu.sh35 echo 0 > $CPUROOT/$1/online
42 echo 1 > $CPUROOT/$1/online
/Linux-v4.19/include/trace/events/
Dirq_matrix.h75 __field( bool, online )
88 __entry->online = cmap->online;
99 __entry->bit, __entry->cpu, __entry->online,
/Linux-v4.19/drivers/ata/
Dahci_da850.c123 bool online; in ahci_da850_hardreset() local
134 ret = ahci_do_hardreset(link, class, deadline, &online); in ahci_da850_hardreset()
135 if (online) in ahci_da850_hardreset()

12345678