Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 113) sorted by relevance

12345

/drivers/memory/tegra/
Dtegra114.c33 .def = 0x4e,
47 .def = 0x4e,
61 .def = 0x4e,
75 .def = 0x4e,
89 .def = 0x4e,
103 .def = 0x4e,
117 .def = 0x33,
131 .def = 0x09,
145 .def = 0x09,
159 .def = 0x04,
[all …]
Dtegra30.c33 .def = 0x4e,
47 .def = 0x4e,
61 .def = 0x4e,
75 .def = 0x4e,
89 .def = 0x4e,
103 .def = 0x4e,
117 .def = 0x4e,
131 .def = 0x4e,
145 .def = 0x17,
159 .def = 0x09,
[all …]
Dtegra210.c35 .def = 0xc2,
49 .def = 0xc6,
63 .def = 0x50,
77 .def = 0x50,
91 .def = 0x50,
105 .def = 0x50,
119 .def = 0x13,
133 .def = 0x04,
147 .def = 0x50,
161 .def = 0x50,
[all …]
Dtegra124.c75 .def = 0xc2,
89 .def = 0xc6,
103 .def = 0x50,
117 .def = 0x50,
131 .def = 0x50,
145 .def = 0x50,
159 .def = 0x13,
173 .def = 0x04,
187 .def = 0x50,
201 .def = 0x50,
[all …]
/drivers/media/usb/pwc/
Dpwc-v4l.c166 int r, def; in pwc_init_controls() local
174 r = pwc_get_u8_ctrl(pdev, GET_LUM_CTL, BRIGHTNESS_FORMATTER, &def); in pwc_init_controls()
175 if (r || def > 127) in pwc_init_controls()
176 def = 63; in pwc_init_controls()
178 V4L2_CID_BRIGHTNESS, 0, 127, 1, def); in pwc_init_controls()
180 r = pwc_get_u8_ctrl(pdev, GET_LUM_CTL, CONTRAST_FORMATTER, &def); in pwc_init_controls()
181 if (r || def > 63) in pwc_init_controls()
182 def = 31; in pwc_init_controls()
184 V4L2_CID_CONTRAST, 0, 63, 1, def); in pwc_init_controls()
192 &def); in pwc_init_controls()
[all …]
/drivers/net/ethernet/intel/e1000e/
Dparam.c155 int def; member
178 *value = opt->def; in e1000_validate_option()
223 *value = opt->def; in e1000_validate_option()
255 .def = DEFAULT_TIDV, in e1000e_check_options()
265 adapter->tx_int_delay = opt.def; in e1000e_check_options()
275 .def = DEFAULT_TADV, in e1000e_check_options()
285 adapter->tx_abs_int_delay = opt.def; in e1000e_check_options()
295 .def = DEFAULT_RDTR, in e1000e_check_options()
305 adapter->rx_int_delay = opt.def; in e1000e_check_options()
315 .def = DEFAULT_RADV, in e1000e_check_options()
[all …]
/drivers/net/ethernet/intel/ixgb/
Dixgb_param.c186 int def; member
206 *value = opt->def; in ixgb_validate_option()
246 *value = opt->def; in ixgb_validate_option()
274 .def = DEFAULT_TXD, in ixgb_check_options()
284 tx_ring->count = opt.def; in ixgb_check_options()
293 .def = DEFAULT_RXD, in ixgb_check_options()
303 rx_ring->count = opt.def; in ixgb_check_options()
312 .def = OPTION_ENABLED in ixgb_check_options()
320 adapter->rx_csum = opt.def; in ixgb_check_options()
337 .def = ixgb_fc_tx_pause, in ixgb_check_options()
[all …]
/drivers/net/ethernet/intel/e1000/
De1000_param.c195 int def; member
213 *value = opt->def; in e1000_validate_option()
254 *value = opt->def; in e1000_validate_option()
290 .def = E1000_DEFAULT_TXD, in e1000_check_options()
303 tx_ring->count = opt.def; in e1000_check_options()
318 .def = E1000_DEFAULT_RXD, in e1000_check_options()
332 rx_ring->count = opt.def; in e1000_check_options()
342 .def = OPTION_ENABLED in e1000_check_options()
350 adapter->rx_csum = opt.def; in e1000_check_options()
367 .def = E1000_FC_DEFAULT, in e1000_check_options()
[all …]
/drivers/net/ethernet/atheros/atl1e/
Datl1e_param.c106 int def; member
123 *value = opt->def; in atl1e_validate_option()
168 *value = opt->def; in atl1e_validate_option()
198 .def = ATL1E_DEFAULT_TX_DESC_CNT, in atl1e_check_options()
208 adapter->tx_ring.count = (u16)opt.def; in atl1e_check_options()
217 .def = ATL1E_DEFAULT_RX_MEM_SIZE, in atl1e_check_options()
227 adapter->rx_ring.page_size = (u32)opt.def * 1024; in atl1e_check_options()
237 .def = INT_MOD_DEFAULT_CNT, in atl1e_check_options()
247 adapter->hw.imt = (u16)(opt.def); in atl1e_check_options()
256 .def = MEDIA_TYPE_AUTO_SENSOR, in atl1e_check_options()
[all …]
/drivers/iio/magnetometer/
Dak8975.c372 const struct ak_def *def; member
473 regval = (data->cntl_cache & ~data->def->ctrl_masks[CNTL_MODE]) | in ak8975_set_mode()
474 data->def->ctrl_modes[mode]; in ak8975_set_mode()
476 data->def->ctrl_regs[CNTL], regval); in ak8975_set_mode()
551 client, data->def->ctrl_regs[ASA_BASE], in ak8975_setup()
574 data->raw_to_gauss[0] = data->def->raw_to_gauss(data->asa[0]); in ak8975_setup()
575 data->raw_to_gauss[1] = data->def->raw_to_gauss(data->asa[1]); in ak8975_setup()
576 data->raw_to_gauss[2] = data->def->raw_to_gauss(data->asa[2]); in ak8975_setup()
599 ret = i2c_smbus_read_byte_data(client, data->def->ctrl_regs[ST1]); in wait_conversion_complete_gpio()
617 data->def->ctrl_regs[ST1]); in wait_conversion_complete_polled()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-ctrl.c34 if (val >= cptr->info->def.type_enum.count) return -ERANGE; in pvr2_ctrl_range_check()
37 lim = cptr->info->def.type_int.min_value; in pvr2_ctrl_range_check()
42 lim = cptr->info->def.type_int.max_value; in pvr2_ctrl_range_check()
67 mask &= cptr->info->def.type_bitmask.valid_bits; in pvr2_ctrl_set_mask_value()
113 ret = cptr->info->def.type_int.max_value; in pvr2_ctrl_get_max()
129 ret = cptr->info->def.type_int.min_value; in pvr2_ctrl_get_min()
159 ret = cptr->info->def.type_enum.count; in pvr2_ctrl_get_cnt()
173 ret = cptr->info->def.type_bitmask.valid_bits; in pvr2_ctrl_get_mask()
207 names = cptr->info->def.type_enum.value_names; in pvr2_ctrl_get_valname()
222 names = cptr->info->def.type_bitmask.bit_names; in pvr2_ctrl_get_valname()
[all …]
Dpvrusb2-cx2584x-v4l.c47 const struct routing_scheme_item *def; member
71 .def = routing_scheme0,
98 .def = routing_schemegv,
115 .def = routing_schemeav400,
146 vid_input = sp->def[hdw->input_val].vid; in pvr2_cx25840_subdev_update()
147 aud_input = sp->def[hdw->input_val].aud; in pvr2_cx25840_subdev_update()
Dpvrusb2-video-v4l.c42 const int *def; member
57 .def = routing_scheme0,
69 .def = routing_scheme1,
100 input = sp->def[hdw->input_val]; in pvr2_saa7115_subdev_update()
Dpvrusb2-cs53l32a.c39 const int *def; member
52 .def = routing_scheme1,
81 input = sp->def[hdw->input_val]; in pvr2_cs53l32a_subdev_update()
Dpvrusb2-audio.c31 const int *def; member
52 .def = routing_scheme0,
74 input = sp->def[hdw->input_val]; in pvr2_msp3400_subdev_update()
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c149 int def; member
231 *value = opt->def; in pch_gbe_validate_option()
274 *value = opt->def; in pch_gbe_validate_option()
292 .def = 0, in pch_gbe_check_copper_options()
304 .def = 0, in pch_gbe_check_copper_options()
317 .def = PCH_AUTONEG_ADVERTISE_DEFAULT, in pch_gbe_check_copper_options()
324 hw->phy.autoneg_advertised = opt.def; in pch_gbe_check_copper_options()
455 .def = PCH_GBE_DEFAULT_TXD, in pch_gbe_check_options()
471 .def = PCH_GBE_DEFAULT_RXD, in pch_gbe_check_options()
486 .def = PCH_GBE_DEFAULT_RX_CSUM in pch_gbe_check_options()
[all …]
/drivers/extcon/
Dextcon-adc-jack.c64 struct adc_jack_cond *def; in adc_jack_handler() local
76 def = &data->adc_conditions[i]; in adc_jack_handler()
77 if (def->min_adc <= adc_val && def->max_adc >= adc_val) { in adc_jack_handler()
78 extcon_set_state_sync(data->edev, def->id, true); in adc_jack_handler()
85 def = &data->adc_conditions[i]; in adc_jack_handler()
86 extcon_set_state_sync(data->edev, def->id, false); in adc_jack_handler()
/drivers/media/platform/xilinx/
Dxilinx-tpg.c520 .def = 0,
529 .def = 0,
537 .def = 0,
546 .def = 0,
555 .def = 0,
564 .def = 0,
573 .def = 4,
583 .def = 0x64,
593 .def = 0x64,
603 .def = 0x1e,
[all …]
/drivers/crypto/ccp/
Dccp-crypto-sha.c399 const struct ccp_sha_def *def, in ccp_register_hmac_alg() argument
416 strncpy(ccp_alg->child_alg, def->name, CRYPTO_MAX_ALG_NAME); in ccp_register_hmac_alg()
424 snprintf(base->cra_name, CRYPTO_MAX_ALG_NAME, "hmac(%s)", def->name); in ccp_register_hmac_alg()
426 def->drv_name); in ccp_register_hmac_alg()
444 const struct ccp_sha_def *def) in ccp_register_sha_alg() argument
458 ccp_alg->type = def->type; in ccp_register_sha_alg()
470 halg->digestsize = def->digest_size; in ccp_register_sha_alg()
474 snprintf(base->cra_name, CRYPTO_MAX_ALG_NAME, "%s", def->name); in ccp_register_sha_alg()
476 def->drv_name); in ccp_register_sha_alg()
480 base->cra_blocksize = def->block_size; in ccp_register_sha_alg()
[all …]
Dccp-crypto-aes.c328 const struct ccp_aes_def *def) in ccp_register_aes_alg() argument
340 ccp_alg->mode = def->mode; in ccp_register_aes_alg()
344 *alg = *def->alg_defaults; in ccp_register_aes_alg()
345 snprintf(alg->cra_name, CRYPTO_MAX_ALG_NAME, "%s", def->name); in ccp_register_aes_alg()
347 def->driver_name); in ccp_register_aes_alg()
348 alg->cra_blocksize = def->blocksize; in ccp_register_aes_alg()
349 alg->cra_ablkcipher.ivsize = def->ivsize; in ccp_register_aes_alg()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dcoex.c381 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ) { in iwl_get_coex_type()
540 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator()
667 if (WARN_ON(!chan->def.chan)) { in iwl_mvm_bt_coex_notif_handle()
672 if (chan->def.width < NL80211_CHAN_WIDTH_40) { in iwl_mvm_bt_coex_notif_handle()
675 if (chan->def.center_freq1 > in iwl_mvm_bt_coex_notif_handle()
676 chan->def.chan->center_freq) in iwl_mvm_bt_coex_notif_handle()
683 iwl_ci_mask[chan->def.chan->hw_value][ci_bw_idx]; in iwl_mvm_bt_coex_notif_handle()
690 if (WARN_ON(!data.secondary->def.chan)) { in iwl_mvm_bt_coex_notif_handle()
695 if (chan->def.width < NL80211_CHAN_WIDTH_40) { in iwl_mvm_bt_coex_notif_handle()
698 if (chan->def.center_freq1 > in iwl_mvm_bt_coex_notif_handle()
[all …]
/drivers/media/v4l2-core/
Dv4l2-ctrls.c937 s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags) in v4l2_ctrl_fill() argument
1013 *min = *max = *step = *def = 0; in v4l2_ctrl_fill()
1096 *min = *max = *step = *def = 0; in v4l2_ctrl_fill()
1123 *min = *def = 0; in v4l2_ctrl_fill()
1130 *min = *def = 0; in v4l2_ctrl_fill()
1680 s64 min, s64 max, u64 step, s64 def) in check_range() argument
1692 if (step == 0 || min > max || def < min || def > max) in check_range()
1696 if (step || min || !max || (def & ~max)) in check_range()
1701 if (min > max || def < min || def > max) in check_range()
1705 if (step && ((1 << def) & step)) in check_range()
[all …]
/drivers/crypto/qce/
Dablkcipher.c349 static int qce_ablkcipher_register_one(const struct qce_ablkcipher_def *def, in qce_ablkcipher_register_one() argument
362 snprintf(alg->cra_name, CRYPTO_MAX_ALG_NAME, "%s", def->name); in qce_ablkcipher_register_one()
364 def->drv_name); in qce_ablkcipher_register_one()
366 alg->cra_blocksize = def->blocksize; in qce_ablkcipher_register_one()
367 alg->cra_ablkcipher.ivsize = def->ivsize; in qce_ablkcipher_register_one()
368 alg->cra_ablkcipher.min_keysize = def->min_keysize; in qce_ablkcipher_register_one()
369 alg->cra_ablkcipher.max_keysize = def->max_keysize; in qce_ablkcipher_register_one()
387 tmpl->alg_flags = def->flags; in qce_ablkcipher_register_one()
/drivers/net/ethernet/ibm/emac/
Dphy.c511 struct mii_phy_def *def; in emac_mii_phy_probe() local
528 for (i = 0; (def = mii_phy_table[i]) != NULL; i++) in emac_mii_phy_probe()
529 if ((id & def->phy_id_mask) == def->phy_id) in emac_mii_phy_probe()
532 if (!def) in emac_mii_phy_probe()
535 phy->def = def; in emac_mii_phy_probe()
538 phy->features = def->features; in emac_mii_phy_probe()
/drivers/media/platform/vivid/
Dvivid-ctrls.c151 .def = 1,
179 .def = 0x18,
191 .def = 0x18,
203 .def = 0x18,
227 .def = 3,
247 .def = 0x80002000,
264 .def = 4,
503 .def = TPG_MOVE_NONE,
524 .def = TPG_MOVE_NONE,
569 .def = 100,
[all …]

12345