/linux-4.19.296/drivers/iio/ |
D | inkern.c | 230 struct iio_channel *chans; in of_iio_channel_get_all() local 247 chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); in of_iio_channel_get_all() 248 if (chans == NULL) in of_iio_channel_get_all() 253 ret = __of_iio_channel_get(&chans[mapind], dev->of_node, in of_iio_channel_get_all() 258 return chans; in of_iio_channel_get_all() 262 iio_device_put(chans[i].indio_dev); in of_iio_channel_get_all() 263 kfree(chans); in of_iio_channel_get_all() 412 struct iio_channel *chans; in iio_channel_get_all() local 421 chans = of_iio_channel_get_all(dev); in iio_channel_get_all() 422 if (chans) in iio_channel_get_all() [all …]
|
/linux-4.19.296/drivers/iio/adc/ |
D | dln2-adc.c | 619 int i, ret, chans; in dln2_adc_probe() local 641 chans = dln2_adc_get_chan_count(dln2); in dln2_adc_probe() 642 if (chans < 0) { in dln2_adc_probe() 643 dev_err(dev, "failed to get channel count: %d\n", chans); in dln2_adc_probe() 644 return chans; in dln2_adc_probe() 646 if (chans > DLN2_ADC_MAX_CHANNELS) { in dln2_adc_probe() 647 chans = DLN2_ADC_MAX_CHANNELS; in dln2_adc_probe() 652 for (i = 0; i < chans; ++i) in dln2_adc_probe() 661 indio_dev->num_channels = chans + 1; in dln2_adc_probe()
|
D | qcom-pm8xxx-xoadc.c | 406 struct pm8xxx_chan_info *chans; member 429 struct pm8xxx_chan_info *ch = &adc->chans[i]; in pm8xxx_get_channel() 719 if (adc->chans[i].hwchan->pre_scale_mux == pre_scale_mux && in pm8xxx_of_xlate() 720 adc->chans[i].hwchan->amux_channel == amux_channel) in pm8xxx_of_xlate() 841 adc->chans = devm_kcalloc(adc->dev, adc->nchans, in pm8xxx_xoadc_parse_channels() 842 sizeof(*adc->chans), GFP_KERNEL); in pm8xxx_xoadc_parse_channels() 843 if (!adc->chans) in pm8xxx_xoadc_parse_channels() 848 ch = &adc->chans[i]; in pm8xxx_xoadc_parse_channels()
|
/linux-4.19.296/drivers/iio/humidity/ |
D | am2315.c | 41 s16 chans[2]; member 177 data->scan.chans[0] = sensor_data.hum_data; in am2315_trigger_handler() 178 data->scan.chans[1] = sensor_data.temp_data; in am2315_trigger_handler() 183 data->scan.chans[i] = (bit ? sensor_data.temp_data : in am2315_trigger_handler()
|
/linux-4.19.296/include/linux/ |
D | ipmi.h | 214 unsigned int chans); 218 unsigned int chans);
|
D | mailbox_controller.h | 77 struct mbox_chan *chans; member
|
D | ieee80211.h | 2766 } __packed chans; member
|
/linux-4.19.296/drivers/char/ipmi/ |
D | ipmi_msghandler.c | 247 unsigned int chans; member 1626 && (rcvr->chans & (1 << chan))) in find_cmd_rcvr() 1635 unsigned int chans) in is_cmd_rcvr_exclusive() argument 1641 && (rcvr->chans & chans)) in is_cmd_rcvr_exclusive() 1650 unsigned int chans) in ipmi_register_for_cmd() argument 1667 rcvr->chans = chans; in ipmi_register_for_cmd() 1672 if (!is_cmd_rcvr_exclusive(intf, netfn, cmd, chans)) { in ipmi_register_for_cmd() 1695 unsigned int chans) in ipmi_unregister_for_cmd() argument 1708 if (((1 << i) & chans) == 0) in ipmi_unregister_for_cmd() 1715 rcvr->chans &= ~chans; in ipmi_unregister_for_cmd() [all …]
|
D | ipmi_devintf.c | 392 val.chans); in ipmi_ioctl() 406 val.chans); in ipmi_ioctl()
|
/linux-4.19.296/drivers/iio/accel/ |
D | stk8ba50.c | 99 s16 chans[3]; member 329 (u8 *)data->scan.chans); in stk8ba50_trigger_handler() 342 data->scan.chans[i++] = ret; in stk8ba50_trigger_handler()
|
D | bma220_spi.c | 80 s8 chans[3]; member 114 ret = spi_write_then_read(spi, data->tx_buf, 1, &data->scan.chans, in bma220_trigger_handler()
|
D | stk8312.c | 111 s8 chans[3]; member 448 data->scan.chans); in stk8312_trigger_handler() 462 data->scan.chans[i++] = ret; in stk8312_trigger_handler()
|
D | kxcjk-1013.c | 157 s16 chans[AXIS_MAX]; member 1093 (u8 *)data->scan.chans); in kxcjk1013_trigger_handler()
|
/linux-4.19.296/drivers/edac/ |
D | i82975x_edac.c | 481 int chans; in i82975x_probe1() local 545 chans = dual_channel_active(mch_window) + 1; in i82975x_probe1() 552 layers[1].size = I82975X_NR_CSROWS(chans); in i82975x_probe1()
|
/linux-4.19.296/drivers/iio/light/ |
D | isl29125.c | 59 u16 chans[3]; member 194 data->scan.chans[j++] = ret; in isl29125_trigger_handler()
|
D | tcs3414.c | 61 u16 chans[4]; member 219 data->scan.chans[j++] = ret; in tcs3414_trigger_handler()
|
D | tcs3472.c | 72 u16 chans[4]; member 396 data->scan.chans[j++] = ret; in tcs3472_trigger_handler()
|
D | si1145.c | 1004 #define SI1145_PART(id, iio_info, chans, leds, uncompressed_meas_rate) \ argument 1005 {id, iio_info, chans, ARRAY_SIZE(chans), leds, uncompressed_meas_rate}
|
/linux-4.19.296/include/uapi/linux/ |
D | ipmi.h | 356 unsigned int chans; member
|
/linux-4.19.296/include/linux/mfd/ |
D | stm32-timers.h | 117 struct dma_chan *chans[STM32_TIMERS_MAX_DMAS]; member
|
/linux-4.19.296/drivers/iio/gyro/ |
D | bmg160_core.c | 108 s16 chans[3]; member 879 data->scan.chans, AXIS_MAX * 2); in bmg160_trigger_handler()
|