Home
last modified time | relevance | path

Searched refs:aux_dev (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v6.6/drivers/gpu/drm/display/
Ddrm_dp_aux_dev.c62 struct drm_dp_aux_dev *aux_dev = NULL; in drm_dp_aux_dev_get_by_minor() local
65 aux_dev = idr_find(&aux_idr, index); in drm_dp_aux_dev_get_by_minor()
66 if (aux_dev && !kref_get_unless_zero(&aux_dev->refcount)) in drm_dp_aux_dev_get_by_minor()
67 aux_dev = NULL; in drm_dp_aux_dev_get_by_minor()
70 return aux_dev; in drm_dp_aux_dev_get_by_minor()
75 struct drm_dp_aux_dev *aux_dev; in alloc_drm_dp_aux_dev() local
78 aux_dev = kzalloc(sizeof(*aux_dev), GFP_KERNEL); in alloc_drm_dp_aux_dev()
79 if (!aux_dev) in alloc_drm_dp_aux_dev()
81 aux_dev->aux = aux; in alloc_drm_dp_aux_dev()
82 atomic_set(&aux_dev->usecount, 1); in alloc_drm_dp_aux_dev()
[all …]
/Linux-v6.6/drivers/misc/mchp_pci1xxxx/
Dmchp_pci1xxxx_gp.c26 struct auxiliary_device_wrapper, aux_dev.dev); in gp_auxiliary_device_release()
28 ida_free(&gp_client_ida, aux_device_wrapper->aux_dev.id); in gp_auxiliary_device_release()
54 aux_bus->aux_device_wrapper[0]->aux_dev.name = aux_dev_otp_e2p_name; in gp_aux_bus_probe()
55 aux_bus->aux_device_wrapper[0]->aux_dev.dev.parent = &pdev->dev; in gp_aux_bus_probe()
56 aux_bus->aux_device_wrapper[0]->aux_dev.dev.release = gp_auxiliary_device_release; in gp_aux_bus_probe()
57 aux_bus->aux_device_wrapper[0]->aux_dev.id = retval; in gp_aux_bus_probe()
62 retval = auxiliary_device_init(&aux_bus->aux_device_wrapper[0]->aux_dev); in gp_aux_bus_probe()
66 retval = auxiliary_device_add(&aux_bus->aux_device_wrapper[0]->aux_dev); in gp_aux_bus_probe()
79 aux_bus->aux_device_wrapper[1]->aux_dev.name = aux_dev_gpio_name; in gp_aux_bus_probe()
80 aux_bus->aux_device_wrapper[1]->aux_dev.dev.parent = &pdev->dev; in gp_aux_bus_probe()
[all …]
Dmchp_pci1xxxx_gpio.c38 struct auxiliary_device *aux_dev; member
338 gchip->label = dev_name(&priv->aux_dev->dev); in pci1xxxx_gpio_setup()
339 gchip->parent = &priv->aux_dev->dev; in pci1xxxx_gpio_setup()
352 retval = devm_request_threaded_irq(&priv->aux_dev->dev, irq, in pci1xxxx_gpio_setup()
370 static int pci1xxxx_gpio_probe(struct auxiliary_device *aux_dev, in pci1xxxx_gpio_probe() argument
380 container_of(aux_dev, struct auxiliary_device_wrapper, aux_dev); in pci1xxxx_gpio_probe()
387 priv = devm_kzalloc(&aux_dev->dev, sizeof(struct pci1xxxx_gpio), GFP_KERNEL); in pci1xxxx_gpio_probe()
392 priv->aux_dev = aux_dev; in pci1xxxx_gpio_probe()
394 if (!devm_request_mem_region(&aux_dev->dev, pdata->region_start, 0x800, aux_dev->name)) in pci1xxxx_gpio_probe()
397 priv->reg_base = devm_ioremap(&aux_dev->dev, pdata->region_start, 0x800); in pci1xxxx_gpio_probe()
[all …]
Dmchp_pci1xxxx_otpe2p.c324 static int pci1xxxx_otp_eeprom_probe(struct auxiliary_device *aux_dev, in pci1xxxx_otp_eeprom_probe() argument
333 aux_dev_wrapper = container_of(aux_dev, struct auxiliary_device_wrapper, in pci1xxxx_otp_eeprom_probe()
334 aux_dev); in pci1xxxx_otp_eeprom_probe()
339 priv = devm_kzalloc(&aux_dev->dev, sizeof(*priv), GFP_KERNEL); in pci1xxxx_otp_eeprom_probe()
343 priv->pdev = aux_dev; in pci1xxxx_otp_eeprom_probe()
345 if (!devm_request_mem_region(&aux_dev->dev, pdata->region_start + in pci1xxxx_otp_eeprom_probe()
348 aux_dev->name)) in pci1xxxx_otp_eeprom_probe()
351 priv->reg_base = devm_ioremap(&aux_dev->dev, pdata->region_start + in pci1xxxx_otp_eeprom_probe()
366 dev_set_drvdata(&aux_dev->dev, priv); in pci1xxxx_otp_eeprom_probe()
371 priv->nvmem_config_eeprom.dev = &aux_dev->dev; in pci1xxxx_otp_eeprom_probe()
[all …]
Dmchp_pci1xxxx_gp.h24 struct auxiliary_device aux_dev; member
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dintel_gsc.c134 struct auxiliary_device *aux_dev = to_auxiliary_dev(dev); in gsc_release_dev() local
135 struct mei_aux_device *adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in gsc_release_dev()
146 struct auxiliary_device *aux_dev = &intf->adev->aux_dev; in gsc_destroy_one() local
150 aux_dev->dev.bus); in gsc_destroy_one()
152 auxiliary_device_delete(aux_dev); in gsc_destroy_one()
153 auxiliary_device_uninit(aux_dev); in gsc_destroy_one()
169 struct auxiliary_device *aux_dev; in gsc_init_one() local
246 aux_dev = &adev->aux_dev; in gsc_init_one()
247 aux_dev->name = def->name; in gsc_init_one()
248 aux_dev->id = (pci_domain_nr(pdev->bus) << 16) | in gsc_init_one()
[all …]
/Linux-v6.6/drivers/vdpa/pds/
Daux_drv.c32 static int pds_vdpa_probe(struct auxiliary_device *aux_dev, in pds_vdpa_probe() argument
37 container_of(aux_dev, struct pds_auxiliary_dev, aux_dev); in pds_vdpa_probe()
38 struct device *dev = &aux_dev->dev; in pds_vdpa_probe()
48 auxiliary_set_drvdata(aux_dev, vdpa_aux); in pds_vdpa_probe()
85 auxiliary_set_drvdata(aux_dev, NULL); in pds_vdpa_probe()
90 static void pds_vdpa_remove(struct auxiliary_device *aux_dev) in pds_vdpa_remove() argument
92 struct pds_vdpa_aux *vdpa_aux = auxiliary_get_drvdata(aux_dev); in pds_vdpa_remove()
93 struct device *dev = &aux_dev->dev; in pds_vdpa_remove()
101 auxiliary_set_drvdata(aux_dev, NULL); in pds_vdpa_remove()
Dcmds.c19 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_init_hw()
41 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_reset()
61 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_set_status()
82 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_set_mac()
105 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_set_max_vq_pairs()
129 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_init_vq()
163 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_reset_vq()
Dvdpa_dev.c31 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_notify_handler()
45 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_register_event_handler()
176 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_set_vq_state()
226 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_get_vq_state()
507 dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_reset()
618 dev = &vdpa_aux->padev->aux_dev.dev; in pds_vdpa_dev_add()
768 dev_info(&vdpa_aux->padev->aux_dev.dev, "Removed vdpa device\n"); in pds_vdpa_dev_del()
793 dev = &vdpa_aux->padev->aux_dev.dev; in pds_vdpa_get_mgmt_info()
/Linux-v6.6/drivers/net/ethernet/amd/pds_core/
Dauxbus.c108 __func__, dev_name(&padev->aux_dev.dev), req->opcode); in pds_client_adminq_cmd()
132 container_of(dev, struct pds_auxiliary_dev, aux_dev.dev); in pdsc_auxbus_dev_release()
142 struct auxiliary_device *aux_dev; in pdsc_auxbus_dev_register() local
153 aux_dev = &padev->aux_dev; in pdsc_auxbus_dev_register()
154 aux_dev->name = name; in pdsc_auxbus_dev_register()
155 aux_dev->id = cf->uid; in pdsc_auxbus_dev_register()
156 aux_dev->dev.parent = cf->dev; in pdsc_auxbus_dev_register()
157 aux_dev->dev.release = pdsc_auxbus_dev_release; in pdsc_auxbus_dev_register()
159 err = auxiliary_device_init(aux_dev); in pdsc_auxbus_dev_register()
166 err = auxiliary_device_add(aux_dev); in pdsc_auxbus_dev_register()
[all …]
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c191 adev = &aux_priv->aux_dev; in bnxt_ulp_stop()
219 adev = &aux_priv->aux_dev; in bnxt_ulp_start()
311 adev = &aux_priv->aux_dev; in bnxt_rdma_aux_device_uninit()
319 container_of(dev, struct bnxt_aux_priv, aux_dev.dev); in bnxt_aux_dev_release()
354 struct auxiliary_device *aux_dev; in bnxt_rdma_aux_device_init() local
375 aux_dev = &aux_priv->aux_dev; in bnxt_rdma_aux_device_init()
376 aux_dev->id = aux_priv->id; in bnxt_rdma_aux_device_init()
377 aux_dev->name = "rdma"; in bnxt_rdma_aux_device_init()
378 aux_dev->dev.parent = &bp->pdev->dev; in bnxt_rdma_aux_device_init()
379 aux_dev->dev.release = bnxt_aux_dev_release; in bnxt_rdma_aux_device_init()
[all …]
/Linux-v6.6/drivers/misc/mei/
Dgsc-me.c46 static int mei_gsc_probe(struct auxiliary_device *aux_dev, in mei_gsc_probe() argument
49 struct mei_aux_device *adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in mei_gsc_probe()
60 device = &aux_dev->dev; in mei_gsc_probe()
141 static void mei_gsc_remove(struct auxiliary_device *aux_dev) in mei_gsc_remove() argument
146 dev = dev_get_drvdata(&aux_dev->dev); in mei_gsc_remove()
160 pm_runtime_disable(&aux_dev->dev); in mei_gsc_remove()
164 devm_free_irq(&aux_dev->dev, hw->irq, dev); in mei_gsc_remove()
184 struct auxiliary_device *aux_dev; in mei_gsc_pm_resume() local
193 aux_dev = to_auxiliary_dev(device); in mei_gsc_pm_resume()
194 adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in mei_gsc_pm_resume()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_client.c284 container_of(dev, struct i40e_auxiliary_device, aux_dev.dev); in i40e_auxiliary_dev_release()
286 ida_free(&i40e_client_ida, i40e_aux_dev->aux_dev.id); in i40e_auxiliary_dev_release()
294 struct auxiliary_device *aux_dev; in i40e_register_auxiliary_dev() local
303 aux_dev = &i40e_aux_dev->aux_dev; in i40e_register_auxiliary_dev()
304 aux_dev->name = name; in i40e_register_auxiliary_dev()
305 aux_dev->dev.parent = &pdev->dev; in i40e_register_auxiliary_dev()
306 aux_dev->dev.release = i40e_auxiliary_dev_release; in i40e_register_auxiliary_dev()
307 ldev->aux_dev = aux_dev; in i40e_register_auxiliary_dev()
314 aux_dev->id = ret; in i40e_register_auxiliary_dev()
316 ret = auxiliary_device_init(aux_dev); in i40e_register_auxiliary_dev()
[all …]
/Linux-v6.6/drivers/infiniband/hw/irdma/
Di40iw_if.c182 static int i40iw_probe(struct auxiliary_device *aux_dev, const struct auxiliary_device_id *id) in i40iw_probe() argument
184 struct i40e_auxiliary_device *i40e_adev = container_of(aux_dev, in i40iw_probe()
186 aux_dev); in i40iw_probe()
195 static void i40iw_remove(struct auxiliary_device *aux_dev) in i40iw_remove() argument
197 struct i40e_auxiliary_device *i40e_adev = container_of(aux_dev, in i40iw_remove()
199 aux_dev); in i40iw_remove()
Dmain.c209 static void irdma_remove(struct auxiliary_device *aux_dev) in irdma_remove() argument
211 struct iidc_auxiliary_dev *iidc_adev = container_of(aux_dev, in irdma_remove()
215 struct irdma_device *iwdev = auxiliary_get_drvdata(aux_dev); in irdma_remove()
257 static int irdma_probe(struct auxiliary_device *aux_dev, const struct auxiliary_device_id *id) in irdma_probe() argument
259 struct iidc_auxiliary_dev *iidc_adev = container_of(aux_dev, in irdma_probe()
305 auxiliary_set_drvdata(aux_dev, iwdev); in irdma_probe()
/Linux-v6.6/include/linux/
Dmei_aux.h21 struct auxiliary_device aux_dev; member
29 container_of(auxiliary_dev, struct mei_aux_device, aux_dev)
/Linux-v6.6/sound/soc/sunxi/
Dsun4i-codec.c1414 static struct snd_soc_aux_dev aux_dev = { variable
1427 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_a23_codec_create_card()
1430 if (!aux_dev.dlc.of_node) { in sun8i_a23_codec_create_card()
1446 card->aux_dev = &aux_dev; in sun8i_a23_codec_create_card()
1466 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_h3_codec_create_card()
1469 if (!aux_dev.dlc.of_node) { in sun8i_h3_codec_create_card()
1485 card->aux_dev = &aux_dev; in sun8i_h3_codec_create_card()
1505 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_v3s_codec_create_card()
1508 if (!aux_dev.dlc.of_node) { in sun8i_v3s_codec_create_card()
1524 card->aux_dev = &aux_dev; in sun8i_v3s_codec_create_card()
/Linux-v6.6/drivers/platform/mellanox/
Dmlxreg-lc.c644 struct mlxreg_hotplug_device *main_dev, *aux_dev; in mlxreg_lc_completion_notify() local
650 aux_dev = mlxreg_lc->aux_devs; in mlxreg_lc_completion_notify()
651 for (i = 0; i < mlxreg_lc->aux_devs_num; i++, aux_dev++) { in mlxreg_lc_completion_notify()
652 aux_dev->adapter = adapters[aux_dev->nr]; in mlxreg_lc_completion_notify()
653 aux_dev->nr = adapters[aux_dev->nr]->nr; in mlxreg_lc_completion_notify()
/Linux-v6.6/include/linux/net/intel/
Di40e_client.h78 struct auxiliary_device *aux_dev; member
102 struct auxiliary_device aux_dev; member
/Linux-v6.6/include/linux/pds/
Dpds_auxbus.h10 struct auxiliary_device aux_dev; member
/Linux-v6.6/sound/soc/samsung/
Dtm2_wm5110.c489 .aux_dev = &tm2_speaker_amp_dev,
536 card->aux_dev[0].dlc.of_node = of_parse_phandle(dev->of_node, in tm2_probe()
538 if (!card->aux_dev[0].dlc.of_node) { in tm2_probe()
629 of_node_put(card->aux_dev[0].dlc.of_node); in tm2_probe()
Dspeyside.c309 .aux_dev = speyside_aux_dev,
/Linux-v6.6/sound/soc/rockchip/
Drockchip_max98090.c305 .aux_dev = &rk_98090_headset_dev,
333 .aux_dev = &rk_98090_headset_dev,
/Linux-v6.6/sound/soc/intel/boards/
Dcht_bsw_max98090_ti.c396 .aux_dev = &cht_max98090_headset_dev,
551 snd_soc_card_cht.aux_dev = NULL; in snd_cht_mc_probe()
/Linux-v6.6/sound/soc/mediatek/mt8183/
Dmt8183-da7219-max98357.c661 .aux_dev = &mt8183_da7219_max98357_headset_dev,
718 .aux_dev = &mt8183_da7219_max98357_headset_dev,
735 .aux_dev = &mt8183_da7219_max98357_headset_dev,

12