Searched defs:result (Results 51 - 75 of 903) sorted by relevance

1234567891011>>

/drivers/hwmon/
H A Diio_hwmon.c47 int result; local
53 &result);
57 return sprintf(buf, "%d\n", result);
/drivers/isdn/mISDN/
H A Ddsp_dtmf.c126 s32 result[NCOEFF], tresh, treshl; local
166 result[k] =
200 result[k] =
212 if (result[i] < 0)
213 result[i] = 0;
214 if (result[i] > dsp->dtmf.treshold) {
215 if (result[i] > tresh)
216 tresh = result[i];
236 result[0] / 10000, result[
[all...]
H A Dl1oip_codec.c42 - 16 bits index for two samples (law encoded) with 8 bit compressed result.
43 - 8 bits index for one compressed data with 16 bits decompressed result.
221 * Compresses data to the result buffer
222 * The result size must be at least half of the input buffer.
226 l1oip_law_to_4bit(u8 *data, int len, u8 *result, u32 *state) argument
235 *result++ = table_com[(((*state) << 8) & 0xff00) | (*data++)];
243 *result++ = table_com[(data[0]<<8) | (data[1])];
258 /* Decompress data to the result buffer
259 * The result size must be the number of sample in packet. (2 * input data)
260 * The number of samples in the result ar
263 l1oip_4bit_to_law(u8 *data, int len, u8 *result) argument
283 l1oip_alaw_to_ulaw(u8 *data, int len, u8 *result) argument
296 l1oip_ulaw_to_alaw(u8 *data, int len, u8 *result) argument
[all...]
/drivers/md/
H A Ddm.h192 struct dm_dev **result);
220 static inline bool dm_message_test_buffer_overflow(char *result, unsigned maxlen) argument
222 return !maxlen || strlen(result) + 1 >= maxlen;
/drivers/md/persistent-data/
H A Ddm-bitset.c157 uint32_t index, dm_block_t *new_root, bool *result)
166 *result = test_bit(b, (unsigned long *) &info->current_bits);
156 dm_bitset_test_bit(struct dm_disk_bitset *info, dm_block_t root, uint32_t index, dm_block_t *new_root, bool *result) argument
/drivers/media/dvb-frontends/
H A Dtda665x.c94 u8 result = 0; local
99 err = tda665x_read(state, &result);
103 if ((result >> 6) & 0x01) {
H A Dtda8261.c66 u8 result = 0; local
71 if ((err = tda8261_read(state, &result)) < 0) {
75 if ((result >> 6) & 0x01) {
/drivers/misc/altera-stapl/
H A Daltera-comp.c38 u32 result = SHORT_BITS; local
41 result = 1;
46 --result;
50 return result;
56 u32 result = 0; local
62 result |= (((databyte >> (CHAR_BITS - *bits_avail))
66 result &= (0xffff >> (SHORT_BITS - (bits + shift)));
77 return result;
/drivers/net/ethernet/mellanox/mlx4/
H A Dintf.c174 void *result = NULL; local
180 result = dev_ctx->intf->get_dev(dev, dev_ctx->context, port);
186 return result;
/drivers/net/wan/
H A Dhdlc_x25.c92 int result; local
99 if ((result = lapb_data_request(dev, skb)) != LAPB_OK)
104 if ((result = lapb_connect_request(dev))!= LAPB_OK) {
105 if (result == LAPB_CONNECTED)
110 result);
115 if ((result = lapb_disconnect_request(dev)) != LAPB_OK) {
116 if (result == LAPB_NOTCONNECTED)
121 result);
137 int result; local
147 result
193 int result; local
[all...]
/drivers/net/wimax/i2400m/
H A Dusb-rx.c194 int result = 0; local
202 result = do_autopm ?
204 if (result < 0) {
205 dev_err(dev, "RX: can't get autopm: %d\n", result);
216 result = usb_bulk_msg(
220 switch (result) {
259 result = -EINVAL;
288 dev_err(dev, "RX: timeout: %d\n", result);
289 result = 0;
295 dev_err(dev, "RX: error receiving URB: %d, retrying\n", result);
333 int result = 0; local
432 int result = 0; local
[all...]
/drivers/net/wireless/ath/ath10k/
H A Dbmi.c178 int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result) argument
210 *result = __le32_to_cpu(resp.execute.result);
212 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi execute result 0x%x\n", *result);
/drivers/rapidio/switches/
H A Didtcps.c28 u32 result; local
38 RIO_STD_RTE_CONF_PORT_SEL_CSR, &result);
40 result = (0xffffff00 & result) | (u32)route_port;
42 RIO_STD_RTE_CONF_PORT_SEL_CSR, result);
52 u32 result; local
59 RIO_STD_RTE_CONF_PORT_SEL_CSR, &result);
61 if (CPS_DEFAULT_ROUTE == (u8)result ||
62 CPS_NO_ROUTE == (u8)result)
65 *route_port = (u8)result;
[all...]
/drivers/scsi/
H A Dscsi_ioctl.c91 int result; local
97 result = scsi_execute_req(sdev, cmd, DMA_NONE, NULL, 0,
101 "Ioctl returned 0x%x\n", result));
103 if ((driver_byte(result) & DRIVER_SENSE) &&
122 result = 0; /* This is no longer considered an error */
128 result);
136 return result;
294 int val, result; local
307 result = get_user(val, (int __user *)arg);
308 if (result)
[all...]
/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_time.h72 struct timeval *result)
77 if (result != NULL) {
78 result->tv_usec = r % ONE_MILLION;
79 result->tv_sec = r / ONE_MILLION;
98 int result; \
101 result = 1; \
104 result = 0; \
106 result; \
71 cfs_timeval_sub(struct timeval *large, struct timeval *small, struct timeval *result) argument
/drivers/staging/lustre/lustre/lclient/
H A Dglimpse.c94 int result; local
96 result = 0;
139 result = cl_wait(env, lock);
140 if (result == 0) {
161 return result;
171 int result; local
180 result = 1;
182 result = PTR_ERR(env);
184 result = 0;
185 return result;
202 int result; local
237 int result; local
[all...]
/drivers/staging/lustre/lustre/lov/
H A Dlovsub_object.c62 int result; local
69 result = 0;
71 result = -ENOMEM;
72 return result;
/drivers/usb/host/
H A Dehci-ps3.c54 int result; local
60 result = ehci_setup(hcd);
61 if (result)
62 return result;
66 return result;
98 int result; local
104 result = -ENODEV;
108 result = ps3_open_hv_device(dev);
110 if (result) {
116 result
[all...]
/drivers/usb/misc/
H A Dezusb.c37 int result; local
49 result = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), request,
54 return result;
/drivers/usb/serial/
H A Dsymbolserial.c41 int result; local
85 result = usb_submit_urb(port->interrupt_in_urb, GFP_ATOMIC);
86 if (result)
89 __func__, result);
99 int result = 0; local
107 result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
108 if (result)
111 __func__, result);
112 return result;
134 int result; local
[all...]
/drivers/usb/wusbcore/
H A Dwa-nep.c183 int result = 0; local
210 /* dev_fnend(dev, "(wa %p, size %zu) = result\n", wa, size, result); */
211 return result;
222 int result; local
226 switch (result = urb->status) {
228 result = wa_nep_queue(wa, urb->actual_length);
229 if (result < 0)
231 "%d\n", result);
248 result
265 int result; local
[all...]
/drivers/uwb/
H A Ddrp-avail.c138 * space of the result with zeroes.
231 int result = -EINVAL; local
242 result = 0;
244 return result;
273 int result; local
277 result = uwbd_evt_get_drp_avail(evt, bmp);
278 if (result < 0)
279 return result;
/drivers/video/
H A Dof_display_timing.c20 * @result: will be set to the return value
27 struct timing_entry *result)
41 ret = of_property_read_u32(np, name, &result->typ);
42 result->min = result->typ;
43 result->max = result->typ;
45 ret = of_property_read_u32_array(np, name, &result->min, cells);
26 parse_timing_property(const struct device_node *np, const char *name, struct timing_entry *result) argument
/drivers/w1/slaves/
H A Dw1_ds2423.c52 int result; local
104 result = 0;
106 result <<= 8;
107 result |= rbuf[(p *
111 c, "crc=YES c=%d\n", result);
/drivers/xen/xen-pciback/
H A Dpciback_ops.c198 int i, result; local
216 result = pci_enable_msix_exact(dev, entries, op->value);
217 if (result == 0) {
233 result);
236 op->value = result;
241 return result > 0 ? 0 : result;

Completed in 437 milliseconds

1234567891011>>