/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sp_commands.c | 310 struct qed_sp_init_data init_data; in qed_sp_pf_start() local 318 memset(&init_data, 0, sizeof(init_data)); in qed_sp_pf_start() 319 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_pf_start() 320 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_start() 321 init_data.comp_mode = QED_SPQ_MODE_EBLOCK; in qed_sp_pf_start() 325 PROTOCOLID_COMMON, &init_data); in qed_sp_pf_start() 432 struct qed_sp_init_data init_data; in qed_sp_pf_update() local 436 memset(&init_data, 0, sizeof(init_data)); in qed_sp_pf_update() 437 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_pf_update() 438 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_update() [all …]
|
H A D | qed_nvmetcp.c | 58 struct qed_sp_init_data init_data = {}; in qed_sp_nvmetcp_func_start() local 65 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_nvmetcp_func_start() 66 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_nvmetcp_func_start() 67 init_data.comp_mode = comp_mode; in qed_sp_nvmetcp_func_start() 68 init_data.p_comp_data = p_comp_addr; in qed_sp_nvmetcp_func_start() 71 PROTOCOLID_TCP_ULP, &init_data); in qed_sp_nvmetcp_func_start() 124 struct qed_sp_init_data init_data; in qed_sp_nvmetcp_func_stop() local 128 memset(&init_data, 0, sizeof(init_data)); in qed_sp_nvmetcp_func_stop() 129 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_nvmetcp_func_stop() 130 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_nvmetcp_func_stop() [all …]
|
H A D | qed_roce.c | 227 struct qed_sp_init_data init_data; in qed_roce_sp_create_responder() local 253 memset(&init_data, 0, sizeof(init_data)); in qed_roce_sp_create_responder() 254 init_data.cid = qp->icid; in qed_roce_sp_create_responder() 255 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_sp_create_responder() 256 init_data.comp_mode = QED_SPQ_MODE_EBLOCK; in qed_roce_sp_create_responder() 259 PROTOCOLID_ROCE, &init_data); in qed_roce_sp_create_responder() 365 struct qed_sp_init_data init_data; in qed_roce_sp_create_requester() local 391 memset(&init_data, 0, sizeof(init_data)); in qed_roce_sp_create_requester() 392 init_data.cid = qp->icid + 1; in qed_roce_sp_create_requester() 393 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_sp_create_requester() [all …]
|
H A D | qed_iscsi.c | 147 struct qed_sp_init_data init_data; in qed_sp_iscsi_func_start() local 154 memset(&init_data, 0, sizeof(init_data)); in qed_sp_iscsi_func_start() 155 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_iscsi_func_start() 156 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_iscsi_func_start() 157 init_data.comp_mode = comp_mode; in qed_sp_iscsi_func_start() 158 init_data.p_comp_data = p_comp_addr; in qed_sp_iscsi_func_start() 162 PROTOCOLID_TCP_ULP, &init_data); in qed_sp_iscsi_func_start() 269 struct qed_sp_init_data init_data; in qed_sp_iscsi_conn_offload() local 282 memset(&init_data, 0, sizeof(init_data)); in qed_sp_iscsi_conn_offload() 283 init_data.cid = p_conn->icid; in qed_sp_iscsi_conn_offload() [all …]
|
H A D | qed_l2.c | 347 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() 665 struct qed_sp_init_data init_data; in qed_sp_vport_update() local 680 memset(&init_data, 0, sizeof(init_data)); in qed_sp_vport_update() 681 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_vport_update() 682 init_data.opaque_fid = p_params->opaque_fid; in qed_sp_vport_update() [all …]
|
H A D | qed_fcoe.c | 95 struct qed_sp_init_data init_data; in qed_sp_fcoe_func_start() local 103 memset(&init_data, 0, sizeof(init_data)); in qed_sp_fcoe_func_start() 104 init_data.cid = qed_spq_get_cid(p_hwfn); in qed_sp_fcoe_func_start() 105 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_fcoe_func_start() 106 init_data.comp_mode = comp_mode; in qed_sp_fcoe_func_start() 107 init_data.p_comp_data = p_comp_addr; in qed_sp_fcoe_func_start() 111 PROTOCOLID_FCOE, &init_data); in qed_sp_fcoe_func_start() 232 struct qed_sp_init_data init_data; in qed_sp_fcoe_conn_offload() local 238 memset(&init_data, 0, sizeof(init_data)); in qed_sp_fcoe_conn_offload() 239 init_data.cid = p_conn->icid; in qed_sp_fcoe_conn_offload() [all …]
|
/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-input.c | 63 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/drivers/regulator/ |
H A D | arizona-ldo1.c | 37 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 …]
|
H A D | arizona-micsupp.c | 41 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() 281 if (pdata->init_data) in arizona_micsupp_common_init() 282 config.init_data = pdata->init_data; in arizona_micsupp_common_init() [all …]
|
H A D | vexpress-regulator.c | 44 struct regulator_init_data *init_data; in vexpress_regulator_probe() local 62 init_data = of_get_regulator_init_data(&pdev->dev, pdev->dev.of_node, in vexpress_regulator_probe() 64 if (!init_data) in vexpress_regulator_probe() 67 init_data->constraints.apply_uV = 0; in vexpress_regulator_probe() 68 if (init_data->constraints.min_uV && init_data->constraints.max_uV) in vexpress_regulator_probe() 75 config.init_data = init_data; in vexpress_regulator_probe()
|
H A D | fixed-helper.c | 10 struct regulator_init_data init_data; member 49 data->cfg.init_data = &data->init_data; in regulator_register_always_on() 51 data->init_data.constraints.always_on = 1; in regulator_register_always_on() 52 data->init_data.consumer_supplies = supplies; in regulator_register_always_on() 53 data->init_data.num_consumer_supplies = num_supplies; in regulator_register_always_on()
|
H A D | fixed.c | 172 struct regulator_init_data *init_data; in of_get_fixed_voltage_config() local 179 config->init_data = of_get_regulator_init_data(dev, dev->of_node, desc); in of_get_fixed_voltage_config() 180 if (!config->init_data) in of_get_fixed_voltage_config() 183 init_data = config->init_data; in of_get_fixed_voltage_config() 184 init_data->constraints.apply_uV = 0; in of_get_fixed_voltage_config() 186 config->supply_name = init_data->constraints.name; in of_get_fixed_voltage_config() 187 if (init_data->constraints.min_uV == init_data->constraints.max_uV) { in of_get_fixed_voltage_config() 188 config->microvolts = init_data->constraints.min_uV; in of_get_fixed_voltage_config() 195 if (init_data->constraints.boot_on) in of_get_fixed_voltage_config() 327 cfg.init_data = config->init_data; in reg_fixed_voltage_probe()
|
H A D | wm8994-regulator.c | 28 struct regulator_init_data init_data; member 172 config.init_data = &ldo->init_data; in wm8994_ldo_probe() 187 if (!pdata || !pdata->ldo[id].init_data || wm8994->dev->of_node) { in wm8994_ldo_probe() 191 ldo->init_data = wm8994_ldo_default[id]; in wm8994_ldo_probe() 192 ldo->init_data.consumer_supplies = &ldo->supply; in wm8994_ldo_probe() 194 ldo->init_data.constraints.valid_ops_mask = 0; in wm8994_ldo_probe() 196 ldo->init_data = *pdata->ldo[id].init_data; in wm8994_ldo_probe()
|
H A D | vqmmc-ipq4019-regulator.c | 48 struct regulator_init_data *init_data; in ipq4019_regulator_probe() local 54 init_data = of_get_regulator_init_data(dev, dev->of_node, in ipq4019_regulator_probe() 56 if (!init_data) in ipq4019_regulator_probe() 68 cfg.init_data = init_data; in ipq4019_regulator_probe()
|
/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-input.c | 858 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/drivers/leds/ |
H A D | leds-lm36274.c | 71 struct led_init_data *init_data) in lm36274_parse_dt() argument 83 init_data->fwnode = child; in lm36274_parse_dt() 84 init_data->devicename = chip->pdev->name; in lm36274_parse_dt() 86 init_data->default_label = ":"; in lm36274_parse_dt() 110 struct led_init_data init_data = {}; in lm36274_probe() local 123 ret = lm36274_parse_dt(chip, &init_data); in lm36274_probe() 131 fwnode_handle_put(init_data.fwnode); in lm36274_probe() 145 &init_data); in lm36274_probe() 148 init_data.fwnode); in lm36274_probe() 150 fwnode_handle_put(init_data.fwnode); in lm36274_probe()
|
H A D | led-class.c | 465 struct led_init_data *init_data) in led_classdev_register_ext() argument 472 if (init_data) { in led_classdev_register_ext() 473 if (init_data->devname_mandatory && !init_data->devicename) { in led_classdev_register_ext() 477 ret = led_compose_name(parent, init_data, composed_name); in led_classdev_register_ext() 481 if (init_data->fwnode) { in led_classdev_register_ext() 482 fwnode_property_read_string(init_data->fwnode, in led_classdev_register_ext() 486 if (fwnode_property_present(init_data->fwnode, in led_classdev_register_ext() 490 fwnode_property_read_u32(init_data->fwnode, in led_classdev_register_ext() 494 if (fwnode_property_present(init_data->fwnode, "color")) in led_classdev_register_ext() 495 fwnode_property_read_u32(init_data->fwnode, "color", in led_classdev_register_ext() [all …]
|
H A D | leds-tps6105x.c | 40 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/drivers/clk/bcm/ |
H A D | clk-kona-setup.c | 84 name = bcm_clk->init_data.name; in peri_clk_data_offsets_valid() 415 name = bcm_clk->init_data.name; in peri_clk_data_valid() 602 struct clk_init_data *init_data) in clk_sel_setup() argument 627 __func__, init_data->name, ret); in clk_sel_setup() 632 init_data->parent_names = parent_names; in clk_sel_setup() 633 init_data->num_parents = parent_count; in clk_sel_setup() 642 struct clk_init_data *init_data) in clk_sel_teardown() argument 648 init_data->num_parents = 0; in clk_sel_teardown() 649 kfree(init_data->parent_names); in clk_sel_teardown() 650 init_data->parent_names = NULL; in clk_sel_teardown() [all …]
|
/linux/drivers/s390/cio/ |
H A D | qdio_setup.c | 329 struct qdio_initialize *init_data) in setup_qib() argument 333 irq_ptr->qib.qfmt = init_data->q_format; in setup_qib() 334 irq_ptr->qib.pfmt = init_data->qib_param_field_format; in setup_qib() 336 irq_ptr->qib.rflags = init_data->qib_rflags; in setup_qib() 340 if (init_data->no_input_qs) in setup_qib() 343 if (init_data->no_output_qs) in setup_qib() 349 if (init_data->qib_param_field) in setup_qib() 350 memcpy(irq_ptr->qib.parm, init_data->qib_param_field, in setup_qib() 354 void qdio_setup_irq(struct qdio_irq *irq_ptr, struct qdio_initialize *init_data) in qdio_setup_irq() argument 365 irq_ptr->error_handler = init_data->input_handler; in qdio_setup_irq() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/virtual/ |
H A D | virtual_link_encoder.c | 114 struct link_encoder *enc, const struct encoder_init_data *init_data) in virtual_link_encoder_construct() argument 117 enc->ctx = init_data->ctx; in virtual_link_encoder_construct() 118 enc->id = init_data->encoder; in virtual_link_encoder_construct() 120 enc->hpd_source = init_data->hpd_source; in virtual_link_encoder_construct() 121 enc->connector = init_data->connector; in virtual_link_encoder_construct() 123 enc->transmitter = init_data->transmitter; in virtual_link_encoder_construct()
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-i2c.c | 167 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/drivers/input/touchscreen/ |
H A D | tps6507x-ts.c | 202 const struct touchscreen_init_data *init_data; in tps6507x_ts_probe() local 222 init_data = tps_board->tps6507x_ts_init_data; in tps6507x_ts_probe() 232 tsc->min_pressure = init_data ? in tps6507x_ts_probe() 233 init_data->min_pressure : TPS_DEFAULT_MIN_PRESSURE; in tps6507x_ts_probe() 256 if (init_data) { in tps6507x_ts_probe() 257 input_dev->id.vendor = init_data->vendor; in tps6507x_ts_probe() 258 input_dev->id.product = init_data->product; in tps6507x_ts_probe() 259 input_dev->id.version = init_data->version; in tps6507x_ts_probe() 271 init_data ? init_data->poll_period : in tps6507x_ts_probe()
|
/linux/drivers/clk/microchip/ |
H A D | clk-core.h | 20 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/drivers/power/supply/ |
H A D | bq24257_charger.c | 91 struct bq24257_init_data init_data; member 362 val->intval = bq24257_ichg_map[bq->init_data.ichg]; in bq24257_power_supply_get_property() 370 val->intval = bq24257_vbat_map[bq->init_data.vbat]; in bq24257_power_supply_get_property() 378 val->intval = bq24257_iterm_map[bq->init_data.iterm]; in bq24257_power_supply_get_property() 622 ret = bq24257_field_write(bq, F_IILIMIT, bq->init_data.iilimit); in bq24257_handle_state_change() 680 } init_data[] = { in bq24257_hw_init() local 681 {F_ICHG, bq->init_data.ichg}, in bq24257_hw_init() 682 {F_VBAT, bq->init_data.vbat}, in bq24257_hw_init() 683 {F_ITERM, bq->init_data.iterm}, in bq24257_hw_init() 684 {F_VOVP, bq->init_data.vovp}, in bq24257_hw_init() [all …]
|