Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpio/
Dgpio-dln2.c88 static int dln2_gpio_pin_cmd(struct dln2_gpio *dln2, int cmd, unsigned pin) in dln2_gpio_pin_cmd()
97 static int dln2_gpio_pin_val(struct dln2_gpio *dln2, int cmd, unsigned int pin) in dln2_gpio_pin_val()
115 static int dln2_gpio_pin_get_in_val(struct dln2_gpio *dln2, unsigned int pin) in dln2_gpio_pin_get_in_val()
125 static int dln2_gpio_pin_get_out_val(struct dln2_gpio *dln2, unsigned int pin) in dln2_gpio_pin_get_out_val()
135 static int dln2_gpio_pin_set_out_val(struct dln2_gpio *dln2, in dln2_gpio_pin_set_out_val()
152 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_request() local
193 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_free() local
200 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_get_direction() local
210 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_get() local
225 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_set() local
[all …]
/linux-5.19.10/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 …]
/linux-5.19.10/drivers/spi/
Dspi-dln2.c102 static int dln2_spi_enable(struct dln2_spi *dln2, bool enable) in dln2_spi_enable()
132 static int dln2_spi_cs_set(struct dln2_spi *dln2, u8 cs_mask) in dln2_spi_cs_set()
154 static int dln2_spi_cs_set_one(struct dln2_spi *dln2, u8 cs) in dln2_spi_cs_set_one()
162 static int dln2_spi_cs_enable(struct dln2_spi *dln2, u8 cs_mask, bool enable) in dln2_spi_cs_enable()
177 static int dln2_spi_cs_enable_all(struct dln2_spi *dln2, bool enable) in dln2_spi_cs_enable_all()
184 static int dln2_spi_get_cs_num(struct dln2_spi *dln2, u16 *cs_num) in dln2_spi_get_cs_num()
210 static int dln2_spi_get_speed(struct dln2_spi *dln2, u16 cmd, u32 *freq) in dln2_spi_get_speed()
237 static int dln2_spi_get_speed_range(struct dln2_spi *dln2, u32 *fmin, u32 *fmax) in dln2_spi_get_speed_range()
259 static int dln2_spi_set_speed(struct dln2_spi *dln2, u32 speed) in dln2_spi_set_speed()
287 static int dln2_spi_set_mode(struct dln2_spi *dln2, u8 mode) in dln2_spi_set_mode()
[all …]
/linux-5.19.10/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 …]
/linux-5.19.10/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