Searched defs:dln2 (Results 1 – 4 of 4) sorted by relevance
/drivers/gpio/ |
D | gpio-dln2.c | 92 static int dln2_gpio_pin_cmd(struct dln2_gpio *dln2, int cmd, unsigned pin) in dln2_gpio_pin_cmd() 101 static int dln2_gpio_pin_val(struct dln2_gpio *dln2, int cmd, unsigned int pin) in dln2_gpio_pin_val() 119 static int dln2_gpio_pin_get_in_val(struct dln2_gpio *dln2, unsigned int pin) in dln2_gpio_pin_get_in_val() 129 static int dln2_gpio_pin_get_out_val(struct dln2_gpio *dln2, unsigned int pin) in dln2_gpio_pin_get_out_val() 139 static int dln2_gpio_pin_set_out_val(struct dln2_gpio *dln2, in dln2_gpio_pin_set_out_val() 156 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_request() local 197 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_free() local 204 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_get_direction() local 214 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_get() local 229 struct dln2_gpio *dln2 = gpiochip_get_data(chip); in dln2_gpio_set() local [all …]
|
/drivers/mfd/ |
D | dln2.c | 126 struct dln2_dev *dln2 = dev_get_drvdata(pdev->dev.parent); in dln2_register_event_cb() local 162 struct dln2_dev *dln2 = dev_get_drvdata(pdev->dev.parent); in dln2_unregister_event_cb() local 191 static bool dln2_transfer_complete(struct dln2_dev *dln2, struct urb *urb, in dln2_transfer_complete() 224 static void dln2_run_event_callbacks(struct dln2_dev *dln2, u16 id, u16 echo, in dln2_run_event_callbacks() 243 struct dln2_dev *dln2 = urb->context; in dln2_rx() local 330 static int dln2_send_wait(struct dln2_dev *dln2, u16 handle, u16 cmd, u16 echo, in dln2_send_wait() 351 static bool find_free_slot(struct dln2_dev *dln2, u16 handle, int *slot) in find_free_slot() 379 static int alloc_rx_slot(struct dln2_dev *dln2, u16 handle) in alloc_rx_slot() 396 static void free_rx_slot(struct dln2_dev *dln2, u16 handle, int slot) in free_rx_slot() 429 static int _dln2_transfer(struct dln2_dev *dln2, u16 handle, u16 cmd, in _dln2_transfer() [all …]
|
/drivers/spi/ |
D | spi-dln2.c | 104 static int dln2_spi_enable(struct dln2_spi *dln2, bool enable) in dln2_spi_enable() 134 static int dln2_spi_cs_set(struct dln2_spi *dln2, u8 cs_mask) in dln2_spi_cs_set() 156 static int dln2_spi_cs_set_one(struct dln2_spi *dln2, u8 cs) in dln2_spi_cs_set_one() 164 static int dln2_spi_cs_enable(struct dln2_spi *dln2, u8 cs_mask, bool enable) in dln2_spi_cs_enable() 179 static int dln2_spi_cs_enable_all(struct dln2_spi *dln2, bool enable) in dln2_spi_cs_enable_all() 186 static int dln2_spi_get_cs_num(struct dln2_spi *dln2, u16 *cs_num) in dln2_spi_get_cs_num() 212 static int dln2_spi_get_speed(struct dln2_spi *dln2, u16 cmd, u32 *freq) in dln2_spi_get_speed() 239 static int dln2_spi_get_speed_range(struct dln2_spi *dln2, u32 *fmin, u32 *fmax) in dln2_spi_get_speed_range() 261 static int dln2_spi_set_speed(struct dln2_spi *dln2, u32 speed) in dln2_spi_set_speed() 289 static int dln2_spi_set_mode(struct dln2_spi *dln2, u8 mode) in dln2_spi_set_mode() [all …]
|
/drivers/i2c/busses/ |
D | i2c-dln2.c | 56 static int dln2_i2c_enable(struct dln2_i2c *dln2, bool enable) in dln2_i2c_enable() 73 static int dln2_i2c_write(struct dln2_i2c *dln2, u8 addr, in dln2_i2c_write() 104 static int dln2_i2c_read(struct dln2_i2c *dln2, u16 addr, u8 *data, in dln2_i2c_read() 146 struct dln2_i2c *dln2 = i2c_get_adapdata(adapter); in dln2_i2c_xfer() local 193 struct dln2_i2c *dln2; in dln2_i2c_probe() local 244 struct dln2_i2c *dln2 = platform_get_drvdata(pdev); in dln2_i2c_remove() local
|