/Linux-v6.1/Documentation/devicetree/bindings/gpio/ |
D | realtek,otto-gpio.yaml | 24 pattern: "^gpio@[0-9a-f]+$" 86 reg = <0x3500 0x1c>; 98 reg = <0x3300 0x1c>, <0x3338 0x8>;
|
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
D | g84.c | 39 return (nvkm_rd32(device, 0x00154c) & 0x1) + 1; in g84_pcie_version() 46 nvkm_mask(device, 0x00154c, 0x1, (ver >= 2 ? 0x1 : 0x0)); in g84_pcie_set_version() 53 nvkm_mask(device, 0x00154c, 0x80, full_speed ? 0x80 : 0x0); in g84_pcie_set_cap_speed() 59 u32 reg_v = nvkm_pci_rd32(pci, 0x88) & 0x30000; in g84_pcie_cur_speed() 61 case 0x30000: in g84_pcie_cur_speed() 63 case 0x20000: in g84_pcie_cur_speed() 65 case 0x10000: in g84_pcie_cur_speed() 74 u32 reg_v = nvkm_pci_rd32(pci, 0x460) & 0x3300; in g84_pcie_max_speed() 75 if (reg_v == 0x2200) in g84_pcie_max_speed() 86 mask_value = 0x20; in g84_pcie_set_link_speed() [all …]
|
/Linux-v6.1/lib/ |
D | crc16.c | 10 /** CRC table for the CRC-16. The poly is 0x8005 (x^16 + x^15 + x^2 + 1) */ 12 0x0000, 0xC0C1, 0xC181, 0x0140, 0xC301, 0x03C0, 0x0280, 0xC241, 13 0xC601, 0x06C0, 0x0780, 0xC741, 0x0500, 0xC5C1, 0xC481, 0x0440, 14 0xCC01, 0x0CC0, 0x0D80, 0xCD41, 0x0F00, 0xCFC1, 0xCE81, 0x0E40, 15 0x0A00, 0xCAC1, 0xCB81, 0x0B40, 0xC901, 0x09C0, 0x0880, 0xC841, 16 0xD801, 0x18C0, 0x1980, 0xD941, 0x1B00, 0xDBC1, 0xDA81, 0x1A40, 17 0x1E00, 0xDEC1, 0xDF81, 0x1F40, 0xDD01, 0x1DC0, 0x1C80, 0xDC41, 18 0x1400, 0xD4C1, 0xD581, 0x1540, 0xD701, 0x17C0, 0x1680, 0xD641, 19 0xD201, 0x12C0, 0x1380, 0xD341, 0x1100, 0xD1C1, 0xD081, 0x1040, 20 0xF001, 0x30C0, 0x3180, 0xF141, 0x3300, 0xF3C1, 0xF281, 0x3240, [all …]
|
/Linux-v6.1/drivers/mfd/ |
D | si476x-prop.c | 25 for (i = 0; i < size; i++) in si476x_core_element_is_in_array() 38 for (i = 0; i < size; i++) in si476x_core_element_is_in_range() 49 0x0000, in si476x_core_is_valid_property_a10() 50 0x0500, 0x0501, in si476x_core_is_valid_property_a10() 51 0x0600, in si476x_core_is_valid_property_a10() 52 0x0709, 0x070C, 0x070D, 0x70E, 0x710, in si476x_core_is_valid_property_a10() 53 0x0718, in si476x_core_is_valid_property_a10() 54 0x1207, 0x1208, in si476x_core_is_valid_property_a10() 55 0x2007, in si476x_core_is_valid_property_a10() 56 0x2300, in si476x_core_is_valid_property_a10() [all …]
|
D | arizona-core.c | 39 int ret = 0; in arizona_clk32k_enable() 49 if (ret != 0) in arizona_clk32k_enable() 52 if (ret != 0) { in arizona_clk32k_enable() 59 if (ret != 0) in arizona_clk32k_enable() 70 if (ret != 0) in arizona_clk32k_enable() 83 WARN_ON(arizona->clk32k_ref <= 0); in arizona_clk32k_disable() 87 if (arizona->clk32k_ref == 0) { in arizona_clk32k_disable() 89 ARIZONA_CLK_32K_ENA, 0); in arizona_clk32k_disable() 104 return 0; in arizona_clk32k_disable() 125 if (ret != 0) { in arizona_underclocked() [all …]
|
/Linux-v6.1/drivers/staging/rtl8712/ |
D | usb_intf.c | 41 {USB_DEVICE(0x0BDA, 0x8171)}, 42 {USB_DEVICE(0x0bda, 0x8173)}, 43 {USB_DEVICE(0x0bda, 0x8712)}, 44 {USB_DEVICE(0x0bda, 0x8713)}, 45 {USB_DEVICE(0x0bda, 0xC512)}, 47 {USB_DEVICE(0x07B8, 0x8188)}, 49 {USB_DEVICE(0x0B05, 0x1786)}, 50 {USB_DEVICE(0x0B05, 0x1791)}, /* 11n mode disable */ 52 {USB_DEVICE(0x050D, 0x945A)}, 54 {USB_DEVICE(0x050D, 0x11F1)}, [all …]
|
/Linux-v6.1/drivers/staging/wlan-ng/ |
D | prism2usb.c | 13 PRISM_DEV(0x04bb, 0x0922, "IOData AirPort WN-B11/USBS"), 14 PRISM_DEV(0x07aa, 0x0012, "Corega Wireless LAN USB Stick-11"), 15 PRISM_DEV(0x09aa, 0x3642, "Prism2.x 11Mbps WLAN USB Adapter"), 16 PRISM_DEV(0x1668, 0x0408, "Actiontec Prism2.5 11Mbps WLAN USB Adapter"), 17 PRISM_DEV(0x1668, 0x0421, "Actiontec Prism2.5 11Mbps WLAN USB Adapter"), 18 PRISM_DEV(0x1915, 0x2236, "Linksys WUSB11v3.0 11Mbps WLAN USB Adapter"), 19 PRISM_DEV(0x066b, 0x2212, "Linksys WUSB11v2.5 11Mbps WLAN USB Adapter"), 20 PRISM_DEV(0x066b, 0x2213, "Linksys WUSB12v1.1 11Mbps WLAN USB Adapter"), 21 PRISM_DEV(0x0411, 0x0016, "Melco WLI-USB-S11 11Mbps WLAN Adapter"), 22 PRISM_DEV(0x08de, 0x7a01, "PRISM25 IEEE 802.11 Mini USB Adapter"), [all …]
|
/Linux-v6.1/drivers/gpu/drm/mediatek/ |
D | mtk_dp_reg.h | 9 #define SEC_OFFSET 0x4000 15 /* offset: 0x0 */ 16 #define DP_PHY_GLB_BIAS_GEN_00 0x0 18 #define DP_PHY_GLB_DPAUX_TX 0x8 20 #define MTK_DP_0034 0x34 36 #define DA_XTP_GLB_LDO_EN_FORCE_EN BIT(0) 37 #define DP_PHY_LANE_TX_0 0x104 40 #define DP_PHY_LANE_TX_1 0x204 43 #define DP_PHY_LANE_TX_2 0x304 46 #define DP_PHY_LANE_TX_3 0x404 [all …]
|
/Linux-v6.1/drivers/media/dvb-frontends/ |
D | s5h1411.c | 42 } while (0) 50 { S5H1411_I2C_TOP_ADDR, 0x00, 0x0071, }, 51 { S5H1411_I2C_TOP_ADDR, 0x08, 0x0047, }, 52 { S5H1411_I2C_TOP_ADDR, 0x1c, 0x0400, }, 53 { S5H1411_I2C_TOP_ADDR, 0x1e, 0x0370, }, 54 { S5H1411_I2C_TOP_ADDR, 0x1f, 0x342c, }, 55 { S5H1411_I2C_TOP_ADDR, 0x24, 0x0231, }, 56 { S5H1411_I2C_TOP_ADDR, 0x25, 0x1011, }, 57 { S5H1411_I2C_TOP_ADDR, 0x26, 0x0f07, }, 58 { S5H1411_I2C_TOP_ADDR, 0x27, 0x0f04, }, [all …]
|
/Linux-v6.1/drivers/bus/ |
D | omap_l3_noc.h | 16 #define CUSTOM_ERROR 0x2 17 #define STANDARD_ERROR 0x0 18 #define INBAND_ERROR 0x0 19 #define L3_APPLICATION_ERROR 0x0 20 #define L3_DEBUG_ERROR 0x1 23 #define L3_TARG_STDERRLOG_MAIN 0x48 24 #define L3_TARG_STDERRLOG_HDR 0x4c 25 #define L3_TARG_STDERRLOG_MSTADDR 0x50 26 #define L3_TARG_STDERRLOG_INFO 0x58 27 #define L3_TARG_STDERRLOG_SLVOFSLSB 0x5c [all …]
|
/Linux-v6.1/drivers/hwmon/ |
D | jc42.c | 25 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, I2C_CLIENT_END }; 28 #define JC42_REG_CAP 0x00 29 #define JC42_REG_CONFIG 0x01 30 #define JC42_REG_TEMP_UPPER 0x02 31 #define JC42_REG_TEMP_LOWER 0x03 32 #define JC42_REG_TEMP_CRITICAL 0x04 33 #define JC42_REG_TEMP 0x05 34 #define JC42_REG_MANID 0x06 35 #define JC42_REG_DEVICEID 0x07 36 #define JC42_REG_SMBUS 0x22 /* NXP and Atmel, possibly others? */ [all …]
|
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgt215.c | 103 u8 median[8], bins[4] = {0, 0, 0, 0}, bin = 0, qty = 0; in gt215_link_train_calc() 105 for (i = 0; i < 8; i++) { in gt215_link_train_calc() 106 for (lo = 0; lo < 0x40; lo++) { in gt215_link_train_calc() 107 if (!(vals[lo] & 0x80000000)) in gt215_link_train_calc() 109 if (vals[lo] & (0x101 << i)) in gt215_link_train_calc() 113 if (lo == 0x40) in gt215_link_train_calc() 116 for (hi = lo + 1; hi < 0x40; hi++) { in gt215_link_train_calc() 117 if (!(vals[lo] & 0x80000000)) in gt215_link_train_calc() 119 if (!(vals[hi] & (0x101 << i))) { in gt215_link_train_calc() 126 bins[(median[i] & 0xf0) >> 4]++; in gt215_link_train_calc() [all …]
|
/Linux-v6.1/drivers/net/ethernet/amd/ |
D | ariadne.h | 17 * Publication #16907, Rev. B, Amendment/0, May 1994 62 #define CSR0 0x0000 /* - PCnet-ISA Controller Status */ 63 #define CSR1 0x0100 /* - IADR[15:0] */ 64 #define CSR2 0x0200 /* - IADR[23:16] */ 65 #define CSR3 0x0300 /* - Interrupt Masks and Deferral Control */ 66 #define CSR4 0x0400 /* - Test and Features Control */ 67 #define CSR6 0x0600 /* RCV/XMT Descriptor Table Length */ 68 #define CSR8 0x0800 /* - Logical Address Filter, LADRF[15:0] */ 69 #define CSR9 0x0900 /* - Logical Address Filter, LADRF[31:16] */ 70 #define CSR10 0x0a00 /* - Logical Address Filter, LADRF[47:32] */ [all …]
|
/Linux-v6.1/drivers/media/usb/pwc/ |
D | pwc-ctrl.c | 41 #define GET_STATUS_B00 0x0B00 42 #define SENSOR_TYPE_FORMATTER1 0x0C00 43 #define GET_STATUS_3000 0x3000 44 #define READ_RAW_Y_MEAN_FORMATTER 0x3100 45 #define SET_POWER_SAVE_MODE_FORMATTER 0x3200 46 #define MIRROR_IMAGE_FORMATTER 0x3300 47 #define LED_FORMATTER 0x3400 48 #define LOWLIGHT 0x3500 49 #define GET_STATUS_3600 0x3600 50 #define SENSOR_TYPE_FORMATTER2 0x3700 [all …]
|
/Linux-v6.1/sound/soc/sh/rcar/ |
D | src.c | 50 for ((i) = 0; \ 68 rsnd_mod_write(mod, SRC_SWRSR, 0); in rsnd_src_activation() 75 rsnd_mod_write(mod, SRC_SWRSR, 0); in rsnd_src_halt() 97 return 0; in rsnd_src_convert_rate() 119 unsigned int rate = 0; in rsnd_src_get_rate() 147 0x01800000, /* 6 - 1/6 */ 148 0x01000000, /* 6 - 1/4 */ 149 0x00c00000, /* 6 - 1/3 */ 150 0x00800000, /* 6 - 1/2 */ 151 0x00600000, /* 6 - 2/3 */ [all …]
|
/Linux-v6.1/drivers/pinctrl/mediatek/ |
D | pinctrl-mt7629.c | 12 MTK_PIN(_number, _name, 0, _eint_n, DRV_GRP1) 15 PIN_FIELD(0, 78, 0x300, 0x10, 0, 4), 19 PIN_FIELD(0, 78, 0x0, 0x10, 0, 1), 23 PIN_FIELD(0, 78, 0x200, 0x10, 0, 1), 27 PIN_FIELD(0, 78, 0x100, 0x10, 0, 1), 31 PIN_FIELD(0, 10, 0x1000, 0x10, 0, 1), 32 PIN_FIELD(11, 18, 0x2000, 0x10, 0, 1), 33 PIN_FIELD(19, 32, 0x3000, 0x10, 0, 1), 34 PIN_FIELD(33, 48, 0x4000, 0x10, 0, 1), 35 PIN_FIELD(49, 50, 0x5000, 0x10, 0, 1), [all …]
|
/Linux-v6.1/arch/arm/mach-pxa/ |
D | tosa.c | 135 GPIO58_GPIO | MFP_LPM_DRIVE_LOW, /* Column 0 */ 146 GPIO69_GPIO | MFP_LPM_DRIVE_LOW, /* Row 0 */ 168 [0] = { 170 .end = TOSA_CF_PHYS + 0xfff, 182 .id = 0, 195 [0] = { 196 .start = TOSA_SCOOP_PHYS + 0x40, 197 .end = TOSA_SCOOP_PHYS + 0xfff, 235 .devs = &tosa_pcmcia_scoop[0], 274 return 0; in tosa_mci_init() [all …]
|
/Linux-v6.1/drivers/net/ethernet/smsc/ |
D | smc91x.c | 15 * nowait = 0 for normal wait states, 1 eliminates additional wait states 52 #define SMC_DEBUG 0 88 # define SMC_NOWAIT 0 136 #define THROTTLE_TX_PKTS 0 148 } while (0) 152 if (SMC_DEBUG > 0) \ 156 } while (0) 168 for (i = 0; i < lines ; i ++) { in PRINT_PKT() 171 for (cur = 0; cur < 8; cur++) { in PRINT_PKT() 180 for (i = 0; i < remainder/2 ; i++) { in PRINT_PKT() [all …]
|
D | smc9194.c | 17 . ifport = 0 for autodetect, 1 for TP, 2 for AUI ( or 10base2 ) 110 {.port = 0x200, .irq = 0}, 111 {.port = 0x220, .irq = 0}, 112 {.port = 0x240, .irq = 0}, 113 {.port = 0x260, .irq = 0}, 114 {.port = 0x280, .irq = 0}, 115 {.port = 0x2A0, .irq = 0}, 116 {.port = 0x2C0, .irq = 0}, 117 {.port = 0x2E0, .irq = 0}, 118 {.port = 0x300, .irq = 0}, [all …]
|
/Linux-v6.1/drivers/soc/fsl/qbman/ |
D | bman.c | 40 #define BM_REG_RCR_PI_CINH 0x3000 41 #define BM_REG_RCR_CI_CINH 0x3100 42 #define BM_REG_RCR_ITR 0x3200 43 #define BM_REG_CFG 0x3300 44 #define BM_REG_SCN(n) (0x3400 + ((n) << 6)) 45 #define BM_REG_ISR 0x3e00 46 #define BM_REG_IER 0x3e40 47 #define BM_REG_ISDR 0x3e80 48 #define BM_REG_IIR 0x3ec0 51 #define BM_CL_CR 0x0000 [all …]
|
D | qman.c | 40 #define QMAN_ITP_MAX 0xFFF 48 #define QM_REG_EQCR_PI_CINH 0x3000 49 #define QM_REG_EQCR_CI_CINH 0x3040 50 #define QM_REG_EQCR_ITR 0x3080 51 #define QM_REG_DQRR_PI_CINH 0x3100 52 #define QM_REG_DQRR_CI_CINH 0x3140 53 #define QM_REG_DQRR_ITR 0x3180 54 #define QM_REG_DQRR_DCAP 0x31C0 55 #define QM_REG_DQRR_SDQCR 0x3200 56 #define QM_REG_DQRR_VDQCR 0x3240 [all …]
|
/Linux-v6.1/drivers/media/i2c/ |
D | hi846.c | 22 #define HI846_REG_FLL 0x0006 23 #define HI846_FLL_MAX 0xffff 26 #define HI846_REG_LLP 0x0008 29 #define HI846_REG_BINNING_MODE 0x000c 31 #define HI846_REG_IMAGE_ORIENTATION 0x000e 33 #define HI846_REG_UNKNOWN_0022 0x0022 35 #define HI846_REG_Y_ADDR_START_VACT_H 0x0026 36 #define HI846_REG_Y_ADDR_START_VACT_L 0x0027 37 #define HI846_REG_UNKNOWN_0028 0x0028 39 #define HI846_REG_Y_ADDR_END_VACT_H 0x002c [all …]
|
D | ar0521.c | 39 #define AR0521_REG_VT_PIX_CLK_DIV 0x0300 40 #define AR0521_REG_FRAME_LENGTH_LINES 0x0340 42 #define AR0521_REG_CHIP_ID 0x3000 43 #define AR0521_REG_COARSE_INTEGRATION_TIME 0x3012 44 #define AR0521_REG_ROW_SPEED 0x3016 45 #define AR0521_REG_EXTRA_DELAY 0x3018 46 #define AR0521_REG_RESET 0x301A 47 #define AR0521_REG_RESET_DEFAULTS 0x0238 48 #define AR0521_REG_RESET_GROUP_PARAM_HOLD 0x8000 51 #define AR0521_REG_RESET_INIT BIT(0) [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | rt1305.c | 33 #define RT1305_PR_RANGE_BASE (0xff + 1) 34 #define RT1305_PR_SPACING 0x100 36 #define RT1305_PR_BASE (RT1305_PR_RANGE_BASE + (0 * RT1305_PR_SPACING)) 43 .range_max = RT1305_PR_BASE + 0xff, 45 .selector_mask = 0xff, 46 .selector_shift = 0x0, 48 .window_len = 0x1, 55 { RT1305_PR_BASE + 0xcf, 0x5548 }, 56 { RT1305_PR_BASE + 0x5d, 0x0442 }, 57 { RT1305_PR_BASE + 0xc1, 0x0320 }, [all …]
|
/Linux-v6.1/drivers/scsi/ |
D | sense_codes.h | 7 SENSE_CODE(0x0000, "No additional sense information") 8 SENSE_CODE(0x0001, "Filemark detected") 9 SENSE_CODE(0x0002, "End-of-partition/medium detected") 10 SENSE_CODE(0x0003, "Setmark detected") 11 SENSE_CODE(0x0004, "Beginning-of-partition/medium detected") 12 SENSE_CODE(0x0005, "End-of-data detected") 13 SENSE_CODE(0x0006, "I/O process terminated") 14 SENSE_CODE(0x0007, "Programmable early warning detected") 15 SENSE_CODE(0x0011, "Audio play operation in progress") 16 SENSE_CODE(0x0012, "Audio play operation paused") [all …]
|