/drivers/media/pci/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/net/ethernet/mellanox/mlx5/core/ |
H A D | fw.c | 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 41 struct mlx5_cmd_query_adapter_mbox_in in; local 48 memset(&in, 0, sizeof(in)); 49 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_ADAPTER); 50 err = mlx5_cmd_exec(dev, &in, sizeof(in), ou 74 struct mlx5_cmd_init_hca_mbox_in in; local 93 struct mlx5_cmd_teardown_hca_mbox_in in; local [all...] |
H A D | mad.c | 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 42 struct mlx5_mad_ifc_mbox_in *in = NULL; local 46 in = kzalloc(sizeof(*in), GFP_KERNEL); 47 if (!in) 56 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_MAD_IFC); 57 in [all...] |
H A D | mcg.c | 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 66 struct mlx5_attach_mcg_mbox_in in; local 70 memset(&in, 0, sizeof(in)); 72 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ATTACH_TO_MCG); 73 memcpy(in.gid, mgid, sizeof(*mgid)); 74 in 88 struct mlx5_detach_mcg_mbox_in in; local [all...] |
H A D | pd.c | 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 63 struct mlx5_alloc_pd_mbox_in in; local 67 memset(&in, 0, sizeof(in)); 69 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ALLOC_PD); 70 err = mlx5_cmd_exec(dev, &in, sizeof(in), 84 struct mlx5_dealloc_pd_mbox_in in; local [all...] |
H A D | cq.c | 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 92 struct mlx5_create_cq_mbox_in *in, int inlen) 100 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_CQ); 102 err = mlx5_cmd_exec(dev, in, inlen, &out, sizeof(out)); 141 struct mlx5_destroy_cq_mbox_in in; local 150 mlx5_core_warn(dev, "cq 0x%x not found in tree\n", cq->cqn); 158 memset(&in, 91 mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, struct mlx5_create_cq_mbox_in *in, int inlen) argument 183 struct mlx5_query_cq_mbox_in in; local 203 mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, struct mlx5_modify_cq_mbox_in *in, int in_sz) argument [all...] |
H A D | mr.c | 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 52 struct mlx5_create_mkey_mbox_in *in, int inlen, 65 in->seg.qpn_mkey7_0 |= cpu_to_be32(key); 66 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_MKEY); 68 err = mlx5_cmd_exec_cb(dev, in, inlen, out, sizeof(*out), 72 err = mlx5_cmd_exec(dev, in, inlen, &lout, sizeof(lout)); 85 mr->iova = be64_to_cpu(in 51 mlx5_core_create_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr, struct mlx5_create_mkey_mbox_in *in, int inlen, mlx5_cmd_cbk_t callback, void *context, struct mlx5_create_mkey_mbox_out *out) argument 110 struct mlx5_destroy_mkey_mbox_in in; local 144 struct mlx5_destroy_mkey_mbox_in in; local 166 struct mlx5_query_special_ctxs_mbox_in in; local 190 struct mlx5_allocate_psv_in in; local 223 struct mlx5_destroy_psv_in in; local [all...] |
H A D | port.c | 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 42 struct mlx5_access_reg_mbox_in *in = NULL; local 46 in = mlx5_vzalloc(sizeof(*in) + size_in); 47 if (!in) 54 memcpy(in->data, data_in, size_in); 55 in 91 struct mlx5_reg_pcap in; local [all...] |
H A D | srq.c | 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 83 struct mlx5_create_srq_mbox_in *in, int inlen) 92 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_SRQ); 93 err = mlx5_cmd_exec(dev, in, inlen, &out, sizeof(out)); 127 struct mlx5_destroy_srq_mbox_in in; local 137 mlx5_core_warn(dev, "srq 0x%x not found in tree\n", srq->srqn); 145 memset(&in, 82 mlx5_core_create_srq(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq, struct mlx5_create_srq_mbox_in *in, int inlen) argument 167 struct mlx5_query_srq_mbox_in in; local 189 struct mlx5_arm_srq_mbox_in in; local [all...] |
/drivers/video/fbdev/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/pci/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/media/rc/img-ir/ |
H A D | img-ir-jvc.c | 32 static int img_ir_jvc_filter(const struct rc_scancode_filter *in, argument 38 cust = (in->data >> 8) & 0xff; 39 cust_m = (in->mask >> 8) & 0xff; 40 data = (in->data >> 0) & 0xff; 41 data_m = (in->mask >> 0) & 0xff;
|
H A D | img-ir-nec.c | 54 static int img_ir_nec_filter(const struct rc_scancode_filter *in, argument 60 data = in->data & 0xff; 61 data_m = in->mask & 0xff; 63 if ((in->data | in->mask) & 0xff000000) { 66 addr = bitrev8(in->data >> 24); 67 addr_m = bitrev8(in->mask >> 24); 68 addr_inv = bitrev8(in->data >> 16); 69 addr_inv_m = bitrev8(in->mask >> 16); 70 data = bitrev8(in [all...] |
H A D | img-ir-sanyo.c | 53 static int img_ir_sanyo_filter(const struct rc_scancode_filter *in, argument 59 data = in->data & 0xff; 60 data_m = in->mask & 0xff; 63 if (in->data & 0xff700000) 66 addr = (in->data >> 8) & 0x1fff; 67 addr_m = (in->mask >> 8) & 0x1fff;
|
H A D | img-ir-sharp.c | 41 static int img_ir_sharp_filter(const struct rc_scancode_filter *in, argument 47 addr = (in->data >> 8) & 0x1f; 48 addr_m = (in->mask >> 8) & 0x1f; 49 cmd = (in->data >> 0) & 0xff; 50 cmd_m = (in->mask >> 0) & 0xff;
|
H A D | img-ir-sony.c | 57 static int img_ir_sony_filter(const struct rc_scancode_filter *in, argument 64 dev = (in->data >> 16) & 0xff; 65 dev_m = (in->mask >> 16) & 0xff; 66 subdev = (in->data >> 8) & 0xff; 67 subdev_m = (in->mask >> 8) & 0xff; 68 func = (in->data >> 0) & 0x7f; 69 func_m = (in->mask >> 0) & 0x7f; 75 /* subdevice (extended) bits only in 20 bit encoding */ 81 /* upper device bits only in 15 bit encoding */
|
/drivers/staging/lustre/lustre/obdclass/ |
H A D | uuid.c | 10 * This program is distributed in the hope that it will be useful, but 14 * in the LICENSE file that accompanied this code). 60 static void uuid_unpack(class_uuid_t in, __u16 *uu, int nr) argument 62 __u8 *ptr = in;
|
/drivers/staging/skein/ |
H A D | threefish_api.c | 24 void threefish_encrypt_block_bytes(struct threefish_key *key_ctx, u8 *in, argument 30 skein_get64_lsb_first(plain, in, key_ctx->state_size / 64); 35 void threefish_encrypt_block_words(struct threefish_key *key_ctx, u64 *in, argument 40 threefish_encrypt_256(key_ctx, in, out); 43 threefish_encrypt_512(key_ctx, in, out); 46 threefish_encrypt_1024(key_ctx, in, out); 51 void threefish_decrypt_block_bytes(struct threefish_key *key_ctx, u8 *in, argument 57 skein_get64_lsb_first(cipher, in, key_ctx->state_size / 64); 62 void threefish_decrypt_block_words(struct threefish_key *key_ctx, u64 *in, argument 67 threefish_decrypt_256(key_ctx, in, ou [all...] |
/drivers/usb/gadget/function/ |
H A D | u_serial.h | 43 struct usb_ep *in; member in struct:gserial
|
/drivers/crypto/nx/ |
H A D | nx-sha256.c | 10 * This program is distributed in the hope that it will be useful, 67 * 2: >= SHA256_BLOCK_SIZE: process X blocks, copy in leftover 82 * to_process: the SHA256_BLOCK_SIZE data chunk to process in 215 * initial data, in case this context gets imported into a software 235 static int nx_sha256_import(struct shash_desc *desc, const void *in) argument 240 const struct sha256_state *ictx = in;
|
H A D | nx-sha512.c | 10 * This program is distributed in the hope that it will be useful, 67 * 2: >= SHA512_BLOCK_SIZE: process X blocks, copy in leftover 82 * to_process: the SHA512_BLOCK_SIZE data chunk to process in 230 * initial data, in case this context gets imported into a software 251 static int nx_sha512_import(struct shash_desc *desc, const void *in) argument 256 const struct sha512_state *ictx = in;
|
/drivers/crypto/qat/qat_dh895xcc/ |
H A D | adf_admin.c | 11 This program is distributed in the hope that it will be useful, but 21 Redistribution and use in source and binary forms, with or without 27 * Redistributions in binary form must reproduce the above copyright 28 notice, this list of conditions and the following disclaimer in 67 uint32_t ae, void *in, void *out) 82 memcpy(admin->virt_addr + offset, in, ADF_ADMINMSG_LEN); 66 adf_put_admin_msg_sync(struct adf_accel_dev *accel_dev, uint32_t ae, void *in, void *out) argument
|
/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/pci/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,
|