Home
last modified time | relevance | path

Searched refs:init_data (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_sp_commands.c308 struct qed_sp_init_data init_data; in qed_sp_pf_start() local
316 memset(&init_data, 0, sizeof(init_data)); in qed_sp_pf_start()
317 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_pf_start()
318 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_start()
319 init_data.comp_mode = QED_SPQ_MODE_EBLOCK; in qed_sp_pf_start()
323 PROTOCOLID_COMMON, &init_data); in qed_sp_pf_start()
425 struct qed_sp_init_data init_data; in qed_sp_pf_update() local
429 memset(&init_data, 0, sizeof(init_data)); in qed_sp_pf_update()
430 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_pf_update()
431 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_update()
[all …]
Dqed_roce.c219 struct qed_sp_init_data init_data; in qed_roce_sp_create_responder() local
245 memset(&init_data, 0, sizeof(init_data)); in qed_roce_sp_create_responder()
246 init_data.cid = qp->icid; in qed_roce_sp_create_responder()
247 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_sp_create_responder()
248 init_data.comp_mode = QED_SPQ_MODE_EBLOCK; in qed_roce_sp_create_responder()
251 PROTOCOLID_ROCE, &init_data); in qed_roce_sp_create_responder()
357 struct qed_sp_init_data init_data; in qed_roce_sp_create_requester() local
383 memset(&init_data, 0, sizeof(init_data)); in qed_roce_sp_create_requester()
384 init_data.cid = qp->icid + 1; in qed_roce_sp_create_requester()
385 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_sp_create_requester()
[all …]
Dqed_iscsi.c146 struct qed_sp_init_data init_data; in qed_sp_iscsi_func_start() local
153 memset(&init_data, 0, sizeof(init_data)); in qed_sp_iscsi_func_start()
154 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_iscsi_func_start()
155 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_iscsi_func_start()
156 init_data.comp_mode = comp_mode; in qed_sp_iscsi_func_start()
157 init_data.p_comp_data = p_comp_addr; in qed_sp_iscsi_func_start()
161 PROTOCOLID_ISCSI, &init_data); in qed_sp_iscsi_func_start()
268 struct qed_sp_init_data init_data; in qed_sp_iscsi_conn_offload() local
281 memset(&init_data, 0, sizeof(init_data)); in qed_sp_iscsi_conn_offload()
282 init_data.cid = p_conn->icid; in qed_sp_iscsi_conn_offload()
[all …]
Dqed_l2.c347 struct qed_sp_init_data init_data; in qed_sp_eth_vport_start() local
356 memset(&init_data, 0, sizeof(init_data)); in qed_sp_eth_vport_start()
357 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_eth_vport_start()
358 init_data.opaque_fid = p_params->opaque_fid; in qed_sp_eth_vport_start()
359 init_data.comp_mode = QED_SPQ_MODE_EBLOCK; in qed_sp_eth_vport_start()
363 PROTOCOLID_ETH, &init_data); in qed_sp_eth_vport_start()
664 struct qed_sp_init_data init_data; in qed_sp_vport_update() local
679 memset(&init_data, 0, sizeof(init_data)); in qed_sp_vport_update()
680 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_vport_update()
681 init_data.opaque_fid = p_params->opaque_fid; in qed_sp_vport_update()
[all …]
Dqed_fcoe.c94 struct qed_sp_init_data init_data; in qed_sp_fcoe_func_start() local
102 memset(&init_data, 0, sizeof(init_data)); in qed_sp_fcoe_func_start()
103 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_fcoe_func_start()
104 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_fcoe_func_start()
105 init_data.comp_mode = comp_mode; in qed_sp_fcoe_func_start()
106 init_data.p_comp_data = p_comp_addr; in qed_sp_fcoe_func_start()
110 PROTOCOLID_FCOE, &init_data); in qed_sp_fcoe_func_start()
231 struct qed_sp_init_data init_data; in qed_sp_fcoe_conn_offload() local
237 memset(&init_data, 0, sizeof(init_data)); in qed_sp_fcoe_conn_offload()
238 init_data.cid = p_conn->icid; in qed_sp_fcoe_conn_offload()
[all …]
/Linux-v5.10/drivers/media/usb/cx231xx/
Dcx231xx-input.c63 memset(&dev->init_data, 0, sizeof(dev->init_data)); in cx231xx_ir_init()
64 dev->init_data.rc_dev = rc_allocate_device(RC_DRIVER_SCANCODE); in cx231xx_ir_init()
65 if (!dev->init_data.rc_dev) in cx231xx_ir_init()
68 dev->init_data.name = cx231xx_boards[dev->model].name; in cx231xx_ir_init()
71 info.platform_data = &dev->init_data; in cx231xx_ir_init()
79 dev->init_data.get_key = get_key_isdbt; in cx231xx_ir_init()
80 dev->init_data.ir_codes = cx231xx_boards[dev->model].rc_map_name; in cx231xx_ir_init()
82 dev->init_data.rc_dev->scancode_mask = 0xff; in cx231xx_ir_init()
83 dev->init_data.rc_dev->driver_name = "cx231xx"; in cx231xx_ir_init()
84 dev->init_data.type = RC_PROTO_BIT_NEC; in cx231xx_ir_init()
/Linux-v5.10/drivers/regulator/
Darizona-ldo1.c37 struct regulator_init_data init_data; member
198 struct regulator_init_data *init_data; in arizona_ldo1_of_get_pdata() local
206 init_data = of_get_regulator_init_data(config->dev, init_node, in arizona_ldo1_of_get_pdata()
208 if (init_data) { in arizona_ldo1_of_get_pdata()
209 init_data->consumer_supplies = &ldo1->supply; in arizona_ldo1_of_get_pdata()
210 init_data->num_consumer_supplies = 1; in arizona_ldo1_of_get_pdata()
215 pdata->init_data = init_data; in arizona_ldo1_of_get_pdata()
239 ldo1->init_data.consumer_supplies = &ldo1->supply; in arizona_ldo1_common_init()
267 if (pdata->init_data) in arizona_ldo1_common_init()
268 config.init_data = pdata->init_data; in arizona_ldo1_common_init()
[all …]
Darizona-micsupp.c41 struct regulator_init_data init_data; member
234 struct regulator_init_data *init_data; in arizona_micsupp_of_get_pdata() local
241 init_data = of_get_regulator_init_data(config->dev, np, desc); in arizona_micsupp_of_get_pdata()
243 if (init_data) { in arizona_micsupp_of_get_pdata()
244 init_data->consumer_supplies = &micsupp->supply; in arizona_micsupp_of_get_pdata()
245 init_data->num_consumer_supplies = 1; in arizona_micsupp_of_get_pdata()
247 pdata->init_data = init_data; in arizona_micsupp_of_get_pdata()
264 micsupp->init_data.consumer_supplies = &micsupp->supply; in arizona_micsupp_common_init()
282 if (pdata->init_data) in arizona_micsupp_common_init()
283 config.init_data = pdata->init_data; in arizona_micsupp_common_init()
[all …]
Dvexpress-regulator.c43 struct regulator_init_data *init_data; in vexpress_regulator_probe() local
61 init_data = of_get_regulator_init_data(&pdev->dev, pdev->dev.of_node, in vexpress_regulator_probe()
63 if (!init_data) in vexpress_regulator_probe()
66 init_data->constraints.apply_uV = 0; in vexpress_regulator_probe()
67 if (init_data->constraints.min_uV && init_data->constraints.max_uV) in vexpress_regulator_probe()
74 config.init_data = init_data; in vexpress_regulator_probe()
Dfixed.c91 struct regulator_init_data *init_data; in of_get_fixed_voltage_config() local
98 config->init_data = of_get_regulator_init_data(dev, dev->of_node, desc); in of_get_fixed_voltage_config()
99 if (!config->init_data) in of_get_fixed_voltage_config()
102 init_data = config->init_data; in of_get_fixed_voltage_config()
103 init_data->constraints.apply_uV = 0; in of_get_fixed_voltage_config()
105 config->supply_name = init_data->constraints.name; in of_get_fixed_voltage_config()
106 if (init_data->constraints.min_uV == init_data->constraints.max_uV) { in of_get_fixed_voltage_config()
107 config->microvolts = init_data->constraints.min_uV; in of_get_fixed_voltage_config()
114 if (init_data->constraints.boot_on) in of_get_fixed_voltage_config()
234 cfg.init_data = config->init_data; in reg_fixed_voltage_probe()
Dwm8994-regulator.c28 struct regulator_init_data init_data; member
143 config.init_data = &ldo->init_data; in wm8994_ldo_probe()
158 if (!pdata || !pdata->ldo[id].init_data || wm8994->dev->of_node) { in wm8994_ldo_probe()
162 ldo->init_data = wm8994_ldo_default[id]; in wm8994_ldo_probe()
163 ldo->init_data.consumer_supplies = &ldo->supply; in wm8994_ldo_probe()
165 ldo->init_data.constraints.valid_ops_mask = 0; in wm8994_ldo_probe()
167 ldo->init_data = *pdata->ldo[id].init_data; in wm8994_ldo_probe()
Dfixed-helper.c10 struct regulator_init_data init_data; member
47 data->cfg.init_data = &data->init_data; in regulator_register_always_on()
49 data->init_data.constraints.always_on = 1; in regulator_register_always_on()
50 data->init_data.consumer_supplies = supplies; in regulator_register_always_on()
51 data->init_data.num_consumer_supplies = num_supplies; in regulator_register_always_on()
Dqcom_usb_vbus-regulator.c41 struct regulator_init_data *init_data; in qcom_usb_vbus_regulator_probe() local
57 init_data = of_get_regulator_init_data(dev, dev->of_node, in qcom_usb_vbus_regulator_probe()
59 if (!init_data) in qcom_usb_vbus_regulator_probe()
65 config.init_data = init_data; in qcom_usb_vbus_regulator_probe()
Dvqmmc-ipq4019-regulator.c48 struct regulator_init_data *init_data; in ipq4019_regulator_probe() local
55 init_data = of_get_regulator_init_data(dev, dev->of_node, in ipq4019_regulator_probe()
57 if (!init_data) in ipq4019_regulator_probe()
70 cfg.init_data = init_data; in ipq4019_regulator_probe()
Dof_regulator.c26 struct regulator_init_data **init_data, in of_get_regulation_constraints() argument
29 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints()
277 struct regulator_init_data *init_data; in of_get_regulator_init_data() local
282 init_data = devm_kzalloc(dev, sizeof(*init_data), GFP_KERNEL); in of_get_regulator_init_data()
283 if (!init_data) in of_get_regulator_init_data()
286 if (of_get_regulation_constraints(dev, node, &init_data, desc)) in of_get_regulator_init_data()
289 return init_data; in of_get_regulator_init_data()
351 match->init_data = NULL; in of_regulator_match()
368 match->init_data = in of_regulator_match()
371 if (!match->init_data) { in of_regulator_match()
[all …]
/Linux-v5.10/drivers/media/pci/saa7134/
Dsaa7134-input.c858 memset(&dev->init_data, 0, sizeof(dev->init_data)); in saa7134_probe_i2c_ir()
864 dev->init_data.name = "Pinnacle PCTV"; in saa7134_probe_i2c_ir()
866 dev->init_data.get_key = get_key_pinnacle_color; in saa7134_probe_i2c_ir()
867 dev->init_data.ir_codes = RC_MAP_PINNACLE_COLOR; in saa7134_probe_i2c_ir()
870 dev->init_data.get_key = get_key_pinnacle_grey; in saa7134_probe_i2c_ir()
871 dev->init_data.ir_codes = RC_MAP_PINNACLE_GREY; in saa7134_probe_i2c_ir()
876 dev->init_data.name = "Purple TV"; in saa7134_probe_i2c_ir()
877 dev->init_data.get_key = get_key_purpletv; in saa7134_probe_i2c_ir()
878 dev->init_data.ir_codes = RC_MAP_PURPLETV; in saa7134_probe_i2c_ir()
882 dev->init_data.name = "MSI TV@nywhere Plus"; in saa7134_probe_i2c_ir()
[all …]
/Linux-v5.10/drivers/leds/
Dleds-lm36274.c70 struct led_init_data *init_data) in lm36274_parse_dt() argument
82 init_data->fwnode = child; in lm36274_parse_dt()
83 init_data->devicename = chip->pdev->name; in lm36274_parse_dt()
85 init_data->default_label = ":"; in lm36274_parse_dt()
109 struct led_init_data init_data = {}; in lm36274_probe() local
122 ret = lm36274_parse_dt(chip, &init_data); in lm36274_probe()
143 &init_data); in lm36274_probe()
146 init_data.fwnode); in lm36274_probe()
148 fwnode_handle_put(init_data.fwnode); in lm36274_probe()
Dleds-tps6105x.c40 struct led_init_data init_data = { }; in tps6105x_led_probe() local
62 init_data.devicename = "tps6105x"; in tps6105x_led_probe()
63 init_data.default_label = ":torch"; in tps6105x_led_probe()
64 init_data.fwnode = priv->fwnode; in tps6105x_led_probe()
75 &init_data); in tps6105x_led_probe()
/Linux-v5.10/drivers/clk/bcm/
Dclk-kona-setup.c92 name = bcm_clk->init_data.name; in peri_clk_data_offsets_valid()
423 name = bcm_clk->init_data.name; in peri_clk_data_valid()
610 struct clk_init_data *init_data) in clk_sel_setup() argument
635 __func__, init_data->name, ret); in clk_sel_setup()
640 init_data->parent_names = parent_names; in clk_sel_setup()
641 init_data->num_parents = parent_count; in clk_sel_setup()
650 struct clk_init_data *init_data) in clk_sel_teardown() argument
656 init_data->num_parents = 0; in clk_sel_teardown()
657 kfree(init_data->parent_names); in clk_sel_teardown()
658 init_data->parent_names = NULL; in clk_sel_teardown()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/virtual/
Dvirtual_link_encoder.c115 struct link_encoder *enc, const struct encoder_init_data *init_data) in virtual_link_encoder_construct() argument
118 enc->ctx = init_data->ctx; in virtual_link_encoder_construct()
119 enc->id = init_data->encoder; in virtual_link_encoder_construct()
121 enc->hpd_source = init_data->hpd_source; in virtual_link_encoder_construct()
122 enc->connector = init_data->connector; in virtual_link_encoder_construct()
124 enc->transmitter = init_data->transmitter; in virtual_link_encoder_construct()
/Linux-v5.10/drivers/clk/microchip/
Dclk-core.h20 struct clk_init_data init_data; member
28 struct clk_init_data init_data; member
37 struct clk_init_data init_data; member
44 struct clk_init_data init_data; member
50 struct clk_init_data init_data; member
/Linux-v5.10/drivers/power/supply/
Dbq24257_charger.c96 struct bq24257_init_data init_data; member
367 val->intval = bq24257_ichg_map[bq->init_data.ichg]; in bq24257_power_supply_get_property()
375 val->intval = bq24257_vbat_map[bq->init_data.vbat]; in bq24257_power_supply_get_property()
383 val->intval = bq24257_iterm_map[bq->init_data.iterm]; in bq24257_power_supply_get_property()
627 ret = bq24257_field_write(bq, F_IILIMIT, bq->init_data.iilimit); in bq24257_handle_state_change()
685 } init_data[] = { in bq24257_hw_init() local
686 {F_ICHG, bq->init_data.ichg}, in bq24257_hw_init()
687 {F_VBAT, bq->init_data.vbat}, in bq24257_hw_init()
688 {F_ITERM, bq->init_data.iterm}, in bq24257_hw_init()
689 {F_VOVP, bq->init_data.vovp}, in bq24257_hw_init()
[all …]
/Linux-v5.10/drivers/input/touchscreen/
Dtps6507x-ts.c204 const struct touchscreen_init_data *init_data; in tps6507x_ts_probe() local
224 init_data = tps_board->tps6507x_ts_init_data; in tps6507x_ts_probe()
234 tsc->min_pressure = init_data ? in tps6507x_ts_probe()
235 init_data->min_pressure : TPS_DEFAULT_MIN_PRESSURE; in tps6507x_ts_probe()
258 if (init_data) { in tps6507x_ts_probe()
259 input_dev->id.vendor = init_data->vendor; in tps6507x_ts_probe()
260 input_dev->id.product = init_data->product; in tps6507x_ts_probe()
261 input_dev->id.version = init_data->version; in tps6507x_ts_probe()
273 init_data ? init_data->poll_period : in tps6507x_ts_probe()
/Linux-v5.10/drivers/media/pci/ivtv/
Divtv-i2c.c167 struct IR_i2c_init_data *init_data = &itv->ir_i2c_init_data; in ivtv_i2c_new_ir() local
177 init_data->ir_codes = RC_MAP_AVERMEDIA_CARDBUS; in ivtv_i2c_new_ir()
178 init_data->internal_get_key_func = in ivtv_i2c_new_ir()
180 init_data->type = RC_PROTO_BIT_OTHER; in ivtv_i2c_new_ir()
181 init_data->name = "AVerMedia AVerTV card"; in ivtv_i2c_new_ir()
185 init_data->ir_codes = RC_MAP_HAUPPAUGE; in ivtv_i2c_new_ir()
186 init_data->internal_get_key_func = IR_KBD_GET_KEY_HAUP; in ivtv_i2c_new_ir()
187 init_data->type = RC_PROTO_BIT_RC5; in ivtv_i2c_new_ir()
188 init_data->name = itv->card_name; in ivtv_i2c_new_ir()
192 init_data->ir_codes = RC_MAP_HAUPPAUGE; in ivtv_i2c_new_ir()
[all …]
/Linux-v5.10/drivers/s390/cio/
Dqdio_setup.c443 struct qdio_initialize *init_data) in setup_qib() argument
448 irq_ptr->qib.rflags |= init_data->qib_rflags; in setup_qib()
450 irq_ptr->qib.qfmt = init_data->q_format; in setup_qib()
451 if (init_data->no_input_qs) in setup_qib()
454 if (init_data->no_output_qs) in setup_qib()
461 int qdio_setup_irq(struct qdio_irq *irq_ptr, struct qdio_initialize *init_data) in qdio_setup_irq() argument
479 irq_ptr->int_parm = init_data->int_parm; in qdio_setup_irq()
480 irq_ptr->nr_input_qs = init_data->no_input_qs; in qdio_setup_irq()
481 irq_ptr->nr_output_qs = init_data->no_output_qs; in qdio_setup_irq()
482 irq_ptr->scan_threshold = init_data->scan_threshold; in qdio_setup_irq()
[all …]

12345678910>>...13