Searched +full:tsi +full:- +full:channel +full:- +full:mask (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/Documentation/devicetree/bindings/hwmon/ |
D | nuvoton,nct6775.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Zev Weiss <zev@bewilderbeest.net> 16 - nuvoton,nct6106 17 - nuvoton,nct6116 18 - nuvoton,nct6775 19 - nuvoton,nct6776 20 - nuvoton,nct6779 21 - nuvoton,nct6791 [all …]
|
/Linux-v6.1/drivers/hwmon/ |
D | nct6775-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * nct6775-i2c - I2C driver for the hardware monitoring functionality of 4 * Nuvoton NCT677x Super-I/O chips 13 * operates in a strictly read-only fashion, with the only exception being the 14 * bank-select register (which seems, thankfully, to be replicated for the i2c 22 #include <linux/hwmon-sysfs.h> 34 struct i2c_client *client = data->driver_data; in nct6775_i2c_read() 36 if (bank != data->bank) { in nct6775_i2c_read() 40 data->bank = bank; in nct6775_i2c_read() 66 struct i2c_client *client = data->driver_data; in nct6775_i2c_write() [all …]
|
D | nct7904.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * nct7904.c - driver for Nuvoton NCT7904D. 91 #define TSI_CTRL_REG 0x50 /* Bank 2; TSI Control Register */ 92 #define FANCTL1_FMR_REG 0x00 /* Bank 3; 1 reg per channel */ 93 #define FANCTL1_OUT_REG 0x10 /* Bank 3; 1 reg per channel */ 110 /*The timeout range is 1-255 minutes*/ 149 mutex_lock(&data->bank_lock); in nct7904_bank_lock() 150 if (data->bank_sel == bank) in nct7904_bank_lock() 152 ret = i2c_smbus_write_byte_data(data->client, BANK_SEL_REG, bank); in nct7904_bank_lock() 154 data->bank_sel = bank; in nct7904_bank_lock() [all …]
|
/Linux-v6.1/drivers/atm/ |
D | nicstar.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 56 #define NUM_HB 8 /* Pre-allocated huge buffers */ 107 #define NS_MAX_IOVECS (2 + (65568 - NS_SMBUFSIZE) / \ 108 (NS_LGBUFSIZE - (NS_LGBUFSIZE % 48))) 111 #define NS_SMBUFSIZE_USABLE (NS_SMBUFSIZE - NS_SMBUFSIZE % 48) 112 #define NS_LGBUFSIZE_USABLE (NS_LGBUFSIZE - NS_LGBUFSIZE % 48) 114 #define NS_AAL0_HEADER (ATM_AAL0_SDU - ATM_CELL_PAYLOAD) /* 4 bytes */ 122 * RSQ - Receive Status Queue 135 ((le32_to_cpu((ns_rsqep)->word_1) & 0x00FF0000) >> 16) 137 (le32_to_cpu((ns_rsqep)->word_1) & 0x0000FFFF) [all …]
|
D | nicstar.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * It was taken from the frle-0.22 device driver. 11 * frle-0.22 device driver. 26 * 1 - Per card interrupt spinlock (to protect structures and such) 27 * 2 - Per SCQ scq spinlock 28 * 3 - Per card resource spinlock (to access registers, etc.) 42 #include <linux/dma-mapping.h> 105 #define CMD_BUSY(card) (readl((card)->membase + STAT) & NS_STAT_CMDBZ) 109 #define PTR_DIFF(a, b) ((u32)((unsigned long)(a) - (unsigned long)(b))) 112 #define ATM_SKB(s) (&(s)->atm) [all …]
|