Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
Dbus.c777 .in_num = 2,
783 .in_num = 3,
789 .in_num = 3,
795 .in_num = 2,
813 .in_num = 2,
819 .in_num = 5,
829 .in_num = 2,
835 .in_num = 2,
853 if (idx >= desc->in_num) in nd_cmd_in_size()
1062 (desc->out_num + desc->in_num == 0) || in __nd_ioctl()
[all …]
/linux-6.1.9/drivers/hwmon/
Dvia686a.c116 static inline u8 IN_TO_REG(long val, int in_num) in IN_TO_REG() argument
125 if (in_num <= 1) in IN_TO_REG()
127 else if (in_num == 2) in IN_TO_REG()
129 else if (in_num == 3) in IN_TO_REG()
136 static inline long IN_FROM_REG(u8 val, int in_num) in IN_FROM_REG() argument
143 if (in_num <= 1) in IN_FROM_REG()
145 else if (in_num == 2) in IN_FROM_REG()
147 else if (in_num == 3) in IN_FROM_REG()
Dnct6683.c311 u8 in_num; /* number of voltage attributes */ member
603 for (i = 0; i < data->in_num; i++) { in nct6683_update_device()
1167 data->in_num = 0; in nct6683_setup_sensors()
1181 data->in_index[data->in_num] = i; in nct6683_setup_sensors()
1182 data->in_src[data->in_num] = reg; in nct6683_setup_sensors()
1183 data->in_num++; in nct6683_setup_sensors()
1247 if (data->in_num) { in nct6683_probe()
1250 data->in_num); in nct6683_probe()
Dnct6775.h99 u8 in_num; /* number of in inputs we have */ member
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-core.c1499 for (i = 0; i < data->in_num; i++) { in nct6775_update_device()
3425 data->in_num = 9; in nct6775_probe()
3500 data->in_num = 9; in nct6775_probe()
3575 data->in_num = 9; in nct6775_probe()
3650 data->in_num = 9; in nct6775_probe()
3725 data->in_num = 15; in nct6775_probe()
3810 data->in_num = 15; in nct6775_probe()
3948 data->have_in = BIT(data->in_num) - 1; in nct6775_probe()
Dnct6775-platform.c417 for (i = 0; i < data->in_num; i++) { in nct6775_resume()
/linux-6.1.9/drivers/scsi/
Dvirtio_scsi.c424 unsigned out_num = 0, in_num = 0; in __virtscsi_add_cmd() local
449 sgs[out_num + in_num++] = &resp; in __virtscsi_add_cmd()
455 sgs[out_num + in_num++] = scsi_prot_sglist(sc); in __virtscsi_add_cmd()
456 sgs[out_num + in_num++] = in->sgl; in __virtscsi_add_cmd()
459 return virtqueue_add_sgs(vq, sgs, out_num, in_num, cmd, GFP_ATOMIC); in __virtscsi_add_cmd()
/linux-6.1.9/drivers/vhost/
Dvhost.c2112 unsigned int *out_num, unsigned int *in_num, in get_indirect() argument
2149 unsigned iov_count = *in_num + *out_num; in get_indirect()
2183 *in_num += ret; in get_indirect()
2192 if (unlikely(*in_num)) { in get_indirect()
2213 unsigned int *out_num, unsigned int *in_num, in vhost_get_vq_desc() argument
2271 *out_num = *in_num = 0; in vhost_get_vq_desc()
2277 unsigned iov_count = *in_num + *out_num; in vhost_get_vq_desc()
2297 out_num, in_num, in vhost_get_vq_desc()
2324 *in_num += ret; in vhost_get_vq_desc()
2333 if (unlikely(*in_num)) { in vhost_get_vq_desc()
Dvhost.h187 unsigned int *out_num, unsigned int *in_num,
Dnet.c573 unsigned int *out_num, unsigned int *in_num, in vhost_net_tx_get_vq_desc() argument
581 out_num, in_num, NULL, NULL); in vhost_net_tx_get_vq_desc()
593 out_num, in_num, NULL, NULL); in vhost_net_tx_get_vq_desc()
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dvdec.c847 static int vdec_num_buffers(struct venus_inst *inst, unsigned int *in_num, in vdec_num_buffers() argument
854 *in_num = *out_num = 0; in vdec_num_buffers()
860 *in_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers()
877 unsigned int in_num, out_num; in vdec_queue_setup() local
920 ret = vdec_num_buffers(inst, &in_num, &out_num); in vdec_queue_setup()
936 *num_buffers = max(*num_buffers, in_num); in vdec_queue_setup()
/linux-6.1.9/include/linux/
Dlibnvdimm.h92 int in_num; member
/linux-6.1.9/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()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c5466 u32 out_num, struct rtw_ieee80211_channel *in, u32 in_num) in rtw_scan_ch_decision() argument
5477 for (i = 0; i < in_num; i++) { in rtw_scan_ch_decision()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c7569 u32 out_num, struct rtw_ieee80211_channel *in, u32 in_num) in rtw_scan_ch_decision() argument
7580 for (i = 0; i < in_num; i++) { in rtw_scan_ch_decision()