/drivers/iio/adc/ |
D | vf610_adc.c | 252 int cfg_data = 0; in vf610_adc_cfg_post_set() local 257 cfg_data |= VF610_ADC_ALTCLK_SEL; in vf610_adc_cfg_post_set() 260 cfg_data |= VF610_ADC_ADACK_SEL; in vf610_adc_cfg_post_set() 267 cfg_data |= VF610_ADC_ADLPC_EN; in vf610_adc_cfg_post_set() 270 cfg_data |= VF610_ADC_ADHSC_EN; in vf610_adc_cfg_post_set() 277 cfg_data |= VF610_ADC_REFSEL_VALT; in vf610_adc_cfg_post_set() 280 cfg_data |= VF610_ADC_REFSEL_VBG; in vf610_adc_cfg_post_set() 288 cfg_data |= VF610_ADC_OVWREN; in vf610_adc_cfg_post_set() 290 writel(cfg_data, info->regs + VF610_REG_ADC_CFG); in vf610_adc_cfg_post_set() 321 int cfg_data; in vf610_adc_cfg_set() local [all …]
|
/drivers/clk/samsung/ |
D | clk-cpu.c | 152 const struct exynos_cpuclk_cfg_data *cfg_data = cpuclk->cfg; in exynos_cpuclk_pre_rate_change() local 159 while ((cfg_data->prate * 1000) != ndata->new_rate) { in exynos_cpuclk_pre_rate_change() 160 if (cfg_data->prate == 0) in exynos_cpuclk_pre_rate_change() 162 cfg_data++; in exynos_cpuclk_pre_rate_change() 172 div0 = cfg_data->div0; in exynos_cpuclk_pre_rate_change() 174 div1 = cfg_data->div1; in exynos_cpuclk_pre_rate_change() 229 const struct exynos_cpuclk_cfg_data *cfg_data = cpuclk->cfg; in exynos_cpuclk_post_rate_change() local 236 while ((cfg_data->prate * 1000) != ndata->new_rate) { in exynos_cpuclk_post_rate_change() 237 if (cfg_data->prate == 0) in exynos_cpuclk_post_rate_change() 239 cfg_data++; in exynos_cpuclk_post_rate_change() [all …]
|
/drivers/crypto/qat/qat_common/ |
D | adf_ctl_drv.c | 88 struct adf_user_cfg_ctl_data *cfg_data; in adf_ctl_alloc_resources() local 90 cfg_data = kzalloc(sizeof(*cfg_data), GFP_KERNEL); in adf_ctl_alloc_resources() 91 if (!cfg_data) in adf_ctl_alloc_resources() 95 cfg_data->device_id = ADF_CFG_NO_DEVICE; in adf_ctl_alloc_resources() 97 if (copy_from_user(cfg_data, (void __user *)arg, sizeof(*cfg_data))) { in adf_ctl_alloc_resources() 99 kfree(cfg_data); in adf_ctl_alloc_resources() 103 *ctl_data = cfg_data; in adf_ctl_alloc_resources()
|
/drivers/scsi/ |
D | dc395x.c | 478 static struct ParameterData cfg_data[] = { variable 538 module_param_named(adapter_id, cfg_data[CFG_ADAPTER_ID].value, int, 0); 541 module_param_named(max_speed, cfg_data[CFG_MAX_SPEED].value, int, 0); 544 module_param_named(dev_mode, cfg_data[CFG_DEV_MODE].value, int, 0); 547 module_param_named(adapter_mode, cfg_data[CFG_ADAPTER_MODE].value, int, 0); 550 module_param_named(tags, cfg_data[CFG_TAGS].value, int, 0); 553 module_param_named(reset_delay, cfg_data[CFG_RESET_DELAY].value, int, 0); 570 cfg_data[i].value = cfg_data[i].safe; in set_safe_settings() 587 cfg_data[CFG_ADAPTER_ID].value, in fix_settings() 588 cfg_data[CFG_MAX_SPEED].value, in fix_settings() [all …]
|
/drivers/media/dvb-frontends/drx39xyj/ |
D | drx_driver.h | 1289 void *cfg_data; member 2239 data_type cfg_data; \ 2241 config.cfg_data = &cfg_data; \ 2242 cfg_data = value; \ 2250 data_type cfg_data; \ 2252 config.cfg_data = &cfg_data; \ 2255 value = cfg_data; \
|
D | drxj.c | 2727 ctrl_set_cfg_mpeg_output(struct drx_demod_instance *demod, struct drx_cfg_mpeg_output *cfg_data) in ctrl_set_cfg_mpeg_output() argument 2748 if ((demod == NULL) || (cfg_data == NULL)) in ctrl_set_cfg_mpeg_output() 2755 if (cfg_data->enable_mpeg_output == true) { in ctrl_set_cfg_mpeg_output() 2870 if (cfg_data->static_clk == true) { in ctrl_set_cfg_mpeg_output() 2909 if (cfg_data->insert_rs_byte == true) { in ctrl_set_cfg_mpeg_output() 2980 if (cfg_data->enable_parallel == true) { /* MPEG data output is parallel -> clear ipr_mode[0] */ in ctrl_set_cfg_mpeg_output() 2987 if (cfg_data->invert_data == true) in ctrl_set_cfg_mpeg_output() 2992 if (cfg_data->invert_err == true) in ctrl_set_cfg_mpeg_output() 2997 if (cfg_data->invert_str == true) in ctrl_set_cfg_mpeg_output() 3002 if (cfg_data->invert_val == true) in ctrl_set_cfg_mpeg_output() [all …]
|
/drivers/bluetooth/ |
D | btrtl.c | 71 u8 *cfg_data; member 540 memcpy(tbuff + ret, btrtl_dev->cfg_data, btrtl_dev->cfg_len); in btrtl_setup_rtl8723b() 558 kvfree(btrtl_dev->cfg_data); in btrtl_free() 674 &btrtl_dev->cfg_data); in btrtl_initialize() 849 config = (struct rtl_vendor_config *)btrtl_dev->cfg_data; in btrtl_get_uart_settings()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.c | 2832 union bnx2x_mcast_config_data *cfg_data, in bnx2x_mcast_set_one_rule_e2() argument 2851 bin = bnx2x_mcast_bin_from_mac(cfg_data->mac); in bnx2x_mcast_set_one_rule_e2() 2866 bin = cfg_data->bin; in bnx2x_mcast_set_one_rule_e2() 2870 bin = cfg_data->bin; in bnx2x_mcast_set_one_rule_e2() 2875 bin = cfg_data->bin; in bnx2x_mcast_set_one_rule_e2() 2908 union bnx2x_mcast_config_data cfg_data = {NULL}; in bnx2x_mcast_handle_restore_cmd_e2() local 2914 cfg_data.bin = (u8)cur_bin; in bnx2x_mcast_handle_restore_cmd_e2() 2915 o->set_one_rule(bp, o, cnt, &cfg_data, in bnx2x_mcast_handle_restore_cmd_e2() 2940 union bnx2x_mcast_config_data cfg_data = {NULL}; in bnx2x_mcast_hdl_pending_add_e2() local 2945 cfg_data.mac = &pmac_pos->mac[0]; in bnx2x_mcast_hdl_pending_add_e2() [all …]
|
D | bnx2x_sp.h | 617 union bnx2x_mcast_config_data *cfg_data,
|
/drivers/media/pci/pt1/ |
D | pt1.c | 195 const u8 (*cfg_data)[2]; in config_demod() local 224 cfg_data = va1j5jf8007s_20mhz_configs; in config_demod() 227 cfg_data = va1j5jf8007t_20mhz_configs; in config_demod() 232 cfg_data = va1j5jf8007s_25mhz_configs; in config_demod() 235 cfg_data = va1j5jf8007t_25mhz_configs; in config_demod() 241 ret = i2c_master_send(cl, cfg_data[i], 2); in config_demod()
|
/drivers/usb/gadget/udc/ |
D | pch_udc.c | 359 struct pch_udc_cfg_data cfg_data; member 1662 pch_udc_ep_enable(ep, &ep->dev->cfg_data, desc); in pch_udc_pcd_ep_enable() 2563 dev->cfg_data.cur_intf = (dev_stat & UDC_DEVSTS_INTF_MASK) >> in pch_udc_svc_intf_interrupt() 2565 dev->cfg_data.cur_alt = (dev_stat & UDC_DEVSTS_ALT_MASK) >> in pch_udc_svc_intf_interrupt() 2572 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_alt); in pch_udc_svc_intf_interrupt() 2573 dev->setup_data.wIndex = cpu_to_le16(dev->cfg_data.cur_intf); in pch_udc_svc_intf_interrupt() 2578 (dev->cfg_data.cur_intf << UDC_CSR_NE_INTF_SHIFT); in pch_udc_svc_intf_interrupt() 2580 (dev->cfg_data.cur_alt << UDC_CSR_NE_ALT_SHIFT); in pch_udc_svc_intf_interrupt() 2603 dev->cfg_data.cur_cfg = (dev_stat & UDC_DEVSTS_CFG_MASK) >> in pch_udc_svc_cfg_interrupt() 2608 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_cfg); in pch_udc_svc_cfg_interrupt() [all …]
|
/drivers/scsi/bfa/ |
D | bfad.c | 596 bfad->cfg_data.ioc_queue_depth = bfad->ioc_cfg.fwcfg.num_ioim_reqs; in bfad_hal_mem_alloc() 818 bfad->cfg_data.rport_del_timeout = rport_del_timeout; in bfad_drv_init() 819 bfad->cfg_data.lun_queue_depth = bfa_lun_queue_depth; in bfad_drv_init() 820 bfad->cfg_data.io_max_sge = bfa_io_max_sge; in bfad_drv_init() 821 bfad->cfg_data.binding_method = FCP_PWWN_BINDING; in bfad_drv_init()
|
D | bfad_drv.h | 205 struct bfad_cfg_param_s cfg_data; member
|
D | bfad_im.c | 564 im_port->shost->can_queue = bfad->cfg_data.ioc_queue_depth; in bfad_im_scsi_host_alloc() 740 sht->sg_tablesize = bfad->cfg_data.io_max_sge; in bfad_scsi_host_alloc()
|
/drivers/misc/cxl/ |
D | vphb.c | 247 phb->cfg_data = NULL; in cxl_pci_vphb_add()
|
/drivers/scsi/csiostor/ |
D | csio_hw.c | 1975 uint32_t *cfg_data; in csio_hw_flash_config() local 1993 cfg_data = kzalloc(cf->size+value_to_add, GFP_KERNEL); in csio_hw_flash_config() 1994 if (cfg_data == NULL) { in csio_hw_flash_config() 1999 memcpy((void *)cfg_data, (const void *)cf->data, cf->size); in csio_hw_flash_config() 2009 cf->size + value_to_add, cfg_data); in csio_hw_flash_config() 2019 last.word = cfg_data[size >> 2]; in csio_hw_flash_config() 2030 kfree(cfg_data); in csio_hw_flash_config()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 10163 int t4_load_cfg(struct adapter *adap, const u8 *cfg_data, unsigned int size) in t4_load_cfg() argument 10199 ret = t4_write_flash(adap, addr, n, cfg_data, true); in t4_load_cfg() 10204 cfg_data += SF_PAGE_SIZE; in t4_load_cfg() 10706 int t4_load_bootcfg(struct adapter *adap, const u8 *cfg_data, unsigned int size) in t4_load_bootcfg() argument 10727 header = (struct cxgb4_bootcfg_data *)cfg_data; in t4_load_bootcfg() 10750 ret = t4_write_flash(adap, addr, n, cfg_data, false); in t4_load_bootcfg() 10755 cfg_data += SF_PAGE_SIZE; in t4_load_bootcfg()
|
D | cxgb4.h | 1859 int t4_load_cfg(struct adapter *adapter, const u8 *cfg_data, unsigned int size); 2105 const u8 *cfg_data, unsigned int size);
|