Home
last modified time | relevance | path

Searched defs:dln2 (Results 1 – 5 of 5) sorted by relevance

/drivers/gpio/
Dgpio-dln2.c89 static int dln2_gpio_pin_cmd(struct dln2_gpio *dln2, int cmd, unsigned pin) in dln2_gpio_pin_cmd()
98 static int dln2_gpio_pin_val(struct dln2_gpio *dln2, int cmd, unsigned int pin) in dln2_gpio_pin_val()
116 static int dln2_gpio_pin_get_in_val(struct dln2_gpio *dln2, unsigned int pin) in dln2_gpio_pin_get_in_val()
126 static int dln2_gpio_pin_get_out_val(struct dln2_gpio *dln2, unsigned int pin) in dln2_gpio_pin_get_out_val()
136 static int dln2_gpio_pin_set_out_val(struct dln2_gpio *dln2, in dln2_gpio_pin_set_out_val()
153 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_request() local
194 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_free() local
201 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_get_direction() local
211 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_get() local
226 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_set() local
[all …]
/drivers/mfd/
Ddln2.c129 struct dln2_dev *dln2 = dev_get_drvdata(pdev->dev.parent); in dln2_register_event_cb() local
165 struct dln2_dev *dln2 = dev_get_drvdata(pdev->dev.parent); in dln2_unregister_event_cb() local
194 static bool dln2_transfer_complete(struct dln2_dev *dln2, struct urb *urb, in dln2_transfer_complete()
223 static void dln2_run_event_callbacks(struct dln2_dev *dln2, u16 id, u16 echo, in dln2_run_event_callbacks()
242 struct dln2_dev *dln2 = urb->context; in dln2_rx() local
333 static int dln2_send_wait(struct dln2_dev *dln2, u16 handle, u16 cmd, u16 echo, in dln2_send_wait()
354 static bool find_free_slot(struct dln2_dev *dln2, u16 handle, int *slot) in find_free_slot()
382 static int alloc_rx_slot(struct dln2_dev *dln2, u16 handle) in alloc_rx_slot()
399 static void free_rx_slot(struct dln2_dev *dln2, u16 handle, int slot) in free_rx_slot()
432 static int _dln2_transfer(struct dln2_dev *dln2, u16 handle, u16 cmd, in _dln2_transfer()
[all …]
/drivers/spi/
Dspi-dln2.c101 static int dln2_spi_enable(struct dln2_spi *dln2, bool enable) in dln2_spi_enable()
131 static int dln2_spi_cs_set(struct dln2_spi *dln2, u8 cs_mask) in dln2_spi_cs_set()
153 static int dln2_spi_cs_set_one(struct dln2_spi *dln2, u8 cs) in dln2_spi_cs_set_one()
161 static int dln2_spi_cs_enable(struct dln2_spi *dln2, u8 cs_mask, bool enable) in dln2_spi_cs_enable()
176 static int dln2_spi_cs_enable_all(struct dln2_spi *dln2, bool enable) in dln2_spi_cs_enable_all()
183 static int dln2_spi_get_cs_num(struct dln2_spi *dln2, u16 *cs_num) in dln2_spi_get_cs_num()
209 static int dln2_spi_get_speed(struct dln2_spi *dln2, u16 cmd, u32 *freq) in dln2_spi_get_speed()
236 static int dln2_spi_get_speed_range(struct dln2_spi *dln2, u32 *fmin, u32 *fmax) in dln2_spi_get_speed_range()
258 static int dln2_spi_set_speed(struct dln2_spi *dln2, u32 speed) in dln2_spi_set_speed()
286 static int dln2_spi_set_mode(struct dln2_spi *dln2, u8 mode) in dln2_spi_set_mode()
[all …]
/drivers/iio/adc/
Ddln2-adc.c83 static void dln2_adc_add_demux(struct dln2_adc *dln2, in dln2_adc_add_demux()
101 static void dln2_adc_update_demux(struct dln2_adc *dln2) in dln2_adc_update_demux()
144 static int dln2_adc_get_chan_count(struct dln2_adc *dln2) in dln2_adc_get_chan_count()
163 static int dln2_adc_set_port_resolution(struct dln2_adc *dln2) in dln2_adc_set_port_resolution()
179 static int dln2_adc_set_chan_enabled(struct dln2_adc *dln2, in dln2_adc_set_chan_enabled()
196 static int dln2_adc_set_port_enabled(struct dln2_adc *dln2, bool enable, in dln2_adc_set_port_enabled()
223 static int dln2_adc_set_chan_period(struct dln2_adc *dln2, in dln2_adc_set_chan_period()
248 static int dln2_adc_read(struct dln2_adc *dln2, unsigned int channel) in dln2_adc_read()
302 static int dln2_adc_read_all(struct dln2_adc *dln2, in dln2_adc_read_all()
329 struct dln2_adc *dln2 = iio_priv(indio_dev); in dln2_adc_read_raw() local
[all …]
/drivers/i2c/busses/
Di2c-dln2.c53 static int dln2_i2c_enable(struct dln2_i2c *dln2, bool enable) in dln2_i2c_enable()
70 static int dln2_i2c_write(struct dln2_i2c *dln2, u8 addr, in dln2_i2c_write()
101 static int dln2_i2c_read(struct dln2_i2c *dln2, u16 addr, u8 *data, in dln2_i2c_read()
143 struct dln2_i2c *dln2 = i2c_get_adapdata(adapter); in dln2_i2c_xfer() local
190 struct dln2_i2c *dln2; in dln2_i2c_probe() local
241 struct dln2_i2c *dln2 = platform_get_drvdata(pdev); in dln2_i2c_remove() local