Home
last modified time | relevance | path

Searched refs:pctrl (Results 1 – 18 of 18) sorted by relevance

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/misc/sunxi-rf/
Dsunxi-rfkill.c86 data->pctrl = devm_pinctrl_get(dev); in rfkill_probe()
87 if (IS_ERR(data->pctrl)) { in rfkill_probe()
90 pctrl_state = pinctrl_lookup_state(data->pctrl, pctrl_name); in rfkill_probe()
95 ret = pinctrl_select_state(data->pctrl, pctrl_state); in rfkill_probe()
Dsunxi-rfkill.h33 struct pinctrl *pctrl; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/vin-cci/
Dsunxi_cci.c91 if (!IS_ERR_OR_NULL(dev->pctrl)) in __cci_pin_config()
92 devm_pinctrl_put(dev->pctrl); in __cci_pin_config()
99 dev->pctrl = devm_pinctrl_get_select(&dev->pdev->dev, pinctrl_names); in __cci_pin_config()
100 if (IS_ERR_OR_NULL(dev->pctrl)) { in __cci_pin_config()
112 if (!IS_ERR_OR_NULL(dev->pctrl)) in __cci_pin_release()
113 devm_pinctrl_put(dev->pctrl); in __cci_pin_release()
Dsunxi_cci.h51 struct pinctrl *pctrl; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/irqchip/
Dirq-sun8i-nmi.c242 struct pinctrl *pctrl; in sunxi_irq_nmi_probe() local
245 pctrl = devm_pinctrl_get(&pdev->dev); in sunxi_irq_nmi_probe()
246 if (!IS_ERR_OR_NULL(pctrl)) { in sunxi_irq_nmi_probe()
247 pctrl_state = pinctrl_lookup_state(pctrl, "default"); in sunxi_irq_nmi_probe()
249 pinctrl_select_state(pctrl, pctrl_state); in sunxi_irq_nmi_probe()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/vin-csi/
Dsunxi_csi.c160 if (!IS_ERR_OR_NULL(dev->pctrl)) in __csi_pin_config()
161 devm_pinctrl_put(dev->pctrl); in __csi_pin_config()
168 dev->pctrl = devm_pinctrl_get_select(&dev->pdev->dev, pinctrl_names); in __csi_pin_config()
169 if (IS_ERR_OR_NULL(dev->pctrl)) { in __csi_pin_config()
181 if (!IS_ERR_OR_NULL(dev->pctrl)) in __csi_pin_release()
182 devm_pinctrl_put(dev->pctrl); in __csi_pin_release()
Dsunxi_csi.h48 struct pinctrl *pctrl; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/uart/
Dsunxi-uart.c1245 static int sw_uart_select_gpio_state(struct pinctrl *pctrl, char *name, u32 no) in sw_uart_select_gpio_state() argument
1250 pctrl_state = pinctrl_lookup_state(pctrl, name); in sw_uart_select_gpio_state()
1256 ret = pinctrl_select_state(pctrl, pctrl_state); in sw_uart_select_gpio_state()
1268 sw_uport->pctrl = devm_pinctrl_get(sw_uport->port.dev); in sw_uart_request_gpio()
1270 if (IS_ERR_OR_NULL(sw_uport->pctrl)) { in sw_uart_request_gpio()
1271 …RIAL_MSG("UART%d devm_pinctrl_get() failed! return %ld\n", sw_uport->id, PTR_ERR(sw_uport->pctrl)); in sw_uart_request_gpio()
1275 return sw_uart_select_gpio_state(sw_uport->pctrl, PINCTRL_STATE_DEFAULT, sw_uport->id); in sw_uart_request_gpio()
1283 devm_pinctrl_put(sw_uport->pctrl); in sw_uart_release_gpio()
1284 sw_uport->pctrl = NULL; in sw_uart_release_gpio()
2176 sw_uart_select_gpio_state(sw_uport->pctrl, in sw_uart_suspend()
[all …]
Dsunxi-uart.h104 struct pinctrl *pctrl; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/ledc/
Dledc-sunxi.h170 struct pinctrl *pctrl; member
Dledc-sunxi.c1345 led->pctrl = pinctrl; in sunxi_ledc_pinctrl_init()
1940 pctrl_state = pinctrl_lookup_state(led->pctrl, name); in sunxi_led_gpio_state_select()
1947 err = pinctrl_select_state(led->pctrl, pctrl_state); in sunxi_led_gpio_state_select()
/device/soc/amlogic/a311d/hardware/media/libamplayer/include/
Dplayer.h92 int play_list_player(play_control_t *pctrl, unsigned long priv);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/spi/
Dspi-sunxi.c112 struct pinctrl *pctrl; member
2089 static int sunxi_spi_select_gpio_state(struct pinctrl *pctrl, char *name, u32 no) in sunxi_spi_select_gpio_state() argument
2094 pctrl_state = pinctrl_lookup_state(pctrl, name); in sunxi_spi_select_gpio_state()
2100 ret = pinctrl_select_state(pctrl, pctrl_state); in sunxi_spi_select_gpio_state()
2111 sspi->pctrl = devm_pinctrl_get(&sspi->pdev->dev); in sunxi_spi_request_gpio()
2112 if (IS_ERR(sspi->pctrl)) { in sunxi_spi_request_gpio()
2114 sspi->master->bus_num, PTR_ERR(sspi->pctrl)); in sunxi_spi_request_gpio()
2118 return sunxi_spi_select_gpio_state(sspi->pctrl, PINCTRL_STATE_DEFAULT, bus_no); in sunxi_spi_request_gpio()
2305 sunxi_spi_select_gpio_state(sspi->pctrl, PINCTRL_STATE_DEFAULT, bus_no); in sunxi_spi_hw_init()
2359 sunxi_spi_select_gpio_state(sspi->pctrl, PINCTRL_STATE_SLEEP, master->bus_num); in sunxi_spi_hw_exit()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/i2c/
Di2c-sunxi.c386 struct pinctrl *pctrl; member
2206 i2c->pctrl = devm_pinctrl_get(i2c->dev); in sunxi_i2c_resource_get()
2207 if (IS_ERR(i2c->pctrl)) { in sunxi_i2c_resource_get()
2209 return PTR_ERR(i2c->pctrl); in sunxi_i2c_resource_get()
2272 pctrl_state = pinctrl_lookup_state(i2c->pctrl, name); in sunxi_i2c_select_pin_state()
2279 ret = pinctrl_select_state(i2c->pctrl, pctrl_state); in sunxi_i2c_select_pin_state()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/gmac/
Dsunxi-gmac.c1580 static int sunxi_gmac_select_gpio_state(struct pinctrl *pctrl, char *name) in sunxi_gmac_select_gpio_state() argument
1585 pctrl_state = pinctrl_lookup_state(pctrl, name); in sunxi_gmac_select_gpio_state()
1592 ret = pinctrl_select_state(pctrl, pctrl_state); in sunxi_gmac_select_gpio_state()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Drtw_xmit.h444 u8 pctrl;/* per packet txdesc control enable */ member
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_xmit.c1905 pattrib->pctrl = _TRUE; in update_attrib()
1908 pattrib->pctrl = 0; in update_attrib()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/
Drtl8822c_ops.c3693 && (pattrib->pctrl != _TRUE) in fill_default_txdesc()