/Linux-v6.1/net/nfc/ |
D | digital_core.c | 42 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev, in digital_skb_alloc() argument 47 skb = alloc_skb(len + ddev->tx_headroom + ddev->tx_tailroom, in digital_skb_alloc() 50 skb_reserve(skb, ddev->tx_headroom); in digital_skb_alloc() 100 static inline void digital_switch_rf(struct nfc_digital_dev *ddev, bool on) in digital_switch_rf() argument 102 ddev->ops->switch_rf(ddev, on); in digital_switch_rf() 105 static inline void digital_abort_cmd(struct nfc_digital_dev *ddev) in digital_abort_cmd() argument 107 ddev->ops->abort_cmd(ddev); in digital_abort_cmd() 113 struct nfc_digital_dev *ddev = container_of(work, in digital_wq_cmd_complete() local 117 mutex_lock(&ddev->cmd_lock); in digital_wq_cmd_complete() 119 cmd = list_first_entry_or_null(&ddev->cmd_queue, struct digital_cmd, in digital_wq_cmd_complete() [all …]
|
D | digital_dep.c | 106 static void digital_in_recv_dep_res(struct nfc_digital_dev *ddev, void *arg, 108 static void digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg, 168 static void digital_skb_push_dep_sod(struct nfc_digital_dev *ddev, in digital_skb_push_dep_sod() argument 175 if (ddev->curr_rf_tech == NFC_DIGITAL_RF_TECH_106A) in digital_skb_push_dep_sod() 179 static int digital_skb_pull_dep_sod(struct nfc_digital_dev *ddev, in digital_skb_pull_dep_sod() argument 187 if (ddev->curr_rf_tech == NFC_DIGITAL_RF_TECH_106A) in digital_skb_pull_dep_sod() 200 digital_send_dep_data_prep(struct nfc_digital_dev *ddev, struct sk_buff *skb, in digital_send_dep_data_prep() argument 206 if (skb->len > ddev->remote_payload_max) { in digital_send_dep_data_prep() 209 new_skb = digital_skb_alloc(ddev, ddev->remote_payload_max); in digital_send_dep_data_prep() 211 kfree_skb(ddev->chaining_skb); in digital_send_dep_data_prep() [all …]
|
D | digital_technology.c | 164 static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev, 167 int digital_in_iso_dep_pull_sod(struct nfc_digital_dev *ddev, in digital_in_iso_dep_pull_sod() argument 195 int digital_in_iso_dep_push_sod(struct nfc_digital_dev *ddev, in digital_in_iso_dep_push_sod() argument 202 if (skb->len + 3 > ddev->target_fsc) in digital_in_iso_dep_push_sod() 207 *skb->data = DIGITAL_ISO_DEP_I_PCB | ddev->curr_nfc_dep_pni; in digital_in_iso_dep_push_sod() 209 ddev->curr_nfc_dep_pni = in digital_in_iso_dep_push_sod() 210 DIGITAL_ISO_DEP_PNI(ddev->curr_nfc_dep_pni + 1); in digital_in_iso_dep_push_sod() 215 static void digital_in_recv_ats(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_ats() argument 235 ddev->target_fsc = DIGITAL_ATS_MAX_FSC; in digital_in_recv_ats() 237 ddev->target_fsc = digital_ats_fsc[fsdi]; in digital_in_recv_ats() [all …]
|
D | digital.h | 35 #define DIGITAL_DRV_CAPS_IN_CRC(ddev) \ argument 36 ((ddev)->driver_capabilities & NFC_DIGITAL_DRV_CAPS_IN_CRC) 37 #define DIGITAL_DRV_CAPS_TG_CRC(ddev) \ argument 38 ((ddev)->driver_capabilities & NFC_DIGITAL_DRV_CAPS_TG_CRC) 45 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev, 48 int digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type, 53 int digital_in_configure_hw(struct nfc_digital_dev *ddev, int type, int param); 54 static inline int digital_in_send_cmd(struct nfc_digital_dev *ddev, in digital_in_send_cmd() argument 59 return digital_send_cmd(ddev, DIGITAL_CMD_IN_SEND, skb, NULL, timeout, in digital_in_send_cmd() 63 void digital_poll_next_tech(struct nfc_digital_dev *ddev); [all …]
|
/Linux-v6.1/drivers/platform/surface/ |
D | surface_dtx.c | 177 struct sdtx_device *ddev; member 189 struct sdtx_device *ddev = container_of(kref, struct sdtx_device, kref); in __sdtx_device_release() local 191 mutex_destroy(&ddev->write_lock); in __sdtx_device_release() 192 kfree(ddev); in __sdtx_device_release() 195 static struct sdtx_device *sdtx_device_get(struct sdtx_device *ddev) in sdtx_device_get() argument 197 if (ddev) in sdtx_device_get() 198 kref_get(&ddev->kref); in sdtx_device_get() 200 return ddev; in sdtx_device_get() 203 static void sdtx_device_put(struct sdtx_device *ddev) in sdtx_device_put() argument 205 if (ddev) in sdtx_device_put() [all …]
|
/Linux-v6.1/drivers/gpu/drm/stm/ |
D | drv.c | 69 static int drv_load(struct drm_device *ddev) in drv_load() argument 71 struct platform_device *pdev = to_platform_device(ddev->dev); in drv_load() 77 ldev = devm_kzalloc(ddev->dev, sizeof(*ldev), GFP_KERNEL); in drv_load() 81 ddev->dev_private = (void *)ldev; in drv_load() 83 ret = drmm_mode_config_init(ddev); in drv_load() 92 ddev->mode_config.min_width = 0; in drv_load() 93 ddev->mode_config.min_height = 0; in drv_load() 94 ddev->mode_config.max_width = STM_MAX_FB_WIDTH; in drv_load() 95 ddev->mode_config.max_height = STM_MAX_FB_HEIGHT; in drv_load() 96 ddev->mode_config.funcs = &drv_mode_config_funcs; in drv_load() [all …]
|
/Linux-v6.1/drivers/gpu/drm/sti/ |
D | sti_drv.c | 146 static int sti_init(struct drm_device *ddev) in sti_init() argument 154 ddev->dev_private = (void *)private; in sti_init() 155 dev_set_drvdata(ddev->dev, ddev); in sti_init() 156 private->drm_dev = ddev; in sti_init() 158 drm_mode_config_init(ddev); in sti_init() 160 sti_mode_config_init(ddev); in sti_init() 162 drm_kms_helper_poll_init(ddev); in sti_init() 167 static void sti_cleanup(struct drm_device *ddev) in sti_cleanup() argument 169 struct sti_private *private = ddev->dev_private; in sti_cleanup() 171 drm_kms_helper_poll_fini(ddev); in sti_cleanup() [all …]
|
/Linux-v6.1/drivers/gpu/drm/tilcdc/ |
D | tilcdc_external.c | 44 struct drm_connector *tilcdc_encoder_find_connector(struct drm_device *ddev, in tilcdc_encoder_find_connector() argument 49 list_for_each_entry(connector, &ddev->mode_config.connector_list, head) { in tilcdc_encoder_find_connector() 54 dev_err(ddev->dev, "No connector found for %s encoder (id %d)\n", in tilcdc_encoder_find_connector() 60 int tilcdc_add_component_encoder(struct drm_device *ddev) in tilcdc_add_component_encoder() argument 62 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_add_component_encoder() 65 list_for_each_entry(iter, &ddev->mode_config.encoder_list, head) in tilcdc_add_component_encoder() 72 dev_err(ddev->dev, "%s: No suitable encoder found\n", __func__); in tilcdc_add_component_encoder() 77 tilcdc_encoder_find_connector(ddev, encoder); in tilcdc_add_component_encoder() 90 int tilcdc_attach_bridge(struct drm_device *ddev, struct drm_bridge *bridge) in tilcdc_attach_bridge() argument 92 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_attach_bridge() [all …]
|
D | tilcdc_drv.c | 199 struct drm_device *ddev; in tilcdc_init() local 211 ddev = drm_dev_alloc(ddrv, dev); in tilcdc_init() 212 if (IS_ERR(ddev)) in tilcdc_init() 213 return PTR_ERR(ddev); in tilcdc_init() 215 ddev->dev_private = priv; in tilcdc_init() 216 platform_set_drvdata(pdev, ddev); in tilcdc_init() 217 drm_mode_config_init(ddev); in tilcdc_init() 253 switch (tilcdc_read(ddev, LCDC_PID_REG)) { in tilcdc_init() 264 tilcdc_read(ddev, LCDC_PID_REG)); in tilcdc_init() 322 ret = tilcdc_crtc_create(ddev); in tilcdc_init() [all …]
|
/Linux-v6.1/drivers/gpu/drm/shmobile/ |
D | shmob_drm_drv.c | 151 drm_kms_helper_poll_disable(sdev->ddev); in shmob_drm_pm_suspend() 161 drm_modeset_lock_all(sdev->ddev); in shmob_drm_pm_resume() 163 drm_modeset_unlock_all(sdev->ddev); in shmob_drm_pm_resume() 165 drm_kms_helper_poll_enable(sdev->ddev); in shmob_drm_pm_resume() 181 struct drm_device *ddev = sdev->ddev; in shmob_drm_remove() local 183 drm_dev_unregister(ddev); in shmob_drm_remove() 184 drm_kms_helper_poll_fini(ddev); in shmob_drm_remove() 185 free_irq(sdev->irq, ddev); in shmob_drm_remove() 186 drm_dev_put(ddev); in shmob_drm_remove() 195 struct drm_device *ddev; in shmob_drm_probe() local [all …]
|
/Linux-v6.1/drivers/dma/qcom/ |
D | hidma.c | 79 return container_of(dmadev, struct hidma_dev, ddev); in to_hidma_dev() 95 INIT_LIST_HEAD(&dmadev->ddev.channels); in hidma_free() 110 struct dma_device *ddev = mchan->chan.device; in hidma_process_completed() local 111 struct hidma_dev *mdma = to_hidma_dev(ddev); in hidma_process_completed() 169 struct dma_device *ddev = mchan->chan.device; in hidma_callback() local 170 struct hidma_dev *dmadev = to_hidma_dev(ddev); in hidma_callback() 189 pm_runtime_mark_last_busy(dmadev->ddev.dev); in hidma_callback() 190 pm_runtime_put_autosuspend(dmadev->ddev.dev); in hidma_callback() 197 struct dma_device *ddev; in hidma_chan_init() local 199 mchan = devm_kzalloc(dmadev->ddev.dev, sizeof(*mchan), GFP_KERNEL); in hidma_chan_init() [all …]
|
/Linux-v6.1/drivers/dma/ |
D | txx9dmac.c | 101 const struct txx9dmac_dev *ddev) in __txx9dmac_regs() argument 103 return ddev->regs; in __txx9dmac_regs() 107 const struct txx9dmac_dev *ddev) in __txx9dmac_regs32() argument 109 return ddev->regs; in __txx9dmac_regs32() 112 #define dma64_readl(ddev, name) \ argument 113 __raw_readl(&(__txx9dmac_regs(ddev)->name)) 114 #define dma64_writel(ddev, name, val) \ argument 115 __raw_writel((val), &(__txx9dmac_regs(ddev)->name)) 117 #define dma32_readl(ddev, name) \ argument 118 __raw_readl(&(__txx9dmac_regs32(ddev)->name)) [all …]
|
D | uniphier-xdmac.c | 97 struct dma_device ddev; member 242 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq() 245 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq() 345 if (maxburst > xc->xdev->ddev.max_burst) { in uniphier_xdmac_prep_slave_sg() 346 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg() 373 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg() 380 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg() 463 vchan_init(&xc->vc, &xdev->ddev); in uniphier_xdmac_chan_init() 485 struct dma_device *ddev; in uniphier_xdmac_probe() local 505 ddev = &xdev->ddev; in uniphier_xdmac_probe() [all …]
|
D | milbeaut-xdmac.c | 75 struct dma_device ddev; member 287 vchan_init(&mc->vc, &mdev->ddev); in milbeaut_xdmac_chan_init() 314 struct dma_device *ddev; in milbeaut_xdmac_probe() local 330 ddev = &mdev->ddev; in milbeaut_xdmac_probe() 331 ddev->dev = dev; in milbeaut_xdmac_probe() 332 dma_cap_set(DMA_MEMCPY, ddev->cap_mask); in milbeaut_xdmac_probe() 333 ddev->src_addr_widths = MLB_XDMAC_BUSWIDTHS; in milbeaut_xdmac_probe() 334 ddev->dst_addr_widths = MLB_XDMAC_BUSWIDTHS; in milbeaut_xdmac_probe() 335 ddev->device_free_chan_resources = milbeaut_xdmac_free_chan_resources; in milbeaut_xdmac_probe() 336 ddev->device_prep_dma_memcpy = milbeaut_xdmac_prep_memcpy; in milbeaut_xdmac_probe() [all …]
|
D | uniphier-mdmac.c | 68 struct dma_device ddev; member 375 vchan_init(&mc->vc, &mdev->ddev); in uniphier_mdmac_chan_init() 384 struct dma_device *ddev; in uniphier_mdmac_probe() local 414 ddev = &mdev->ddev; in uniphier_mdmac_probe() 415 ddev->dev = dev; in uniphier_mdmac_probe() 416 dma_cap_set(DMA_PRIVATE, ddev->cap_mask); in uniphier_mdmac_probe() 417 ddev->src_addr_widths = UNIPHIER_MDMAC_SLAVE_BUSWIDTHS; in uniphier_mdmac_probe() 418 ddev->dst_addr_widths = UNIPHIER_MDMAC_SLAVE_BUSWIDTHS; in uniphier_mdmac_probe() 419 ddev->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); in uniphier_mdmac_probe() 420 ddev->residue_granularity = DMA_RESIDUE_GRANULARITY_SEGMENT; in uniphier_mdmac_probe() [all …]
|
/Linux-v6.1/drivers/gpu/drm/tidss/ |
D | tidss_drv.c | 80 return drm_mode_config_helper_suspend(&tidss->ddev); in tidss_suspend() 89 return drm_mode_config_helper_resume(&tidss->ddev); in tidss_resume() 99 static void tidss_release(struct drm_device *ddev) in tidss_release() argument 101 drm_kms_helper_poll_fini(ddev); in tidss_release() 122 struct drm_device *ddev; in tidss_probe() local 129 struct tidss_device, ddev); in tidss_probe() 133 ddev = &tidss->ddev; in tidss_probe() 167 ret = tidss_irq_install(ddev, irq); in tidss_probe() 173 drm_kms_helper_poll_init(ddev); in tidss_probe() 175 drm_mode_config_reset(ddev); in tidss_probe() [all …]
|
D | tidss_irq.c | 28 struct drm_device *ddev = crtc->dev; in tidss_irq_enable_vblank() local 29 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_enable_vblank() 43 struct drm_device *ddev = crtc->dev; in tidss_irq_disable_vblank() local 44 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_disable_vblank() 58 struct drm_device *ddev = (struct drm_device *)arg; in tidss_irq_handler() local 59 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_handler() 96 static void tidss_irq_preinstall(struct drm_device *ddev) in tidss_irq_preinstall() argument 98 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_preinstall() 110 static void tidss_irq_postinstall(struct drm_device *ddev) in tidss_irq_postinstall() argument 112 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_postinstall() [all …]
|
D | tidss_crtc.c | 24 struct drm_device *ddev = tcrtc->crtc.dev; in tidss_crtc_finish_page_flip() local 25 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_finish_page_flip() 30 spin_lock_irqsave(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip() 40 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip() 48 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip() 54 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip() 90 struct drm_device *ddev = crtc->dev; in tidss_crtc_atomic_check() local 91 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_atomic_check() 98 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_crtc_atomic_check() 107 dev_dbg(ddev->dev, "%s: bad mode: %ux%u pclk %u kHz\n", in tidss_crtc_atomic_check() [all …]
|
D | tidss_kms.c | 28 struct drm_device *ddev = old_state->dev; in tidss_atomic_commit_tail() local 29 struct tidss_device *tidss = to_tidss(ddev); in tidss_atomic_commit_tail() 32 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_atomic_commit_tail() 36 drm_atomic_helper_commit_modeset_disables(ddev, old_state); in tidss_atomic_commit_tail() 37 drm_atomic_helper_commit_planes(ddev, old_state, 0); in tidss_atomic_commit_tail() 38 drm_atomic_helper_commit_modeset_enables(ddev, old_state); in tidss_atomic_commit_tail() 42 drm_atomic_helper_wait_for_flip_done(ddev, old_state); in tidss_atomic_commit_tail() 44 drm_atomic_helper_cleanup_planes(ddev, old_state); in tidss_atomic_commit_tail() 53 static int tidss_atomic_check(struct drm_device *ddev, in tidss_atomic_check() argument 63 ret = drm_atomic_helper_check(ddev, state); in tidss_atomic_check() [all …]
|
/Linux-v6.1/drivers/gpu/drm/omapdrm/ |
D | omap_drv.c | 303 static void omap_disconnect_pipelines(struct drm_device *ddev) in omap_disconnect_pipelines() argument 305 struct omap_drm_private *priv = ddev->dev_private; in omap_disconnect_pipelines() 322 static int omap_connect_pipelines(struct drm_device *ddev) in omap_connect_pipelines() argument 324 struct omap_drm_private *priv = ddev->dev_private; in omap_connect_pipelines() 541 static void omap_modeset_fini(struct drm_device *ddev) in omap_modeset_fini() argument 543 omap_drm_irq_uninstall(ddev); in omap_modeset_fini() 545 drm_mode_config_cleanup(ddev); in omap_modeset_fini() 551 static void omap_modeset_enable_external_hpd(struct drm_device *ddev) in omap_modeset_enable_external_hpd() argument 553 struct omap_drm_private *priv = ddev->dev_private; in omap_modeset_enable_external_hpd() 570 static void omap_modeset_disable_external_hpd(struct drm_device *ddev) in omap_modeset_disable_external_hpd() argument [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/ |
D | amdgpu_pm.c | 134 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_power_dpm_state() local 135 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_state() 144 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state() 146 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state() 152 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_state() 153 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state() 165 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_power_dpm_state() local 166 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_state() 184 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_power_dpm_state() 186 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_state() [all …]
|
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 2265 void hns_dsaf_get_regs(struct dsaf_device *ddev, u32 port, void *data) in hns_dsaf_get_regs() argument 2271 bool is_ver1 = AE_IS_VER1(ddev->dsaf_ver); in hns_dsaf_get_regs() 2274 p[0] = dsaf_read_dev(ddev, DSAF_SRAM_INIT_OVER_0_REG); in hns_dsaf_get_regs() 2275 p[1] = dsaf_read_dev(ddev, DSAF_CFG_0_REG); in hns_dsaf_get_regs() 2276 p[2] = dsaf_read_dev(ddev, DSAF_ECC_ERR_INVERT_0_REG); in hns_dsaf_get_regs() 2277 p[3] = dsaf_read_dev(ddev, DSAF_ABNORMAL_TIMEOUT_0_REG); in hns_dsaf_get_regs() 2278 p[4] = dsaf_read_dev(ddev, DSAF_FSM_TIMEOUT_0_REG); in hns_dsaf_get_regs() 2279 p[5] = dsaf_read_dev(ddev, DSAF_DSA_REG_CNT_CLR_CE_REG); in hns_dsaf_get_regs() 2280 p[6] = dsaf_read_dev(ddev, DSAF_DSA_SBM_INF_FIFO_THRD_REG); in hns_dsaf_get_regs() 2281 p[7] = dsaf_read_dev(ddev, DSAF_DSA_SRAM_1BIT_ECC_SEL_REG); in hns_dsaf_get_regs() [all …]
|
/Linux-v6.1/drivers/usb/core/ |
D | config.c | 51 static void usb_parse_ssp_isoc_endpoint_companion(struct device *ddev, in usb_parse_ssp_isoc_endpoint_companion() argument 64 dev_warn(ddev, "Invalid SuperSpeedPlus isoc endpoint companion" in usb_parse_ssp_isoc_endpoint_companion() 72 static void usb_parse_ss_endpoint_companion(struct device *ddev, int cfgno, in usb_parse_ss_endpoint_companion() argument 86 dev_warn(ddev, "No SuperSpeed endpoint companion for config %d " in usb_parse_ss_endpoint_companion() 112 dev_warn(ddev, "Control endpoint with bMaxBurst = %d in " in usb_parse_ss_endpoint_companion() 118 dev_warn(ddev, "Endpoint with bMaxBurst = %d in " in usb_parse_ss_endpoint_companion() 128 dev_warn(ddev, "%s endpoint with bmAttributes = %d in " in usb_parse_ss_endpoint_companion() 137 dev_warn(ddev, "Bulk endpoint with more than 65536 streams in " in usb_parse_ss_endpoint_companion() 145 dev_warn(ddev, "Isoc endpoint has Mult of %d in " in usb_parse_ss_endpoint_companion() 163 dev_warn(ddev, "%s endpoint with wBytesPerInterval of %d in " in usb_parse_ss_endpoint_companion() [all …]
|
/Linux-v6.1/include/net/nfc/ |
D | digital.h | 87 typedef void (*nfc_digital_cmd_complete_t)(struct nfc_digital_dev *ddev, 147 int (*in_configure_hw)(struct nfc_digital_dev *ddev, int type, 149 int (*in_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb, 153 int (*tg_configure_hw)(struct nfc_digital_dev *ddev, int type, 155 int (*tg_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb, 158 int (*tg_listen)(struct nfc_digital_dev *ddev, u16 timeout, 160 int (*tg_listen_mdaa)(struct nfc_digital_dev *ddev, 164 int (*tg_listen_md)(struct nfc_digital_dev *ddev, u16 timeout, 166 int (*tg_get_rf_tech)(struct nfc_digital_dev *ddev, u8 *rf_tech); 168 int (*switch_rf)(struct nfc_digital_dev *ddev, bool on); [all …]
|
/Linux-v6.1/drivers/fpga/ |
D | dfl.c | 251 dfl_match_one_device(const struct dfl_device_id *id, struct dfl_device *ddev) in dfl_match_one_device() argument 253 if (id->type == ddev->type && id->feature_id == ddev->feature_id) in dfl_match_one_device() 261 struct dfl_device *ddev = to_dfl_dev(dev); in dfl_bus_match() local 268 if (dfl_match_one_device(id_entry, ddev)) { in dfl_bus_match() 269 ddev->id_entry = id_entry; in dfl_bus_match() 282 struct dfl_device *ddev = to_dfl_dev(dev); in dfl_bus_probe() local 284 return ddrv->probe(ddev); in dfl_bus_probe() 290 struct dfl_device *ddev = to_dfl_dev(dev); in dfl_bus_remove() local 293 ddrv->remove(ddev); in dfl_bus_remove() 298 struct dfl_device *ddev = to_dfl_dev(dev); in dfl_bus_uevent() local [all …]
|