Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/nvdimm/
Dbus.c745 .in_num = 2,
751 .in_num = 3,
757 .in_num = 3,
763 .in_num = 2,
781 .in_num = 2,
787 .in_num = 5,
797 .in_num = 2,
803 .in_num = 2,
821 if (idx >= desc->in_num) in nd_cmd_in_size()
1013 if (!desc || (desc->out_num + desc->in_num == 0) || in __nd_ioctl()
[all …]
/Linux-v5.4/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.c300 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()
1241 if (data->in_num) { in nct6683_probe()
1244 data->in_num); in nct6683_probe()
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()
Dw83627ehf.c451 u8 in_num; /* number of in inputs we have */ member
800 for (i = 0; i < data->in_num; i++) { in w83627ehf_update_device()
1825 for (i = 0; i < data->in_num; i++) { in w83627ehf_device_remove_files()
2071 data->in_num = (sio_data->kind == w83627ehf) ? 10 : 9; in w83627ehf_probe()
2469 for (i = 0; i < data->in_num; i++) { in w83627ehf_probe()
2625 for (i = 0; i < data->in_num; i++) { in w83627ehf_resume()
/Linux-v5.4/drivers/scsi/
Dvirtio_scsi.c412 unsigned out_num = 0, in_num = 0; in __virtscsi_add_cmd() local
437 sgs[out_num + in_num++] = &resp; in __virtscsi_add_cmd()
443 sgs[out_num + in_num++] = scsi_prot_sglist(sc); in __virtscsi_add_cmd()
444 sgs[out_num + in_num++] = in->sgl; in __virtscsi_add_cmd()
447 return virtqueue_add_sgs(vq, sgs, out_num, in_num, cmd, GFP_ATOMIC); in __virtscsi_add_cmd()
/Linux-v5.4/drivers/vhost/
Dvhost.c2104 unsigned int *out_num, unsigned int *in_num, in get_indirect() argument
2146 unsigned iov_count = *in_num + *out_num; in get_indirect()
2180 *in_num += ret; in get_indirect()
2189 if (unlikely(*in_num)) { in get_indirect()
2210 unsigned int *out_num, unsigned int *in_num, in vhost_get_vq_desc() argument
2268 *out_num = *in_num = 0; in vhost_get_vq_desc()
2274 unsigned iov_count = *in_num + *out_num; in vhost_get_vq_desc()
2294 out_num, in_num, in vhost_get_vq_desc()
2321 *in_num += ret; in vhost_get_vq_desc()
2330 if (unlikely(*in_num)) { in vhost_get_vq_desc()
Dvhost.h195 unsigned int *out_num, unsigned int *in_num,
Dnet.c561 unsigned int *out_num, unsigned int *in_num, in vhost_net_tx_get_vq_desc() argument
569 out_num, in_num, NULL, NULL); in vhost_net_tx_get_vq_desc()
579 out_num, in_num, NULL, NULL); in vhost_net_tx_get_vq_desc()
/Linux-v5.4/drivers/media/platform/qcom/venus/
Dvdec.c694 static int vdec_num_buffers(struct venus_inst *inst, unsigned int *in_num, in vdec_num_buffers() argument
701 *in_num = *out_num = 0; in vdec_num_buffers()
707 *in_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers()
723 unsigned int in_num, out_num; in vdec_queue_setup() local
752 ret = vdec_num_buffers(inst, &in_num, &out_num); in vdec_queue_setup()
764 *num_buffers = max(*num_buffers, in_num); in vdec_queue_setup()
/Linux-v5.4/include/linux/
Dlibnvdimm.h96 int in_num; member
/Linux-v5.4/drivers/acpi/nfit/
Dcore.c488 if (!desc || (cmd && (desc->out_num + desc->in_num == 0))) in acpi_nfit_ctl()
508 for (i = 0; i < desc->in_num; i++) in acpi_nfit_ctl()
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c5080 struct rtw_ieee80211_channel *in, u32 in_num) in rtw_scan_ch_decision() argument
5091 for (i = 0; i < in_num; i++) { in rtw_scan_ch_decision()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c6283 u32 out_num, struct rtw_ieee80211_channel *in, u32 in_num) in rtw_scan_ch_decision() argument
6294 for (i = 0; i < in_num; i++) { in rtw_scan_ch_decision()