Home
last modified time | relevance | path

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

/drivers/nvdimm/
Dbus.c786 .in_num = 2,
792 .in_num = 3,
798 .in_num = 3,
804 .in_num = 2,
822 .in_num = 2,
828 .in_num = 5,
838 .in_num = 2,
844 .in_num = 2,
862 if (idx >= desc->in_num) in nd_cmd_in_size()
1071 (desc->out_num + desc->in_num == 0) || in __nd_ioctl()
[all …]
/drivers/hwmon/
Dvia686a.c114 static inline u8 IN_TO_REG(long val, int in_num) in IN_TO_REG() argument
123 if (in_num <= 1) in IN_TO_REG()
125 else if (in_num == 2) in IN_TO_REG()
127 else if (in_num == 3) in IN_TO_REG()
134 static inline long IN_FROM_REG(u8 val, int in_num) in IN_FROM_REG() argument
141 if (in_num <= 1) in IN_FROM_REG()
143 else if (in_num == 2) in IN_FROM_REG()
145 else if (in_num == 3) in IN_FROM_REG()
Dnct6683.c310 u8 in_num; /* number of voltage attributes */ member
602 for (i = 0; i < data->in_num; i++) { in nct6683_update_device()
1166 data->in_num = 0; in nct6683_setup_sensors()
1180 data->in_index[data->in_num] = i; in nct6683_setup_sensors()
1181 data->in_src[data->in_num] = reg; in nct6683_setup_sensors()
1182 data->in_num++; in nct6683_setup_sensors()
1244 if (data->in_num) { in nct6683_probe()
1247 data->in_num); in nct6683_probe()
Dw83627ehf.c328 u8 in_num; /* number of in inputs we have */ member
576 for (i = 0; i < data->in_num; i++) { in w83627ehf_update_device()
1399 if (channel >= data->in_num) in w83627ehf_is_visible()
1721 data->in_num = (sio_data->kind == w83627ehf) ? 10 : 9; in w83627ehf_probe()
1967 for (i = 0; i < data->in_num; i++) { in w83627ehf_resume()
Dnct6775.c1145 u8 in_num; /* number of in inputs we have */ member
1782 for (i = 0; i < data->in_num; i++) { in nct6775_update_device()
3828 data->in_num = 9; in nct6775_probe()
3901 data->in_num = 9; in nct6775_probe()
3974 data->in_num = 9; in nct6775_probe()
4047 data->in_num = 9; in nct6775_probe()
4120 data->in_num = 15; in nct6775_probe()
4203 data->in_num = 15; in nct6775_probe()
4323 data->have_in = BIT(data->in_num) - 1; in nct6775_probe()
4671 for (i = 0; i < data->in_num; i++) { in nct6775_resume()
/drivers/scsi/
Dvirtio_scsi.c423 unsigned out_num = 0, in_num = 0; in __virtscsi_add_cmd() local
448 sgs[out_num + in_num++] = &resp; in __virtscsi_add_cmd()
454 sgs[out_num + in_num++] = scsi_prot_sglist(sc); in __virtscsi_add_cmd()
455 sgs[out_num + in_num++] = in->sgl; in __virtscsi_add_cmd()
458 return virtqueue_add_sgs(vq, sgs, out_num, in_num, cmd, GFP_ATOMIC); in __virtscsi_add_cmd()
/drivers/vhost/
Dvhost.c2114 unsigned int *out_num, unsigned int *in_num, in get_indirect() argument
2151 unsigned iov_count = *in_num + *out_num; in get_indirect()
2185 *in_num += ret; in get_indirect()
2194 if (unlikely(*in_num)) { in get_indirect()
2215 unsigned int *out_num, unsigned int *in_num, in vhost_get_vq_desc() argument
2273 *out_num = *in_num = 0; in vhost_get_vq_desc()
2279 unsigned iov_count = *in_num + *out_num; in vhost_get_vq_desc()
2299 out_num, in_num, in vhost_get_vq_desc()
2326 *in_num += ret; in vhost_get_vq_desc()
2335 if (unlikely(*in_num)) { in vhost_get_vq_desc()
Dvhost.h193 unsigned int *out_num, unsigned int *in_num,
Dnet.c572 unsigned int *out_num, unsigned int *in_num, in vhost_net_tx_get_vq_desc() argument
580 out_num, in_num, NULL, NULL); in vhost_net_tx_get_vq_desc()
592 out_num, in_num, NULL, NULL); in vhost_net_tx_get_vq_desc()
/drivers/media/platform/qcom/venus/
Dvdec.c814 static int vdec_num_buffers(struct venus_inst *inst, unsigned int *in_num, in vdec_num_buffers() argument
821 *in_num = *out_num = 0; in vdec_num_buffers()
827 *in_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers()
843 unsigned int in_num, out_num; in vdec_queue_setup() local
876 ret = vdec_num_buffers(inst, &in_num, &out_num); in vdec_queue_setup()
892 *num_buffers = max(*num_buffers, in_num); in vdec_queue_setup()
/drivers/acpi/nfit/
Dcore.c499 if (!desc || (cmd && (desc->out_num + desc->in_num == 0))) in acpi_nfit_ctl()
520 for (i = 0; i < desc->in_num; i++) in acpi_nfit_ctl()
/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c5514 u32 out_num, struct rtw_ieee80211_channel *in, u32 in_num) in rtw_scan_ch_decision() argument
5525 for (i = 0; i < in_num; i++) { in rtw_scan_ch_decision()
/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c7875 u32 out_num, struct rtw_ieee80211_channel *in, u32 in_num) in rtw_scan_ch_decision() argument
7886 for (i = 0; i < in_num; i++) { in rtw_scan_ch_decision()