Home
last modified time | relevance | path

Searched refs:FUNC (Results 1 – 12 of 12) sorted by relevance

/drivers/pinctrl/ralink/
Dpinctrl-mt7620.c57 static struct ralink_pmx_func i2c_grp[] = { FUNC("i2c", 0, 1, 2) };
58 static struct ralink_pmx_func spi_grp[] = { FUNC("spi", 0, 3, 4) };
59 static struct ralink_pmx_func uartlite_grp[] = { FUNC("uartlite", 0, 15, 2) };
61 FUNC("mdio", MT7620_GPIO_MODE_MDIO, 22, 2),
62 FUNC("refclk", MT7620_GPIO_MODE_MDIO_REFCLK, 22, 2),
64 static struct ralink_pmx_func rgmii1_grp[] = { FUNC("rgmii1", 0, 24, 12) };
65 static struct ralink_pmx_func refclk_grp[] = { FUNC("spi refclk", 0, 37, 3) };
66 static struct ralink_pmx_func ephy_grp[] = { FUNC("ephy", 0, 40, 5) };
67 static struct ralink_pmx_func rgmii2_grp[] = { FUNC("rgmii2", 0, 60, 12) };
68 static struct ralink_pmx_func wled_grp[] = { FUNC("wled", 0, 72, 1) };
[all …]
Dpinctrl-rt305x.c34 static struct ralink_pmx_func i2c_func[] = { FUNC("i2c", 0, 1, 2) };
35 static struct ralink_pmx_func spi_func[] = { FUNC("spi", 0, 3, 4) };
37 FUNC("uartf", RT305X_GPIO_MODE_UARTF, 7, 8),
38 FUNC("pcm uartf", RT305X_GPIO_MODE_PCM_UARTF, 7, 8),
39 FUNC("pcm i2s", RT305X_GPIO_MODE_PCM_I2S, 7, 8),
40 FUNC("i2s uartf", RT305X_GPIO_MODE_I2S_UARTF, 7, 8),
41 FUNC("pcm gpio", RT305X_GPIO_MODE_PCM_GPIO, 11, 4),
42 FUNC("gpio uartf", RT305X_GPIO_MODE_GPIO_UARTF, 7, 4),
43 FUNC("gpio i2s", RT305X_GPIO_MODE_GPIO_I2S, 7, 4),
45 static struct ralink_pmx_func uartlite_func[] = { FUNC("uartlite", 0, 15, 2) };
[all …]
Dpinctrl-mt7621.c37 static struct ralink_pmx_func uart1_grp[] = { FUNC("uart1", 0, 1, 2) };
38 static struct ralink_pmx_func i2c_grp[] = { FUNC("i2c", 0, 3, 2) };
40 FUNC("uart3", 0, 5, 4),
41 FUNC("i2s", 2, 5, 4),
42 FUNC("spdif3", 3, 5, 4),
45 FUNC("uart2", 0, 9, 4),
46 FUNC("pcm", 2, 9, 4),
47 FUNC("spdif2", 3, 9, 4),
49 static struct ralink_pmx_func jtag_grp[] = { FUNC("jtag", 0, 13, 5) };
51 FUNC("wdt rst", 0, 18, 1),
[all …]
Dpinctrl-rt3883.c42 static struct ralink_pmx_func i2c_func[] = { FUNC("i2c", 0, 1, 2) };
43 static struct ralink_pmx_func spi_func[] = { FUNC("spi", 0, 3, 4) };
45 FUNC("uartf", RT3883_GPIO_MODE_UARTF, 7, 8),
46 FUNC("pcm uartf", RT3883_GPIO_MODE_PCM_UARTF, 7, 8),
47 FUNC("pcm i2s", RT3883_GPIO_MODE_PCM_I2S, 7, 8),
48 FUNC("i2s uartf", RT3883_GPIO_MODE_I2S_UARTF, 7, 8),
49 FUNC("pcm gpio", RT3883_GPIO_MODE_PCM_GPIO, 11, 4),
50 FUNC("gpio uartf", RT3883_GPIO_MODE_GPIO_UARTF, 7, 4),
51 FUNC("gpio i2s", RT3883_GPIO_MODE_GPIO_I2S, 7, 4),
53 static struct ralink_pmx_func uartlite_func[] = { FUNC("uartlite", 0, 15, 2) };
[all …]
Dpinctrl-rt288x.c18 static struct ralink_pmx_func i2c_func[] = { FUNC("i2c", 0, 1, 2) };
19 static struct ralink_pmx_func spi_func[] = { FUNC("spi", 0, 3, 4) };
20 static struct ralink_pmx_func uartlite_func[] = { FUNC("uartlite", 0, 7, 8) };
21 static struct ralink_pmx_func jtag_func[] = { FUNC("jtag", 0, 17, 5) };
22 static struct ralink_pmx_func mdio_func[] = { FUNC("mdio", 0, 22, 2) };
23 static struct ralink_pmx_func sdram_func[] = { FUNC("sdram", 0, 24, 16) };
24 static struct ralink_pmx_func pci_func[] = { FUNC("pci", 0, 40, 32) };
Dpinctrl-ralink.h9 #define FUNC(name, value, pin_first, pin_count) \ macro
/drivers/input/serio/
Dhil_mlc.c442 #define FUNC(funct, funct_arg, zero_rc, neg_rc, pos_rc) \ macro
464 FUNC(hilse_init_lcv, 0, HILSEN_NEXT, HILSEN_SLEEP, 0)
467 FUNC(hilse_inc_lcv, 10, HILSEN_NEXT, HILSEN_START, 0)
483 FUNC(hilse_init_lcv, 0, HILSEN_NEXT, HILSEN_SLEEP, 0)
486 FUNC(hilse_inc_lcv, 10, HILSEN_NEXT, HILSEN_START, 0)
487 FUNC(hilse_set_ddi, -1, HILSEN_NEXT, 0, 0)
503 FUNC(hilse_dec_ddi, 0, HILSEN_NEXT, HILSEN_ACF, 0)
504 FUNC(hilse_inc_ddi, 0, HILSEN_NEXT, 0, 0)
510 FUNC(hilse_dec_ddi, 0, HILSEN_HEAL, HILSEN_NEXT, 0)
513 FUNC(hilse_init_lcv, 0, HILSEN_NEXT, HILSEN_DOZE, 0)
[all …]
/drivers/scsi/qla4xxx/
Dql4_nx.h691 #define PCIX_MSI_F(FUNC) (0x13000 + ((FUNC) * 4)) argument
743 #define ISR_MSI_INT_TRIGGER(FUNC) (QLA82XX_PCIX_PS_REG(PCIX_MSI_F(FUNC))) argument
/drivers/scsi/qla2xxx/
Dqla_nx.h651 #define PCIX_MSI_F(FUNC) (0x13000 + ((FUNC) * 4)) argument
701 #define ISR_MSI_INT_TRIGGER(FUNC) \ argument
702 (QLA82XX_PCIX_PS_REG(PCIX_MSI_F(FUNC)))
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hdr.h677 #define ISR_MSI_INT_TRIGGER(FUNC) (QLCNIC_PCIX_PS_REG(PCIX_MSI_F(FUNC))) argument
/drivers/pinctrl/
Dpinctrl-rockchip.c179 #define PIN_BANK_MUX_ROUTE_FLAGS(ID, PIN, FUNC, REG, VAL, FLAG) \ argument
183 .func = FUNC, \
189 #define RK_MUXROUTE_SAME(ID, PIN, FUNC, REG, VAL) \ argument
190 PIN_BANK_MUX_ROUTE_FLAGS(ID, PIN, FUNC, REG, VAL, ROCKCHIP_ROUTE_SAME)
192 #define RK_MUXROUTE_GRF(ID, PIN, FUNC, REG, VAL) \ argument
193 PIN_BANK_MUX_ROUTE_FLAGS(ID, PIN, FUNC, REG, VAL, ROCKCHIP_ROUTE_GRF)
195 #define RK_MUXROUTE_PMU(ID, PIN, FUNC, REG, VAL) \ argument
196 PIN_BANK_MUX_ROUTE_FLAGS(ID, PIN, FUNC, REG, VAL, ROCKCHIP_ROUTE_PMU)
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hdr.h990 #define ISR_MSI_INT_TRIGGER(FUNC) (NETXEN_PCIX_PS_REG(PCIX_MSI_F(FUNC))) argument