/drivers/media/video/ivtv/ |
H A D | ivtv-routing.c | 11 This program is distributed in the hope that it will be useful, 36 const struct ivtv_card_audio_input *in; local 41 in = &itv->card->radio_input; 43 in = &itv->card->audio_inputs[itv->audio_input]; 46 input = in->muxer_input; 52 input = in->audio_input;
|
/drivers/usb/gadget/ |
H A D | u_serial.h | 36 struct usb_ep *in; member in struct:gserial
|
/drivers/video/matrox/ |
H A D | matroxfb_misc.h | 8 unsigned int* in, unsigned int* feed, unsigned int* post); 11 unsigned int *in, unsigned int *feed, 14 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); 9 PLL_calcclock(const struct matrox_fb_info *minfo, unsigned int freq, unsigned int fmax, unsigned int *in, unsigned int *feed, unsigned int *post) argument
|
/drivers/media/video/cx18/ |
H A D | cx18-audio.c | 13 * This program is distributed in the hope that it will be useful, 39 const struct cx18_card_audio_input *in; local 45 in = &cx->card->radio_input; 47 in = &cx->card->audio_inputs[cx->audio_input]; 51 (u32) in->muxer_input, 0, 0); 54 audio, s_routing, in->audio_input, 0, 0); 61 switch (in->audio_input) { 75 switch (in->audio_input) {
|
/drivers/input/misc/ |
H A D | gpio_axis.c | 9 * This program is distributed in the hope that it will be useful, 38 uint16_t gpio_axis_4bit_gray_map(struct gpio_event_axis_info *info, uint16_t in) argument 40 return gpio_axis_4bit_gray_map_table[in]; 56 struct gpio_event_axis_info *info, uint16_t in) 58 return gpio_axis_5bit_singletrack_map_table[in]; 55 gpio_axis_5bit_singletrack_map( struct gpio_event_axis_info *info, uint16_t in) argument
|
/drivers/media/dvb/ngene/ |
H A D | ngene-i2c.c | 17 * This program is distributed in the hope that it will be useful, 49 u8 *out, u8 outlen, u8 *in, u8 inlen, int flag) 69 memcpy(in, com.cmd.raw8, inlen + 1); 71 memcpy(in, com.cmd.raw8 + 1, inlen); 48 ngene_command_i2c_read(struct ngene *dev, u8 adr, u8 *out, u8 outlen, u8 *in, u8 inlen, int flag) argument
|
/drivers/misc/altera-stapl/ |
H A D | altera-comp.c | 15 * This program is distributed in the hope that it will be useful, 80 u32 altera_shrink(u8 *in, u32 in_length, u8 *out, u32 out_length, s32 version) argument 94 /* Read number of bytes in data. */ 97 altera_read_packed(in, 111 if (altera_read_packed(in, 1, &bits_avail, 115 out[i] = (u8)altera_read_packed(in, 124 offset = altera_read_packed(in, altera_bits_req((s16) 129 length = altera_read_packed(in, CHAR_BITS,
|
/drivers/mmc/core/ |
H A D | sdio_ops.c | 69 unsigned addr, u8 in, u8 *out) 86 cmd.arg |= in; 115 unsigned addr, u8 in, u8 *out) 118 return mmc_io_rw_direct_host(card->host, write, fn, addr, in, out); 152 /* Code in host drivers/fwk assumes that "blocks" always is >=1 */ 68 mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn, unsigned addr, u8 in, u8 *out) argument 114 mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, unsigned addr, u8 in, u8 *out) argument
|
/drivers/staging/rtl8192u/ieee80211/ |
H A D | arc4.c | 51 static void arc4_crypt(void *ctx_arg, u8 *out, const u8 *in) argument 66 *out++ = *in ^ S[(a + b) & 0xff];
|
/drivers/video/console/ |
H A D | fbcon_rotate.h | 7 * License. See the file COPYING in the main directory of this archive 40 static inline void rotate_ud(const char *in, char *out, u32 width, u32 height) argument 49 if (pattern_test_bit(j, i, width, in)) 58 static inline void rotate_cw(const char *in, char *out, u32 width, u32 height) argument 68 if (pattern_test_bit(j, i, width, in)) 76 static inline void rotate_ccw(const char *in, char *out, u32 width, u32 height) argument 86 if (pattern_test_bit(j, i, width, in))
|
/drivers/block/drbd/ |
H A D | drbd_vli.h | 15 drbd is distributed in the hope that it will be useful, 33 * if transmitted in plain text. 63 * We do not want to waste too much on short runlengths in the "noisy" 72 * variant that turned out best in all test cases. 85 * 10 levels can be described in 8bit, with minimal overhead 142 /* finds a suitable level to decode the least significant part of in. 146 static inline int vli_decode_bits(u64 *out, const u64 in) argument 152 if ((in & ((1 << b) -1)) == v) { \ 153 *out = ((in & ((~0ULL) >> (64-t))) >> b) + adj; \ 168 static inline int __vli_encode_bits(u64 *out, const u64 in) argument 340 vli_encode_bits(struct bitstream *bs, u64 in) argument [all...] |
/drivers/hid/ |
H A D | hid-tmff.c | 20 * This program is distributed in the hope that it will be useful, 60 static inline int tmff_scale_u16(unsigned int in, int minimum, int maximum) argument 64 ret = (in * (maximum - minimum) / 0xffff) + minimum; 73 static inline int tmff_scale_s8(int in, int minimum, int maximum) argument 77 ret = (((in + 0x80) * (maximum - minimum)) / 0xff) + minimum; 166 hid_warn(hid, "ignoring FF field in other report\n"); 192 hid_err(hid, "can't find FF field in output reports\n"); 243 { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb323), /* Dual Trigger 3-in-1 (PC Mode) */ 245 { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb324), /* Dual Trigger 3-in-1 (PS3 Mode) */
|
/drivers/hwmon/ |
H A D | s3c-hwmon.c | 13 * This program is distributed in the hope that it will be useful, 40 struct sensor_device_attribute in; member in struct:s3c_hwmon_attr 176 cfg = pdata->in[sen_attr->index]; 204 cfg = pdata->in[sen_attr->index]; 216 * platform data in @pdata. The sysfs entry is handled by the routine 231 snprintf(attrs->in_name, sizeof(attrs->in_name), "in%d_input", channel); 233 attr = &attrs->in; 249 "in%d_label", channel); 260 device_remove_file(dev, &attrs->in.dev_attr); 271 device_remove_file(dev, &attrs->in [all...] |
H A D | ad7418.c | 55 u16 in[4]; member in struct:ad7418_data 128 data->in[data->adc_max - 1 - i] = 161 ((data->in[attr->index] >> 6) * 2500 + 512) / 1024);
|
H A D | ads1015.c | 15 * This program is distributed in the hope that it will be useful, 44 /* PGA fullscale voltages in mV */ 48 /* Data rates in samples per second */ 102 /* conversion not finished in time */ 129 int in; local 132 res = ads1015_read_value(client, attr->index, &in); 134 return (res < 0) ? res : sprintf(buf, "%d\n", in);
|
H A D | sch5636.c | 9 * This program is distributed in the hope that it will be useful, * 61 /* FAULT in datasheet, but acts as an alarm */ 74 u8 in[SCH5636_NO_INS]; member in struct:sch5636_data 100 data->in[i] = val; 189 data->in[attr->index] * SCH5636_REG_IN_FACTORS[attr->index],
|
/drivers/lguest/ |
H A D | lguest_user.c | 24 * The notification value is in cpu->pending_notify: we return true if it went 35 * indeed it's a noop in many configurations. (You didn't expect me to 69 * One of the more tricksy tricks in the Linux Kernel is a technique called 125 * Now put new one in place: rcu_assign_pointer() is a fancy way of 136 * We're not in a big hurry. Wait until no one's looking at old 150 * This is really convenient for processing each virtqueue in a separate 253 /* We have a limited number the number of CPUs in the lguest struct. */ 306 * The initialization write supplies 3 pointer sized (32 or 64 bit) values (in 315 * start: The first instruction to execute ("eip" in x86-speak). 370 /* We keep our "struct lguest" in th 401 write(struct file *file, const char __user *in, size_t size, loff_t *off) argument [all...] |
/drivers/lguest/x86/ |
H A D | core.c | 10 * This program is distributed in the hope that it will be useful, but 22 * mixed in with drivers/lguest/core.c but several foolhardy code slashers 23 * wrestled most of the dependencies out to here in preparation for porting 79 * state in just before we run the Guest. 81 * Each Guest has "changed" flags which indicate what has changed in the Guest 82 * since it last ran. We saw this set in interrupts_and_traps.c and 90 * meanwhile). If that's not the case, we pretend everything in the 176 * which means we don't have to save and restore them in 184 * There are hooks in the scheduler which we can register to tell when we 212 * won't try it because we don't advertise it in CPUI 272 unsigned int insnlen = 0, in = 0, small_operand = 0; local [all...] |
/drivers/net/arcnet/ |
H A D | rfc1201.c | 142 struct Incoming *in = &lp->rfc1201.incoming[saddr]; local 170 if (in->skb) { /* already assembling one! */ 172 in->sequence, soft->split_flag, soft->sequence); 174 dev_kfree_skb_irq(in->skb); 177 in->skb = NULL; 179 in->sequence = soft->sequence; 252 soft->split_flag, in->sequence); 254 if (in->skb && in->sequence != soft->sequence) { 256 saddr, in [all...] |
/drivers/platform/x86/ |
H A D | tc1100-wmi.c | 16 * This program is distributed in the hope that it will be useful, but 102 static int set_state(u32 *in, u8 instance) argument 108 if (!in) 116 value = (*in) ? 1 : 2; 119 value = (*in) ? 0 : 1;
|
/drivers/usb/core/ |
H A D | endpoint.c | 93 unsigned in; local 95 in = (ep->desc->bEndpointAddress & USB_DIR_IN); 109 if (ep->udev->speed == USB_SPEED_HIGH && !in) 142 direction = "in";
|
/drivers/crypto/ |
H A D | geode-aes.c | 216 geode_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 221 crypto_cipher_encrypt_one(op->fallback.cip, out, in); 225 op->src = (void *) in; 237 geode_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 242 crypto_cipher_decrypt_one(op->fallback.cip, out, in); 246 op->src = (void *) in;
|
H A D | padlock-sha.c | 61 static int padlock_sha_import(struct shash_desc *desc, const void *in) argument 68 return crypto_shash_import(&dctx->fallback, in); 78 static int padlock_sha1_finup(struct shash_desc *desc, const u8 *in, argument 100 return crypto_shash_finup(&dctx->fallback, in, count, out); 106 err = crypto_shash_update(&dctx->fallback, in, space) ?: 111 in += space; 113 memcpy(state.buffer + leftover, in, count); 114 in = state.buffer; 128 "S"(in), "D"(result)); 144 static int padlock_sha256_finup(struct shash_desc *desc, const u8 *in, argument 481 padlock_sha_import_nano(struct shash_desc *desc, const void *in) argument [all...] |
/drivers/infiniband/hw/ipath/ |
H A D | ipath_diag.c | 8 * COPYING in the main directory of this source tree, or the 11 * Redistribution and use in source and binary forms, with or 19 * - Redistributions in binary form must reproduce the above 21 * disclaimer in the documentation and/or other materials 38 * driver is unloaded, or in some cases, until the system is rebooted. 57 static int ipath_diag_open(struct inode *in, struct file *fp); 58 static int ipath_diag_release(struct inode *in, struct file *fp); 128 * @uaddr: the location to store the data in user memory 168 * @uaddr: the source of the data in user memory 206 * @uaddr: the location to store the data in use 281 ipath_diag_open(struct inode *in, struct file *fp) argument 491 ipath_diag_release(struct inode *in, struct file *fp) argument [all...] |
/drivers/input/keyboard/ |
H A D | tnetv107x-keypad.c | 48 u32 in; member in struct:keypad_regs
|