/Linux-v5.4/drivers/s390/crypto/ |
D | zcrypt_queue.c | 45 return snprintf(buf, PAGE_SIZE, "%d\n", zq->online); in online_show() 54 int online; in online_store() local 56 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1) in online_store() 59 if (online && !zc->online) in online_store() 61 zq->online = online; in online_store() 66 online); in online_store() 68 if (!online) in online_store() 73 static DEVICE_ATTR_RW(online); 96 void zcrypt_queue_force_online(struct zcrypt_queue *zq, int online) in zcrypt_queue_force_online() argument 98 zq->online = online; in zcrypt_queue_force_online() [all …]
|
D | zcrypt_card.c | 55 return snprintf(buf, PAGE_SIZE, "%d\n", zc->online); in online_show() 64 int online, id; in online_store() local 66 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1) in online_store() 69 zc->online = online; in online_store() 72 ZCRYPT_DBF(DBF_INFO, "card=%02x online=%d\n", id, online); in online_store() 76 zcrypt_queue_force_online(zq, online); in online_store() 81 static DEVICE_ATTR_RW(online); 163 zc->online = 1; in zcrypt_card_register()
|
D | zcrypt_error.h | 110 zq->online = 0; in convert_error() 120 zq->online = 0; in convert_error() 143 zq->online = 0; in convert_error() 151 zq->online = 0; in convert_error()
|
/Linux-v5.4/Documentation/core-api/ |
D | cpu_hotplug.rst | 35 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 …]
|
D | memory-hotplug.rst | 23 Generated when memory has successfully brought online. The callback may 64 - start_pfn is start_pfn of online/offline memory. 65 - nr_pages is # of pages of online/offline memory. 71 set/clear. It means a new(memoryless) node gets new memory by online and a 95 - synchronize against online/offline requests (e.g. via sysfs). This way, memory 96 block devices can only be accessed (.online/.state attributes) by user 102 device_hotplug_lock when adding memory and user space tries to online that
|
/Linux-v5.4/tools/testing/selftests/cpu-hotplug/ |
D | cpu-on-off-test.sh | 32 online_cpus=`cat $SYSFS/devices/system/cpu/online` 63 if [ -f $cpu/online ] && grep -q $state $cpu/online; then 81 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online 86 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online 91 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online 96 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online 120 echo $FUNCNAME $cpu: unexpected online >&2
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | sysfs-devices-online | 1 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.
|
D | sysfs-devices-system-xen_cpu | 12 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
|
/Linux-v5.4/drivers/power/supply/ |
D | 88pm860x_charger.c | 107 unsigned online:1; /* usb charger */ member 274 if (vbatt > CHARGE_THRESHOLD && info->online) in stop_charge() 317 (info->online) ? "online" : "N/A", in set_charging_fsm() 323 if (info->online && info->present && info->allowed) { in set_charging_fsm() 344 if (info->online && info->present && info->allowed) { in set_charging_fsm() 355 if (info->online && info->present && info->allowed) { in set_charging_fsm() 366 if (info->online && info->present && info->allowed) { in set_charging_fsm() 377 else if (vbatt > CHARGE_THRESHOLD && info->online) in set_charging_fsm() 389 (info->online) ? "online" : "N/A", in set_charging_fsm() 408 info->online = 1; in pm860x_charger_handler() [all …]
|
D | tps65217_charger.c | 35 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()
|
D | power_supply_leds.c | 115 union power_supply_propval online; in power_supply_update_gen_leds() local 117 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online)) in power_supply_update_gen_leds() 120 dev_dbg(&psy->dev, "%s %d\n", __func__, online.intval); in power_supply_update_gen_leds() 122 if (online.intval) in power_supply_update_gen_leds()
|
D | max14656_charger_detector.c | 87 int online; member 154 chip->online = 1; in max14656_irq_worker() 156 chip->online = 0; in max14656_irq_worker() 218 val->intval = chip->online; in max14656_get_property() 273 chip->online = 0; in max14656_probe()
|
D | max17040_battery.c | 38 int online; member 58 val->intval = chip->online; in max17040_get_property() 135 chip->online = chip->pdata->battery_online(); in max17040_get_online() 137 chip->online = 1; in max17040_get_online()
|
D | bq25890_charger.c | 73 u8 online; member 375 if (!state.online) in bq25890_power_supply_get_property() 406 val->intval = state.online; in bq25890_power_supply_get_property() 436 if (!state.online) { in bq25890_power_supply_get_property() 483 {F_PG_STAT, &state->online}, in bq25890_get_chip_state() 499 state->chrg_status, state->online, state->vsys_status, in bq25890_get_chip_state() 516 old_state.online != new_state->online || in bq25890_state_changed() 532 if (!new_state->online) { /* power removed */ in bq25890_handle_state_change() 537 } else if (!old_state.online) { /* power inserted */ in bq25890_handle_state_change() 970 if (state.online) { in bq25890_resume()
|
/Linux-v5.4/kernel/irq/ |
D | matrix.c | 19 bool online; member 82 BUG_ON(cm->online); in irq_matrix_online() 90 cm->online = true; in irq_matrix_online() 105 cm->online = false; in irq_matrix_offline() 140 if (!cm->online || cm->available <= maxavl) in matrix_find_best_cpu() 161 if (!cm->online || cm->managed_allocated > allocated) in matrix_find_best_cpu_managed() 222 if (cm->online) { in irq_matrix_reserve_managed() 272 if (cm->online) { in irq_matrix_remove_managed() 424 if (cm->online) in irq_matrix_free() 429 if (cm->online) in irq_matrix_free()
|
/Linux-v5.4/drivers/staging/fieldbus/ |
D | fieldbus_dev.h | 61 bool online; member 93 void fieldbus_dev_online_changed(struct fieldbus_dev *fb, bool online); 105 bool online) {} in fieldbus_dev_online_changed() argument
|
D | dev_core.c | 34 return sprintf(buf, "%d\n", !!fb->online); in online_show() 36 static DEVICE_ATTR_RO(online); 244 void fieldbus_dev_online_changed(struct fieldbus_dev *fb, bool online) in fieldbus_dev_online_changed() argument 246 fb->online = online; in fieldbus_dev_online_changed()
|
/Linux-v5.4/Documentation/s390/ |
D | driver-model.rst | 49 online: 50 An interface to set the device online and offline. 52 notify function under 1.2), piping 0 to online will forcibly delete 77 via the 'online' interface. 93 int online; 161 activated via the 'online' attribute. The driver should finally 171 verified that the device is not already online. 175 de-activated via the 'online' attribute. The driver should shut 185 verified that the device is online. 194 * In online state, device detached (CIO_GONE) or last path gone [all …]
|
/Linux-v5.4/arch/mips/kernel/ |
D | pm-cps.c | 38 typedef unsigned (*cps_nc_entry_fn)(unsigned online, u32 *nc_ready_count); 84 static void coupled_barrier(atomic_t *a, unsigned online) in coupled_barrier() argument 98 while (atomic_read(a) < online) in coupled_barrier() 101 if (atomic_inc_return(a) == online * 2) { in coupled_barrier() 106 while (atomic_read(a) > online) in coupled_barrier() 114 unsigned online, left; in cps_pm_enter_state() local 132 online = cpumask_weight(coupled_mask); in cps_pm_enter_state() 138 online = 1; in cps_pm_enter_state() 167 coupled_barrier(&per_cpu(pm_barrier, core), online); in cps_pm_enter_state() 170 left = entry(online, nc_core_ready_count); in cps_pm_enter_state() [all …]
|
/Linux-v5.4/Documentation/admin-guide/ |
D | cputopology.rst | 137 offline: CPUs that are not online because they have been 142 online: CPUs that are online and being scheduled [cpu_online_mask] 145 brought online if they are present. [cpu_possible_mask] 156 being 32. Note also that CPUs 2 and 4-31 are not online but could be 157 brought online as they are both present and possible:: 161 online: 0-1,3 168 online.):: 172 online: 0-1,3
|
/Linux-v5.4/Documentation/admin-guide/mm/ |
D | memory-hotplug.rst | 68 In this document, this phase is described as online/offline. 76 Unit of Memory online/offline operation 86 unit upon which memory online/offline operations are to be performed. The 158 - at read: contains online/offline state of memory. 161 "online_movable", "online", "offline" command 216 You may have to write it by yourself or online/offline memory by hand. 245 not called (in current implementation). You'll have to online memory by 254 To see (online/offline) state of a memory block, read 'state' file:: 259 - If the memory block is online, you'll read "online". 265 How to online memory [all …]
|
/Linux-v5.4/tools/testing/selftests/memory-hotplug/ |
D | mem-on-off-test.sh | 58 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-v5.4/tools/testing/selftests/cpufreq/ |
D | cpu.sh | 35 echo 0 > $CPUROOT/$1/online 42 echo 1 > $CPUROOT/$1/online
|
/Linux-v5.4/include/trace/events/ |
D | irq_matrix.h | 75 __field( bool, online ) 88 __entry->online = cmap->online; 99 __entry->bit, __entry->cpu, __entry->online,
|
/Linux-v5.4/drivers/ata/ |
D | ahci_da850.c | 119 bool online; in ahci_da850_hardreset() local 130 ret = ahci_do_hardreset(link, class, deadline, &online); in ahci_da850_hardreset() 131 if (online) in ahci_da850_hardreset()
|