Searched +full:tsi +full:- +full:channel +full:- +full:mask (Results 1 – 5 of 5) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Herve Codina <herve.codina@bootlin.com>20 - const: lantiq,pef225627 - description: Master Clock28 - description: System Clock Receive29 - description: System Clock Transmit31 clock-names:33 - const: mclk[all …]
1 // SPDX-License-Identifier: GPL-2.03 * nct6775-i2c - I2C driver for the hardware monitoring functionality of4 * Nuvoton NCT677x Super-I/O chips13 * operates in a strictly read-only fashion, with the only exception being the14 * bank-select register (which seems, thankfully, to be replicated for the i2c22 #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 …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * 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 …]
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 Queue135 ((le32_to_cpu((ns_rsqep)->word_1) & 0x00FF0000) >> 16)137 (le32_to_cpu((ns_rsqep)->word_1) & 0x0000FFFF)[all …]
1 // SPDX-License-Identifier: GPL-2.0-only8 * 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 spinlock28 * 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 …]