/Linux-v6.1/drivers/rtc/ |
D | rtc-ds1685.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * An rtc driver for the Dallas/Maxim DS1685/DS1687 and related real-time 6 * Copyright (C) 2011-2014 Joshua Kinard <kumba@gentoo.org>. 7 * Copyright (C) 2009 Matthias Fuchs <matthias.fuchs@esd-electronics.com>. 10 * DS1685/DS1687 3V/5V Real-Time Clocks, 19-5215, Rev 4/10. 11 * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10. 12 * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105. 33 /* ----------------------------------------------------------------------- */ 40 * ds1685_read - read a value from an rtc register. 47 return readb((u8 __iomem *)rtc->regs + in ds1685_read() [all …]
|
D | rtc-m41t94.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 "hours=%d, mday=%d, mon=%d, year=%d, wday=%d\n", in m41t94_set_time() 36 "write", tm->tm_sec, tm->tm_min, in m41t94_set_time() 37 tm->tm_hour, tm->tm_mday, in m41t94_set_time() 38 tm->tm_mon, tm->tm_year, tm->tm_wday); in m41t94_set_time() 41 buf[M41T94_REG_SECONDS] = bin2bcd(tm->tm_sec); in m41t94_set_time() 42 buf[M41T94_REG_MINUTES] = bin2bcd(tm->tm_min); in m41t94_set_time() 43 buf[M41T94_REG_HOURS] = bin2bcd(tm->tm_hour); in m41t94_set_time() 44 buf[M41T94_REG_WDAY] = bin2bcd(tm->tm_wday + 1); in m41t94_set_time() 45 buf[M41T94_REG_DAY] = bin2bcd(tm->tm_mday); in m41t94_set_time() [all …]
|
D | rtc-rx8581.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC) 9 * Copyright 2005-06 Tower Technologies 68 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch. 79 * time and date then re-read the "update flag". If the update flag in rx8581_rtc_read_time() 83 err = regmap_read(rx8581->regmap, RX8581_REG_FLAG, &data); in rx8581_rtc_read_time() 90 return -EINVAL; in rx8581_rtc_read_time() 96 err = regmap_write(rx8581->regmap, RX8581_REG_FLAG, in rx8581_rtc_read_time() 103 err = regmap_bulk_read(rx8581->regmap, RX8581_REG_SC, date, in rx8581_rtc_read_time() 109 err = regmap_read(rx8581->regmap, RX8581_REG_FLAG, &data); in rx8581_rtc_read_time() [all …]
|
D | rtc-rx4581.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* drivers/rtc/rtc-rx4581.c 7 * drivers/rtc/rtc-max6902.c 15 * drivers/rtc/rtc-rx8581.c 22 * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC) 23 * Copyright 2005-06 Tower Technologies 92 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch. 102 * time and date then re-read the "update flag". If the update flag in rx4581_get_datetime() 109 return -EIO; in rx4581_get_datetime() 120 return -EIO; in rx4581_get_datetime() [all …]
|
D | rtc-s35390a.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Seiko Instruments S-35390A RTC Driver 73 struct i2c_client *client = s35390a->client[reg]; in s35390a_set_reg() 76 .addr = client->addr, in s35390a_set_reg() 82 if ((i2c_transfer(client->adapter, msg, 1)) != 1) in s35390a_set_reg() 83 return -EIO; in s35390a_set_reg() 90 struct i2c_client *client = s35390a->client[reg]; in s35390a_get_reg() 93 .addr = client->addr, in s35390a_get_reg() 100 if ((i2c_transfer(client->adapter, msg, 1)) != 1) in s35390a_get_reg() 101 return -EIO; in s35390a_get_reg() [all …]
|
D | rtc-m41t93.c | 1 // SPDX-License-Identifier: GPL-2.0-only 53 "hours=%d, mday=%d, mon=%d, year=%d, wday=%d\n", in m41t93_set_time() 54 "write", tm->tm_sec, tm->tm_min, in m41t93_set_time() 55 tm->tm_hour, tm->tm_mday, in m41t93_set_time() 56 tm->tm_mon, tm->tm_year, tm->tm_wday); in m41t93_set_time() 58 if (tm->tm_year < 100) { in m41t93_set_time() 59 dev_warn(&spi->dev, "unsupported date (before 2000-01-01).\n"); in m41t93_set_time() 60 return -EINVAL; in m41t93_set_time() 68 dev_warn(&spi->dev, "OF bit is set, resetting.\n"); in m41t93_set_time() 79 dev_warn(&spi->dev, in m41t93_set_time() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/ |
D | bq27xxx.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Pali Rohár <pali@kernel.org> 12 - Andrew F. Davis <afd@ti.com> 13 - Sebastian Reichel <sre@kernel.org> 20 - $ref: power-supply.yaml# 25 - ti,bq27200 26 - ti,bq27210 27 - ti,bq27500 # deprecated, use revision specific property below [all …]
|
D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
D | active-semi,act8945a-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945A Charger Function 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 17 const: active-semi,act8945a-charger 22 active-semi,chglev-gpios: 26 active-semi,lbo-gpios: [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | ene-kb930.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/ene-kb930.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Dmitry Osipenko <digetx@gmail.com> 19 - enum: 20 - acer,a500-iconia-ec # Acer A500 Iconia tablet device 21 - const: ene,kb930 25 monitored-battery: true 26 power-supplies: true [all …]
|
/Linux-v6.1/include/trace/events/ |
D | v4l2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <media/videobuf2-v4l2.h> 127 __entry->minor = minor; 128 __entry->index = buf->index; 129 __entry->type = buf->type; 130 __entry->bytesused = buf->bytesused; 131 __entry->flags = buf->flags; 132 __entry->field = buf->field; 133 __entry->timestamp = v4l2_buffer_get_timestamp(buf); 134 __entry->timecode_type = buf->timecode.type; [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | rtc-cdev | 4 Contact: linux-rtc@vger.kernel.org 6 The ioctl interface to drivers for real-time clocks (RTCs). 17 RTCs that support alarms. Can be set upto 24 hours in the 22 powerful interface, which can issue alarms beyond 24 hours and 48 newer features -- including those enabled by ACPI -- are exposed
|
/Linux-v6.1/tools/testing/selftests/arm64/fp/ |
D | README | 7 sve-probe-vls - Checks the SVE vector length enumeration interface 8 sve-ptrace - Checks the SVE ptrace interface 10 Running the non-kselftest tests 13 sve-stress performs an SVE context switch stress test, as described 16 (The fpsimd-stress test works the same way; just substitute "fpsimd" for 25 $ ./sve-stress 60 Ideally, the test should be allowed to run for many minutes or hours 67 To try to reproduce the bugs that we have been observing, sve-stress 73 $ lkvm run --console=virtio -pconsole=hvc0 --sve Image 76 --irqchip=gicv3. New kvmtool defaults to that if appropriate, but I [all …]
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ptp.h | 1 /* Broadcom NetXtreme-C/E network driver. 48 (32 - \ 91 /* 48-bit PHC overflows in 78 hours. Check overflow every 19 hours. */ 125 spin_lock_bh(&(ptp)->ptp_lock); \ 127 spin_unlock_bh(&(ptp)->ptp_lock); \
|
/Linux-v6.1/drivers/power/supply/ |
D | max77693_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max77693_charger.c - Battery charger driver for the Maxim 77693 13 #include <linux/mfd/max77693-common.h> 14 #include <linux/mfd/max77693-private.h> 16 #define MAX77693_CHARGER_NAME "max77693-charger" 88 * Top-off: trickle or fast? In top-off the current varies between in max77693_get_charge_type() 118 * - POWER_SUPPLY_HEALTH_DEAD 119 * - POWER_SUPPLY_HEALTH_GOOD 120 * - POWER_SUPPLY_HEALTH_OVERVOLTAGE 121 * - POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE [all …]
|
D | max14577_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max14577_charger.c - Battery charger driver for the Maxim 14577/77836 11 #include <linux/mfd/max14577-private.h> 49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state() 55 * - CHGCTRL2/MBCHOSTEN == 1 in max14577_get_charger_state() 56 * - STATUS2/CGMBC == 1 in max14577_get_charger_state() 59 * - handle FULL after Top-off timer (EOC register may be off in max14577_get_charger_state() 61 * - handle properly dead-battery charging (respect timer) in max14577_get_charger_state() 62 * - handle timers (fast-charge and prequal) /MBCCHGERR/ in max14577_get_charger_state() 78 /* Charger or USB-cable is connected */ in max14577_get_charger_state() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | tout.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 32 dev->timeouts->to[type] = val; in tout_set() 39 dev->timeouts = kmalloc(sizeof(*dev->timeouts), GFP_KERNEL); in mlx5_tout_init() 40 if (!dev->timeouts) in mlx5_tout_init() 41 return -ENOMEM; in mlx5_tout_init() 51 kfree(dev->timeouts); in mlx5_tout_cleanup() 60 * 0x3: hours 69 /* convert hours/minutes/seconds to miliseconds */ in tout_convert_reg_field_to_ms() 71 msec *= 1000 * int_pow(60, to_mul - 1); in tout_convert_reg_field_to_ms() 83 return !!ioread32be(&dev->iseg->cmd_q_init_to); in tout_is_supported() [all …]
|
/Linux-v6.1/include/linux/mfd/wm8350/ |
D | rtc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * rtc.h -- RTC driver for Wolfson WM8350 PMIC 26 * R16 (0x10) - RTC Seconds/Minutes 34 * R17 (0x11) - RTC Hours/Day 56 * R18 (0x12) - RTC Date/Month 90 * R19 (0x13) - RTC Year 98 * R20 (0x14) - Alarm Seconds/Minutes 106 #define WM8350_RTC_ALMMINS_DONT_CARE -1 107 #define WM8350_RTC_ALMSECS_DONT_CARE -1 110 * R21 (0x15) - Alarm Hours/Day [all …]
|
/Linux-v6.1/drivers/platform/x86/dell/ |
D | dell-laptop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Copyright (C) 2005-2014 Dell Inc. 31 #include "dell-rbtn.h" 32 #include "dell-smbios.h" 34 #include "dell-wmi-privacy.h" 45 * The list must end with -1 58 quirks = dmi->driver_data; in dmi_matched() 68 .kbd_timeouts = { 0, 5, 15, 60, 5 * 60, 15 * 60, -1 }, 89 .name = "dell-laptop", 359 buffer->input[0] = arg0; in dell_fill_request() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/rtc/ |
D | microchip,pic32-rtc.txt | 3 The RTCC keeps time in hours, minutes, and seconds, and one half second. It 8 - compatible: should be: "microchip,pic32mzda-rtc" 9 - reg: physical base address of the controller and length of memory mapped 11 - interrupts: RTC alarm/event interrupt 12 - clocks: clock phandle 17 compatible = "microchip,pic32mzda-rtc";
|
/Linux-v6.1/include/uapi/linux/netfilter_bridge/ |
D | ebt_limit.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 13 seconds, or one every 59 hours. */
|
/Linux-v6.1/include/uapi/linux/netfilter/ |
D | xt_limit.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 13 seconds, or one every 59 hours. */
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | sdm845-oneplus-enchilada.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 #include "sdm845-oneplus-common.dtsi" 13 chassis-type = "handset"; 14 qcom,msm-id = <0x141 0x20001>; 15 qcom,board-id = <8 0 17819 22>; 18 compatible = "simple-battery"; 20 charge-full-design-microamp-hours = <3300000>; 21 voltage-min-design-microvolt = <3400000>; 22 voltage-max-design-microvolt = <4400000>; 33 monitored-battery = <&battery>;
|
D | sdm845-oneplus-fajita.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 #include "sdm845-oneplus-common.dtsi" 13 chassis-type = "handset"; 14 qcom,msm-id = <0x141 0x20001>; 15 qcom,board-id = <8 0 18801 41>; 18 compatible = "simple-battery"; 20 charge-full-design-microamp-hours = <3700000>; 21 voltage-min-design-microvolt = <3400000>; 22 voltage-max-design-microvolt = <4400000>; 33 monitored-battery = <&battery>; [all …]
|
/Linux-v6.1/arch/m68k/apollo/ |
D | config.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <asm/bootinfo-apollo.h> 40 [APOLLO_DN3000-APOLLO_DN3000] = "DN3000 (Otter)", 41 [APOLLO_DN3010-APOLLO_DN3000] = "DN3010 (Otter)", 42 [APOLLO_DN3500-APOLLO_DN3000] = "DN3500 (Cougar II)", 43 [APOLLO_DN4000-APOLLO_DN3000] = "DN4000 (Mink)", 44 [APOLLO_DN4500-APOLLO_DN3000] = "DN4500 (Roadrunner)" 50 const void *data = record->data; in apollo_parse_bootinfo() 52 switch (be16_to_cpu(record->tag)) { in apollo_parse_bootinfo() 67 apollo_models[apollo_model - APOLLO_DN3000]); in dn_setup_model() [all …]
|