/linux-4.4.14/arch/c6x/platforms/ |
D | dscr.c | 299 u32 vals[3]; in dscr_parse_silicon_rev() local 302 err = of_property_read_u32_array(node, "ti,dscr-silicon-rev", vals, 3); in dscr_parse_silicon_rev() 304 c6x_silicon_rev = soc_readl(base + vals[0]); in dscr_parse_silicon_rev() 305 c6x_silicon_rev >>= vals[1]; in dscr_parse_silicon_rev() 306 c6x_silicon_rev &= vals[2]; in dscr_parse_silicon_rev() 330 u32 vals[10], fuse; in dscr_parse_mac_fuse() local 334 vals, 10); in dscr_parse_mac_fuse() 339 fuse = soc_readl(base + vals[f * 5]); in dscr_parse_mac_fuse() 341 if (vals[j] && vals[j] <= 6) in dscr_parse_mac_fuse() 342 c6x_fuse_mac[vals[j] - 1] = fuse >> i; in dscr_parse_mac_fuse() [all …]
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | init.c | 181 u32 *vals; in mt7601u_init_wcid_mem() local 184 vals = kmalloc(sizeof(*vals) * N_WCIDS * 2, GFP_KERNEL); in mt7601u_init_wcid_mem() 185 if (!vals) in mt7601u_init_wcid_mem() 189 vals[i * 2] = 0xffffffff; in mt7601u_init_wcid_mem() 190 vals[i * 2 + 1] = 0x00ffffff; in mt7601u_init_wcid_mem() 194 vals, N_WCIDS * 2); in mt7601u_init_wcid_mem() 195 kfree(vals); in mt7601u_init_wcid_mem() 202 u32 vals[4] = {}; in mt7601u_init_key_mem() local 205 vals, ARRAY_SIZE(vals)); in mt7601u_init_key_mem() 210 u32 *vals; in mt7601u_init_wcid_attr_mem() local [all …]
|
/linux-4.4.14/drivers/iio/ |
D | industrialio-core.c | 424 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals) in iio_format_value() argument 431 return sprintf(buf, "%d\n", vals[0]); in iio_format_value() 435 if (vals[1] < 0) in iio_format_value() 436 return sprintf(buf, "-%ld.%06u%s\n", abs(vals[0]), in iio_format_value() 437 -vals[1], in iio_format_value() 440 return sprintf(buf, "%d.%06u%s\n", vals[0], vals[1], in iio_format_value() 443 if (vals[1] < 0) in iio_format_value() 444 return sprintf(buf, "-%ld.%09u\n", abs(vals[0]), in iio_format_value() 445 -vals[1]); in iio_format_value() 447 return sprintf(buf, "%d.%09u\n", vals[0], vals[1]); in iio_format_value() [all …]
|
D | inkern.c | 450 int vals[INDIO_MAX_RAW_ELEMENTS]; in iio_channel_read() local 463 vals, &val_len, info); in iio_channel_read() 464 *val = vals[0]; in iio_channel_read() 465 *val2 = vals[1]; in iio_channel_read()
|
D | iio_core.h | 38 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
|
/linux-4.4.14/sound/soc/fsl/ |
D | fsl_ssi.c | 375 struct fsl_ssi_rxtx_reg_val *vals = &ssi_private->rxtx_reg_val; in fsl_ssi_rxtx_config() local 379 vals->rx.sier | vals->tx.sier, in fsl_ssi_rxtx_config() 380 vals->rx.sier | vals->tx.sier); in fsl_ssi_rxtx_config() 382 vals->rx.srcr | vals->tx.srcr, in fsl_ssi_rxtx_config() 383 vals->rx.srcr | vals->tx.srcr); in fsl_ssi_rxtx_config() 385 vals->rx.stcr | vals->tx.stcr, in fsl_ssi_rxtx_config() 386 vals->rx.stcr | vals->tx.stcr); in fsl_ssi_rxtx_config() 389 vals->rx.srcr | vals->tx.srcr, 0); in fsl_ssi_rxtx_config() 391 vals->rx.stcr | vals->tx.stcr, 0); in fsl_ssi_rxtx_config() 393 vals->rx.sier | vals->tx.sier, 0); in fsl_ssi_rxtx_config() [all …]
|
/linux-4.4.14/arch/tile/kernel/ |
D | backtrace.c | 107 static const int vals[2] = { TREG_SP, TREG_SP }; in bt_has_addi_sp() local 110 find_matching_insn(bundle, TILE_OPC_ADDI, vals, 2); in bt_has_addi_sp() 112 insn = find_matching_insn(bundle, TILE_OPC_ADDLI, vals, 2); in bt_has_addi_sp() 115 insn = find_matching_insn(bundle, TILEGX_OPC_ADDXLI, vals, 2); in bt_has_addi_sp() 117 insn = find_matching_insn(bundle, TILEGX_OPC_ADDXI, vals, 2); in bt_has_addi_sp() 199 static const int vals[2] = { 52, TREG_SP }; in bt_has_move_r52_sp() local 200 return find_matching_insn(bundle, TILE_OPC_MOVE, vals, 2) != NULL; in bt_has_move_r52_sp() 206 static const int vals[2] = { TREG_SP, TREG_LR }; in bt_has_sw_sp_lr() local 207 return find_matching_insn(bundle, OPCODE_STORE, vals, 2) != NULL; in bt_has_sw_sp_lr() 234 static const int vals[2] = { TREG_SP, TREG_SP }; in bt_has_add_sp() local [all …]
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 367 const u32 *params, u32 *vals) in t4vf_query_params() argument 390 *vals++ = be32_to_cpu(p->val); in t4vf_query_params() 405 const u32 *params, const u32 *vals) in t4vf_set_params() argument 424 p->val = cpu_to_be32(*vals++); in t4vf_set_params() 530 u32 params[7], vals[7]; in t4vf_get_sge_params() local 547 v = t4vf_query_params(adapter, 7, params, vals); in t4vf_get_sge_params() 550 sge_params->sge_control = vals[0]; in t4vf_get_sge_params() 551 sge_params->sge_host_page_size = vals[1]; in t4vf_get_sge_params() 552 sge_params->sge_fl_buffer_size[0] = vals[2]; in t4vf_get_sge_params() 553 sge_params->sge_fl_buffer_size[1] = vals[3]; in t4vf_get_sge_params() [all …]
|
/linux-4.4.14/drivers/iio/orientation/ |
D | hid-sensor-rotation.c | 63 int size, int *vals, int *val_len, in dev_rot_read_raw() argument 70 vals[0] = 0; in dev_rot_read_raw() 71 vals[1] = 0; in dev_rot_read_raw() 77 vals[i] = rot_state->sampled_vals[i]; in dev_rot_read_raw() 85 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw() 89 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
|
/linux-4.4.14/tools/perf/arch/x86/tests/ |
D | insn-x86.c | 38 } vals[] = { in get_op() local 56 for (val = vals; val->name; val++) { in get_op() 71 } vals[] = { in get_branch() local 83 for (val = vals; val->name; val++) { in get_branch()
|
/linux-4.4.14/drivers/input/ |
D | input.c | 97 struct input_value *vals, unsigned int count) in input_to_handler() argument 100 struct input_value *end = vals; in input_to_handler() 104 for (v = vals; v != vals + count; v++) { in input_to_handler() 111 count = end - vals; in input_to_handler() 118 handler->events(handle, vals, count); in input_to_handler() 120 for (v = vals; v != vals + count; v++) in input_to_handler() 132 struct input_value *vals, unsigned int count) in input_pass_values() argument 144 count = input_to_handler(handle, vals, count); in input_pass_values() 148 count = input_to_handler(handle, vals, count); in input_pass_values() 156 add_input_randomness(vals->type, vals->code, vals->value); in input_pass_values() [all …]
|
D | evdev.c | 259 const struct input_value *vals, unsigned int count, in evdev_pass_values() argument 275 for (v = vals; v != vals + count; v++) { in evdev_pass_values() 303 const struct input_value *vals, unsigned int count) in evdev_events() argument 319 evdev_pass_values(client, vals, count, ev_time); in evdev_events() 322 evdev_pass_values(client, vals, count, ev_time); in evdev_events() 333 struct input_value vals[] = { { type, code, value } }; in evdev_event() local 335 evdev_events(handle, vals, 1); in evdev_event()
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-single.c | 107 struct pcs_func_vals *vals; member 469 struct pcs_func_vals *vals; in pcs_set_mux() local 473 vals = &func->vals[i]; in pcs_set_mux() 475 val = pcs->read(vals->reg); in pcs_set_mux() 478 mask = vals->mask; in pcs_set_mux() 483 val |= (vals->val & mask); in pcs_set_mux() 484 pcs->write(val, vals->reg); in pcs_set_mux() 868 struct pcs_func_vals *vals, in pcs_add_function() argument 880 function->vals = vals; in pcs_add_function() 1142 struct pcs_func_vals *vals; in pcs_parse_one_pinctrl_entry() local [all …]
|
/linux-4.4.14/drivers/cpufreq/ |
D | s3c24xx-cpufreq.c | 654 struct cpufreq_frequency_table *vals; in s3c_plltab_register() local 657 size = sizeof(*vals) * (plls_no + 1); in s3c_plltab_register() 659 vals = kzalloc(size, GFP_KERNEL); in s3c_plltab_register() 660 if (vals) { in s3c_plltab_register() 661 memcpy(vals, plls, size); in s3c_plltab_register() 662 pll_reg = vals; in s3c_plltab_register() 666 vals += plls_no; in s3c_plltab_register() 667 vals->frequency = CPUFREQ_TABLE_END; in s3c_plltab_register() 673 return vals ? 0 : -ENOMEM; in s3c_plltab_register()
|
/linux-4.4.14/drivers/iio/magnetometer/ |
D | mag3110.c | 103 const int (*vals)[2], int n) in mag3110_show_int_plus_micros() 109 "%d.%06d ", vals[n][0], vals[n][1]); in mag3110_show_int_plus_micros() 117 static int mag3110_get_int_plus_micros_index(const int (*vals)[2], int n, in mag3110_get_int_plus_micros_index() 121 if (val == vals[n][0] && val2 == vals[n][1]) in mag3110_get_int_plus_micros_index()
|
/linux-4.4.14/drivers/media/i2c/ |
D | saa717x.c | 828 } vals[] = { in set_h_prescale() local 841 static const int count = ARRAY_SIZE(vals); in set_h_prescale() 846 if (vals[i].xpsc == prescale) in set_h_prescale() 852 saa717x_write(sd, 0x60 + task_shift, vals[i].xpsc); in set_h_prescale() 854 saa717x_write(sd, 0x61 + task_shift, vals[i].xacl); in set_h_prescale() 857 (vals[i].xc2_1 << 3) | vals[i].xdcg); in set_h_prescale() 860 (vals[i].vpfy << 2) | vals[i].vpfy); in set_h_prescale()
|
D | ov7670.c | 564 static int ov7670_write_array(struct v4l2_subdev *sd, struct regval_list *vals) in ov7670_write_array() argument 566 while (vals->reg_num != 0xff || vals->value != 0xff) { in ov7670_write_array() 567 int ret = ov7670_write(sd, vals->reg_num, vals->value); in ov7670_write_array() 570 vals++; in ov7670_write_array()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-mcp23s08.c | 63 u16 *vals, unsigned n); 117 mcp23008_read_regs(struct mcp23s08 *mcp, unsigned reg, u16 *vals, unsigned n) in mcp23008_read_regs() argument 123 *vals++ = ret; in mcp23008_read_regs() 140 mcp23017_read_regs(struct mcp23s08 *mcp, unsigned reg, u16 *vals, unsigned n) in mcp23017_read_regs() argument 146 *vals++ = ret; in mcp23017_read_regs() 192 mcp23s08_read_regs(struct mcp23s08 *mcp, unsigned reg, u16 *vals, unsigned n) in mcp23s08_read_regs() argument 202 tmp = (u8 *)vals; in mcp23s08_read_regs() 206 vals[n] = tmp[n]; /* expand to 16bit */ in mcp23s08_read_regs() 234 mcp23s17_read_regs(struct mcp23s08 *mcp, unsigned reg, u16 *vals, unsigned n) in mcp23s17_read_regs() argument 245 (u8 *)vals, n * 2); in mcp23s17_read_regs() [all …]
|
/linux-4.4.14/drivers/media/i2c/soc_camera/ |
D | ov5642.c | 724 struct regval_list *vals) in ov5642_write_array() argument 726 while (vals->reg_num != 0xffff || vals->value != 0xff) { in ov5642_write_array() 727 int ret = reg_write(client, vals->reg_num, vals->value); in ov5642_write_array() 730 vals++; in ov5642_write_array()
|
D | ov2640.c | 628 const struct regval_list *vals) in ov2640_write_array() argument 632 while ((vals->reg_num != 0xff) || (vals->value != 0xff)) { in ov2640_write_array() 634 vals->reg_num, vals->value); in ov2640_write_array() 636 vals->reg_num, vals->value); in ov2640_write_array() 640 vals++; in ov2640_write_array()
|
/linux-4.4.14/net/ipv4/ |
D | proc.c | 308 static void icmpmsg_put_line(struct seq_file *seq, unsigned long *vals, in icmpmsg_put_line() argument 321 seq_printf(seq, " %lu", vals[j]); in icmpmsg_put_line() 331 unsigned long vals[PERLINE], val; in icmpmsg_put() local 339 vals[count++] = val; in icmpmsg_put() 342 icmpmsg_put_line(seq, vals, type, count); in icmpmsg_put() 346 icmpmsg_put_line(seq, vals, type, count); in icmpmsg_put()
|
/linux-4.4.14/sound/core/ |
D | vmaster.c | 55 int vals[2]; /* current values */ member 72 slave->vals[ch] = uctl->value.integer.value[ch]; in slave_update() 147 ucontrol->value.integer.value[ch] = slave->vals[ch]; in slave_get_val() 209 if (slave->vals[ch] != ucontrol->value.integer.value[ch]) { in slave_put() 211 slave->vals[ch] = ucontrol->value.integer.value[ch]; in slave_put()
|
/linux-4.4.14/tools/perf/util/ |
D | stat.c | 200 struct perf_counts_values *vals, int cpu, bool *skip) in check_per_pkg() argument 230 if (!(vals->run && vals->ena)) in check_per_pkg()
|
/linux-4.4.14/sound/oss/ |
D | waveartist.c | 328 unsigned int vals[2]; in waveartist_cmd2() local 330 vals[0] = cmd; in waveartist_cmd2() 331 vals[1] = arg; in waveartist_cmd2() 333 return waveartist_cmd(devc, 2, vals, 1, vals); in waveartist_cmd2() 343 unsigned int vals[3]; in waveartist_cmd3() local 345 vals[0] = cmd; in waveartist_cmd3() 346 vals[1] = arg1; in waveartist_cmd3() 347 vals[2] = arg2; in waveartist_cmd3() 349 return waveartist_cmd(devc, 3, vals, 0, NULL); in waveartist_cmd3()
|
/linux-4.4.14/drivers/iio/accel/ |
D | mma8452.c | 177 static ssize_t mma8452_show_int_plus_micros(char *buf, const int (*vals)[2], in mma8452_show_int_plus_micros() 184 vals[n][0], vals[n][1]); in mma8452_show_int_plus_micros() 192 static int mma8452_get_int_plus_micros_index(const int (*vals)[2], int n, in mma8452_get_int_plus_micros_index() 196 if (val == vals[n][0] && val2 == vals[n][1]) in mma8452_get_int_plus_micros_index()
|
D | bma180.c | 411 static ssize_t bma180_show_avail(char *buf, const int *vals, unsigned n, in bma180_show_avail() argument 418 if (!vals[i]) in bma180_show_avail() 421 micros ? "0.%06d " : "%d ", vals[i]); in bma180_show_avail()
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-tw28.c | 513 static void saa712x_write_regs(struct solo_dev *dev, const u8 *vals, in saa712x_write_regs() argument 516 for (; start < n; start++, vals++) { in saa712x_write_regs() 525 solo_i2c_writebyte(dev, SOLO_I2C_SAA, 0x46, start, *vals); in saa712x_write_regs()
|
/linux-4.4.14/fs/cifs/ |
D | file.c | 854 if (!(li->type & server->vals->shared_lock_type) || in cifs_find_fid_lock_conflict() 858 if ((type & server->vals->shared_lock_type) && in cifs_find_fid_lock_conflict() 913 if (conf_lock->type & server->vals->shared_lock_type) in cifs_lock_test() 1260 *type = server->vals->large_lock_type; in cifs_read_flock() 1263 *type |= server->vals->exclusive_lock_type; in cifs_read_flock() 1267 *type |= server->vals->unlock_lock_type; in cifs_read_flock() 1272 *type |= server->vals->shared_lock_type; in cifs_read_flock() 1276 *type |= server->vals->exclusive_lock_type; in cifs_read_flock() 1280 *type |= server->vals->shared_lock_type; in cifs_read_flock() 1304 if (type & server->vals->shared_lock_type) in cifs_getlk() [all …]
|
D | cifsglob.h | 442 #define HEADER_SIZE(server) (server->vals->header_size) 443 #define MAX_HEADER_SIZE(server) (server->vals->max_header_size) 505 struct smb_version_values *vals; member 552 struct smb_version_values *vals; member 819 return ses->server->vals->cap_unix & ses->capabilities; in cap_unix()
|
D | connect.c | 1128 vol->vals = &smb1_values; in cifs_parse_smb_version() 1133 vol->vals = &smb20_values; in cifs_parse_smb_version() 1137 vol->vals = &smb21_values; in cifs_parse_smb_version() 1141 vol->vals = &smb30_values; in cifs_parse_smb_version() 1145 vol->vals = &smb302_values; in cifs_parse_smb_version() 1150 vol->vals = &smb311_values; in cifs_parse_smb_version() 1277 vol->vals = &smb1_values; in cifs_parse_mount_options() 2076 if ((server->vals != vol->vals) || (server->ops != vol->ops)) in match_server() 2168 tcp_ses->vals = volume_info->vals; in cifs_get_tcp_session() 2694 if (ses->server->vals->protocol_id == 0) { in cifs_get_tcon() [all …]
|
D | smb2pdu.c | 402 req->Dialects[0] = cpu_to_le16(ses->server->vals->protocol_id); in SMB2_negotiate() 415 req->Capabilities = cpu_to_le32(ses->server->vals->req_capabilities); in SMB2_negotiate() 418 if (ses->server->vals->protocol_id == SMB20_PROT_ID) in SMB2_negotiate() 423 if (ses->server->vals->protocol_id == SMB311_PROT_ID) in SMB2_negotiate() 525 cpu_to_le32(tcon->ses->server->vals->req_capabilities); in smb3_validate_negotiate() 540 cpu_to_le16(tcon->ses->server->vals->protocol_id); in smb3_validate_negotiate() 559 cpu_to_le16(tcon->ses->server->vals->protocol_id)) in smb3_validate_negotiate() 1145 iov[num].iov_len = server->vals->create_lease_size; in add_lease_context() 1152 server->vals->create_lease_size); in add_lease_context() 1153 inc_rfc1001_len(&req->hdr, server->vals->create_lease_size); in add_lease_context() [all …]
|
D | ioctl.c | 157 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; in smb_mnt_get_fsinfo()
|
D | cifsfs.c | 128 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super() 400 seq_show_option(s, "vers", tcon->ses->server->vals->version_string); in cifs_show_options()
|
D | readdir.c | 318 tcon->ses->server->vals->cap_nt_find) == 0) { in initiate_cifs_search()
|
D | transport.c | 87 __le16 command = midEntry->server->vals->lock_cmd; in DeleteMidQEntry()
|
D | cifssmb.c | 406 bool srv_sign_required = server->sec_mode & server->vals->signing_required; in cifs_enable_signing() 407 bool srv_sign_enabled = server->sec_mode & server->vals->signing_enabled; in cifs_enable_signing() 1447 len = min_t(unsigned int, buflen, server->vals->read_rsp_size) - in cifs_readv_receive() 1473 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive() 1476 server->vals->read_rsp_size); in cifs_readv_receive()
|
/linux-4.4.14/include/linux/ |
D | input.h | 187 struct input_value *vals; member 290 const struct input_value *vals, unsigned int count);
|
/linux-4.4.14/drivers/net/wireless/ |
D | airo.c | 719 __le32 vals[100]; member 2240 __le32 *vals = stats_rid.vals; in airo_read_stats() local 2250 dev->stats.rx_packets = le32_to_cpu(vals[43]) + le32_to_cpu(vals[44]) + in airo_read_stats() 2251 le32_to_cpu(vals[45]); in airo_read_stats() 2252 dev->stats.tx_packets = le32_to_cpu(vals[39]) + le32_to_cpu(vals[40]) + in airo_read_stats() 2253 le32_to_cpu(vals[41]); in airo_read_stats() 2254 dev->stats.rx_bytes = le32_to_cpu(vals[92]); in airo_read_stats() 2255 dev->stats.tx_bytes = le32_to_cpu(vals[91]); in airo_read_stats() 2256 dev->stats.rx_errors = le32_to_cpu(vals[0]) + le32_to_cpu(vals[2]) + in airo_read_stats() 2257 le32_to_cpu(vals[3]) + le32_to_cpu(vals[4]); in airo_read_stats() [all …]
|
/linux-4.4.14/sound/pci/hda/ |
D | patch_ca0132.c | 391 unsigned int vals[VOICEFX_MAX_PARAM_COUNT]; member 403 .vals = { 0x00000000, 0x43C80000, 0x44AF0000, 408 .vals = { 0x3F800000, 0x43C80000, 0x44AF0000, 413 .vals = { 0x3F800000, 0x43C80000, 0x44AF0000, 418 .vals = { 0x3F800000, 0x43C80000, 0x44AF0000, 423 .vals = { 0x3F800000, 0x44324000, 0x44BB8000, 428 .vals = { 0x3F800000, 0x43EA0000, 0x44A52000, 433 .vals = { 0x3F800000, 0x43C70000, 0x44AE6000, 438 .vals = { 0x3F800000, 0x43930000, 0x44BEE000, 443 .vals = { 0x3F800000, 0x43BFC5AC, 0x44B28FDF, [all …]
|
D | hda_codec.c | 2181 unsigned long *vals; in snd_hda_mixer_bind_ctls_put() local 2186 for (vals = c->values; *vals; vals++) { in snd_hda_mixer_bind_ctls_put() 2187 kcontrol->private_value = *vals; in snd_hda_mixer_bind_ctls_put()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgt215.c | 99 gt215_link_train_calc(u32 *vals, struct gt215_ltrain *train) in gt215_link_train_calc() argument 106 if (!(vals[lo] & 0x80000000)) in gt215_link_train_calc() 108 if (vals[lo] & (0x101 << i)) in gt215_link_train_calc() 116 if (!(vals[lo] & 0x80000000)) in gt215_link_train_calc() 118 if (!(vals[hi] & (0x101 << i))) { in gt215_link_train_calc()
|
/linux-4.4.14/arch/arm/plat-samsung/include/plat/ |
D | cpu-freq-core.h | 101 struct s3c_pllval *vals; member
|
/linux-4.4.14/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_hdcs.c | 95 static int hdcs_reg_write_seq(struct sd *sd, u8 reg, u8 *vals, u8 len) in hdcs_reg_write_seq() argument 106 regs[2 * i + 1] = vals[i]; in hdcs_reg_write_seq()
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | fwcmd.h | 112 u32 vals[0]; member
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 496 } vals[] = { in set_h_prescale() local 509 static const int count = ARRAY_SIZE(vals); in set_h_prescale() 513 if (vals[i].xpsc == prescale) in set_h_prescale() 518 saa_writeb(SAA7134_H_PRESCALE(task), vals[i].xpsc); in set_h_prescale() 519 saa_writeb(SAA7134_ACC_LENGTH(task), vals[i].xacl); in set_h_prescale() 521 (vals[i].xc2_1 << 3) | (vals[i].xdcg)); in set_h_prescale() 523 (vals[i].vpfy << 2) | vals[i].vpfy); in set_h_prescale()
|
/linux-4.4.14/sound/pci/ice1712/ |
D | se.c | 262 static unsigned char vals[] = { in se200pci_WM8776_set_input_selector() local 268 se200pci_WM8776_write(ice, 0x15, vals[sel]); in se200pci_WM8776_set_input_selector()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 3639 u8 vals[4]; in bnx2x_update_mng_version_utility() local 3644 &vals[0], &vals[1], &vals[2], &vals[3]); in bnx2x_update_mng_version_utility() 3646 vals[0] -= '0'; in bnx2x_update_mng_version_utility() 3649 &vals[0], &vals[1], &vals[2], &vals[3]); in bnx2x_update_mng_version_utility() 3653 vals[i++] = 0; in bnx2x_update_mng_version_utility() 3655 return (vals[0] << 24) | (vals[1] << 16) | (vals[2] << 8) | vals[3]; in bnx2x_update_mng_version_utility() 10351 struct bnx2x_mac_vals *vals) in bnx2x_prev_unload_close_umac() argument 10361 vals->umac_addr[port] = base_addr + UMAC_REG_COMMAND_CONFIG; in bnx2x_prev_unload_close_umac() 10362 vals->umac_val[port] = REG_RD(bp, vals->umac_addr[port]); in bnx2x_prev_unload_close_umac() 10363 REG_WR(bp, vals->umac_addr[port], 0); in bnx2x_prev_unload_close_umac() [all …]
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_ringbuffer.c | 995 u8 vals[3] = { 0, 0, 0 }; in skl_tune_iz_hashing() local 1015 vals[i] = 3 - ss; in skl_tune_iz_hashing() 1018 if (vals[0] == 0 && vals[1] == 0 && vals[2] == 0) in skl_tune_iz_hashing() 1026 GEN9_IZ_HASHING(2, vals[2]) | in skl_tune_iz_hashing() 1027 GEN9_IZ_HASHING(1, vals[1]) | in skl_tune_iz_hashing() 1028 GEN9_IZ_HASHING(0, vals[0])); in skl_tune_iz_hashing()
|
/linux-4.4.14/net/ipx/ |
D | af_ipx.c | 100 struct ipx_config_data vals; in ipxcfg_get_config_data() local 102 vals.ipxcfg_auto_create_interfaces = ipxcfg_auto_create_interfaces; in ipxcfg_get_config_data() 103 vals.ipxcfg_auto_select_primary = ipxcfg_auto_select_primary; in ipxcfg_get_config_data() 105 return copy_to_user(arg, &vals, sizeof(vals)) ? -EFAULT : 0; in ipxcfg_get_config_data()
|
/linux-4.4.14/include/linux/iio/ |
D | iio.h | 370 int *vals,
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/ |
D | trans.c | 1601 u32 *vals = buf; in iwl_trans_pcie_read_mem() local 1606 vals[offs] = iwl_read32(trans, HBUS_TARG_MEM_RDAT); in iwl_trans_pcie_read_mem() 1619 const u32 *vals = buf; in iwl_trans_pcie_write_mem() local 1625 vals ? vals[offs] : 0); in iwl_trans_pcie_write_mem()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu.c | 3510 u8 vals[4] = { 0x41, 0xa8, 0x72, 0xb9 }; in rtl8xxxu_set_ampdu_factor() local 3519 if ((vals[i] & 0xf0) > (ampdu_factor << 4)) in rtl8xxxu_set_ampdu_factor() 3520 vals[i] = (vals[i] & 0x0f) | (ampdu_factor << 4); in rtl8xxxu_set_ampdu_factor() 3522 if ((vals[i] & 0x0f) > ampdu_factor) in rtl8xxxu_set_ampdu_factor() 3523 vals[i] = (vals[i] & 0xf0) | ampdu_factor; in rtl8xxxu_set_ampdu_factor() 3525 rtl8xxxu_write8(priv, REG_AGGLEN_LMT + i, vals[i]); in rtl8xxxu_set_ampdu_factor()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | ov519.c | 4069 const struct ov_i2c_regvals *vals; in mode_init_ov_sensor_regs() local 4089 vals = sd->frame_rate < 30 ? vga_15 : vga_30; in mode_init_ov_sensor_regs() 4091 vals = sd->frame_rate < 15 ? sxga_7_5 : sxga_15; in mode_init_ov_sensor_regs() 4092 write_i2c_regvals(sd, vals, ARRAY_SIZE(sxga_15)); in mode_init_ov_sensor_regs()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 1207 unsigned int data_reg, const u32 *vals, 1210 unsigned int data_reg, u32 *vals, unsigned int nregs,
|
D | t4_hw.c | 114 unsigned int data_reg, u32 *vals, in t4_read_indirect() argument 119 *vals++ = t4_read_reg(adap, data_reg); in t4_read_indirect() 137 unsigned int data_reg, const u32 *vals, in t4_write_indirect() argument 142 t4_write_reg(adap, data_reg, *vals++); in t4_write_indirect() 4612 static void t4_fw_tp_pio_rw(struct adapter *adap, u32 *vals, unsigned int nregs, in t4_fw_tp_pio_rw() argument 4629 c.u.addrval.val = rw ? 0 : cpu_to_be32(vals[i]); in t4_fw_tp_pio_rw() 4632 vals[i] = be32_to_cpu(c.u.addrval.val); in t4_fw_tp_pio_rw()
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | bttv-cards.c | 4147 static int vals[] = { 0x08, 0x09, 0x0a, 0x0b, 0x0d, 0x0d, 0x01, 0x02, in init_PXC200() local 4200 for (i = 0; i < ARRAY_SIZE(vals); i++) { in init_PXC200() 4201 tmp=bttv_I2CWrite(btv,0x1E,0,vals[i],1); in init_PXC200() 4204 vals[i],tmp,bttv_I2CRead(btv,0x1F,NULL)); in init_PXC200()
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2500usb.c | 612 static const u32 vals[] = { in rt2500usb_config_channel() local 619 rt2500usb_rf_write(rt2x00dev, 2, vals[rf->channel - 1]); in rt2500usb_config_channel()
|
D | rt2500pci.c | 495 static const u32 vals[] = { in rt2500pci_config_channel() local 503 rt2500pci_rf_write(rt2x00dev, 2, vals[rf->channel - 1]); in rt2500pci_config_channel()
|
/linux-4.4.14/include/linux/mfd/ |
D | cros_ec_commands.h | 1082 } vals[23]; member
|
/linux-4.4.14/drivers/staging/speakup/ |
D | main.c | 283 static const short vals[] = { in bleep() local 289 freq = vals[val % 12]; in bleep()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 125 unsigned int data_reg, u32 *vals, in t3_read_indirect() argument 130 *vals++ = t3_read_reg(adap, data_reg); in t3_read_indirect()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 17150 static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals) in wlc_phy_clip_det_nphy() argument 17154 vals[0] = read_phy_reg(pi, 0x2c); in wlc_phy_clip_det_nphy() 17155 vals[1] = read_phy_reg(pi, 0x42); in wlc_phy_clip_det_nphy() 17157 write_phy_reg(pi, 0x2c, vals[0]); in wlc_phy_clip_det_nphy() 17158 write_phy_reg(pi, 0x42, vals[1]); in wlc_phy_clip_det_nphy()
|