Home
last modified time | relevance | path

Searched refs:dln2 (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Ddln2-adc.c88 &dln2->demux[dln2->demux_count - 1] : NULL; in dln2_adc_add_demux()
94 p = &dln2->demux[dln2->demux_count++]; in dln2_adc_add_demux()
167 .port = dln2->port, in dln2_adc_set_port_resolution()
184 .port = dln2->port, in dln2_adc_set_chan_enabled()
255 .port = dln2->port, in dln2_adc_read()
408 dln2->trigger_chan, dln2->sample_period); in dln2_adc_write_raw()
547 ret = dln2_adc_set_chan_period(dln2, dln2->trigger_chan, in dln2_adc_triggered_buffer_postenable()
571 dln2_adc_set_chan_period(dln2, dln2->trigger_chan, 0); in dln2_adc_triggered_buffer_predisable()
615 dln2->pdev = pdev; in dln2_adc_probe()
653 if (!dln2->trig) { in dln2_adc_probe()
[all …]
H A DMakefile43 obj-$(CONFIG_DLN2_ADC) += dln2-adc.o
/openbmc/linux/drivers/mfd/
H A Ddln2.c340 usb_sndbulkpipe(dln2->usb_dev, dln2->ep_out), in dln2_send_wait()
604 kfree(dln2); in dln2_free()
622 usb_fill_bulk_urb(dln2->rx_urb[i], dln2->usb_dev, in dln2_setup_rx_urbs()
623 usb_rcvbulkpipe(dln2->usb_dev, dln2->ep_in), in dln2_setup_rx_urbs()
624 dln2->rx_buf[i], rx_max_size, dln2_rx, dln2); in dln2_setup_rx_urbs()
747 wait_event(dln2->disconnect_wq, !dln2->active_transfers); in dln2_stop()
756 dln2_stop(dln2); in dln2_disconnect()
760 dln2_free(dln2); in dln2_disconnect()
781 dln2 = kzalloc(sizeof(*dln2), GFP_KERNEL); in dln2_probe()
782 if (!dln2) in dln2_probe()
[all …]
H A DMakefile242 obj-$(CONFIG_MFD_DLN2) += dln2.o
/openbmc/linux/drivers/gpio/
H A Dgpio-dln2.c356 mutex_lock(&dln2->irq_lock); in dln2_irq_bus_lock()
441 struct dln2_gpio *dln2; in dln2_gpio_probe() local
457 dln2 = devm_kzalloc(&pdev->dev, sizeof(*dln2), GFP_KERNEL); in dln2_gpio_probe()
458 if (!dln2) in dln2_gpio_probe()
463 dln2->pdev = pdev; in dln2_gpio_probe()
465 dln2->gpio.label = "dln2"; in dln2_gpio_probe()
466 dln2->gpio.parent = dev; in dln2_gpio_probe()
468 dln2->gpio.base = -1; in dln2_gpio_probe()
469 dln2->gpio.ngpio = pins; in dln2_gpio_probe()
480 girq = &dln2->gpio.irq; in dln2_gpio_probe()
[all …]
H A DMakefile54 obj-$(CONFIG_GPIO_DLN2) += gpio-dln2.o
H A DKconfig1282 will be called gpio-dln2.
/openbmc/linux/drivers/spi/
H A Dspi-dln2.c327 } *rx = dln2->buf; in dln2_spi_get_supported_frame_sizes()
516 tx = dln2->buf; in dln2_spi_read_write_one()
517 rx = dln2->buf; in dln2_spi_read_write_one()
616 bus_setup_change = dln2->speed != speed || dln2->mode != mode || in dln2_spi_transfer_setup()
647 dln2->bpw = bpw; in dln2_spi_transfer_setup()
699 if (!dln2->buf) { in dln2_spi_probe()
704 dln2->host = host; in dln2_spi_probe()
708 dln2->cs = 0xff; in dln2_spi_probe()
816 dln2->cs = 0xff; in dln2_spi_suspend()
817 dln2->speed = 0; in dln2_spi_suspend()
[all …]
H A DMakefile45 obj-$(CONFIG_SPI_DLN2) += spi-dln2.o
H A DKconfig354 will be called spi-dln2.
/openbmc/linux/drivers/i2c/busses/
H A Di2c-dln2.c60 tx.port = dln2->port; in dln2_i2c_enable()
86 tx->port = dln2->port; in dln2_i2c_write()
120 tx.port = dln2->port; in dln2_i2c_read()
190 struct dln2_i2c *dln2; in dln2_i2c_probe() local
194 dln2 = devm_kzalloc(dev, sizeof(*dln2), GFP_KERNEL); in dln2_i2c_probe()
195 if (!dln2) in dln2_i2c_probe()
199 if (!dln2->buf) in dln2_i2c_probe()
202 dln2->pdev = pdev; in dln2_i2c_probe()
203 dln2->port = pdata->port; in dln2_i2c_probe()
213 i2c_set_adapdata(&dln2->adapter, dln2); in dln2_i2c_probe()
[all …]
H A DMakefile133 obj-$(CONFIG_I2C_DLN2) += i2c-dln2.o
H A DKconfig1266 will be called i2c-dln2.