| /drivers/usb/chipidea/ |
| A D | core.c | 235 ci->hw_bank.size = ci->hw_bank.op - ci->hw_bank.abs; in hw_device_init() 254 ci->rev = ci_get_revision(ci); in hw_device_init() 258 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init() 574 ret = ci_role(ci)->irq(ci); in ci_irq_handler() 584 ci_irq_handler(ci->irq, ci); in ci_irq() 592 struct ci_hdrc *ci = cbl->ci; in ci_cable_notifier() local 835 id->ci = ci; in ci_extcon_register() 846 vbus->ci = ci; in ci_extcon_register() 1203 ci->role = ci_get_role(ci); in ci_hdrc_probe() 1221 ci->platdata->name, ci); in ci_hdrc_probe() [all …]
|
| A D | otg_fsm.c | 233 ktime_after(ci->hr_timeouts[ci->next_otg_timer], in ci_otg_add_timer() 595 if (ci->fsm.id && !(ci->driver) && in ci_otg_fsm_work() 610 if ((ci->fsm.id) || (ci->id_event) || in ci_otg_fsm_work() 801 if (ci->phy) in ci_hdrc_otg_fsm_init() 802 ci->otg.phy = ci->phy; in ci_hdrc_otg_fsm_init() 804 ci->otg.usb_phy = ci->usb_phy; in ci_hdrc_otg_fsm_init() 806 ci->otg.gadget = &ci->gadget; in ci_hdrc_otg_fsm_init() 807 ci->fsm.otg = &ci->otg; in ci_hdrc_otg_fsm_init() 809 ci->fsm.id = hw_read_otgsc(ci, OTGSC_ID) ? 1 : 0; in ci_hdrc_otg_fsm_init() 813 ci->fsm.host_req_flag = devm_kzalloc(ci->dev, 1, GFP_KERNEL); in ci_hdrc_otg_fsm_init() [all …]
|
| A D | otg.c | 133 if (!ci->is_otg) { in ci_handle_vbus_change() 139 if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active) in ci_handle_vbus_change() 141 else if (!hw_read_otgsc(ci, OTGSC_BSV) && ci->vbus_active) in ci_handle_vbus_change() 179 ci_role(ci)->name, ci->roles[role]->name); in ci_handle_id_switch() 181 if (ci->vbus_active && ci->role == CI_ROLE_GADGET) in ci_handle_id_switch() 188 ci_role_stop(ci); in ci_handle_id_switch() 216 if (ci_otg_is_fsm_mode(ci) && !ci_otg_fsm_work(ci)) { in ci_otg_work() 223 if (ci->id_event) { in ci_otg_work() 235 enable_irq(ci->irq); in ci_otg_work() 247 if (!ci->wq) { in ci_hdrc_otg_init() [all …]
|
| A D | udc.c | 673 struct ci_hdrc *ci = hwep->ci; in _hardware_enqueue() local 826 struct ci_hdrc *ci = hwep->ci; in _hardware_dequeue() local 1097 struct ci_hdrc *ci = hwep->ci; in _ep_queue() local 1106 ci->ep0out : ci->ep0in; in _ep_queue() 1256 hwep = (ci->ep0_dir == TX) ? ci->ep0out : ci->ep0in; in isr_setup_status_phase() 1257 ci->status->context = ci; in isr_setup_status_phase() 1868 ci->platdata->notify_event(ci, in ci_hdrc_gadget_connect() 2034 hwep->ci = ci; in init_eps() 2173 ci->platdata->notify_event(ci, in ci_udc_stop() 2277 ci->gadget.irq = ci->irq; in udc_start() [all …]
|
| A D | host.c | 98 ret = ci->platdata->notify_event(ci, in ehci_ci_reset() 117 return usb_hcd_irq(ci->irq, ci->hcd); in host_irq() 131 ci->dev, dev_name(ci->dev), NULL); in host_start() 135 dev_set_drvdata(ci->dev, ci); in host_start() 143 if (ci->phy || ci->usb_phy) { in host_start() 159 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start() 200 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start() 215 ci->platdata->notify_event(ci, in host_stop() 236 if (ci->role == CI_ROLE_HOST && ci->hcd) in ci_hdrc_host_destroy() 305 ci->platdata->notify_event(ci, in ci_ehci_hub_control() [all …]
|
| A D | ci.h | 274 BUG_ON(ci->role >= CI_ROLE_END || !ci->roles[ci->role]); in ci_role() 275 return ci->roles[ci->role]; in ci_role() 288 ret = ci->roles[role]->start(ci); in ci_role_start() 292 ci->role = role; in ci_role_start() 294 if (ci->usb_phy) { in ci_role_start() 314 ci->roles[role]->stop(ci); in ci_role_stop() 316 if (ci->usb_phy) in ci_role_stop() 324 else if (ci->role == CI_ROLE_GADGET && ci->vbus_active) in ci_role_to_usb_role() 417 __hw_write(ci, data, ci->hw_bank.regmap[reg]); in hw_write() 433 __hw_write(ci, val, ci->hw_bank.regmap[reg]); in hw_test_and_clear() [all …]
|
| A D | ci_hdrc_msm.c | 37 struct platform_device *ci; member 102 phy_exit(ci->phy); in ci_hdrc_msm_notify_event() 117 if (!IS_ERR(ci->platdata->vbus_extcon.edev) || ci->role_switch) { in ci_hdrc_msm_notify_event() 128 phy_power_off(ci->phy); in ci_hdrc_msm_notify_event() 129 phy_exit(ci->phy); in ci_hdrc_msm_notify_event() 174 struct ci_hdrc_msm *ci; in ci_hdrc_msm_probe() local 183 ci = devm_kzalloc(&pdev->dev, sizeof(*ci), GFP_KERNEL); in ci_hdrc_msm_probe() 184 if (!ci) in ci_hdrc_msm_probe() 212 if (IS_ERR(ci->base)) in ci_hdrc_msm_probe() 262 ci->ci = plat_ci; in ci_hdrc_msm_probe() [all …]
|
| A D | debug.c | 26 struct ci_hdrc *ci = s->private; in ci_device_show() local 39 if (!ci->driver) in ci_device_show() 43 (ci->driver->function ? ci->driver->function : "")); in ci_device_show() 59 pm_runtime_get_sync(ci->dev); in ci_port_test_show() 61 mode = hw_port_test_get(ci); in ci_port_test_show() 63 pm_runtime_put_sync(ci->dev); in ci_port_test_show() 136 &ci->ci_hw_ep[i + ci->hw_ep_max/2]; in ci_qheads_show() 192 if (!ci || !ci_otg_is_fsm_mode(ci)) in ci_otg_show() 195 fsm = &ci->fsm; in ci_otg_show() 255 if (!ci || ci->in_lpm) in ci_registers_show() [all …]
|
| A D | ulpi.c | 39 ret = ci_ulpi_wait(ci, ULPI_WAKEUP); in ci_ulpi_read() 44 ret = ci_ulpi_wait(ci, ULPI_RUN); in ci_ulpi_read() 63 return ci_ulpi_wait(ci, ULPI_RUN); in ci_ulpi_write() 66 int ci_ulpi_init(struct ci_hdrc *ci) in ci_ulpi_init() argument 75 hw_phymode_configure(ci); in ci_ulpi_init() 77 ci->ulpi_ops.read = ci_ulpi_read; in ci_ulpi_init() 79 ci->ulpi = ulpi_register_interface(ci->dev, &ci->ulpi_ops); in ci_ulpi_init() 80 if (IS_ERR(ci->ulpi)) in ci_ulpi_init() 83 return PTR_ERR_OR_ZERO(ci->ulpi); in ci_ulpi_init() 88 if (ci->ulpi) { in ci_ulpi_exit() [all …]
|
| A D | ci_hdrc_npcm.c | 16 struct platform_device *ci; member 23 struct device *dev = ci->dev->parent; in npcm_udc_notify_event() 41 struct npcm_udc_data *ci; in npcm_udc_probe() local 45 ci = devm_kzalloc(&pdev->dev, sizeof(*ci), GFP_KERNEL); in npcm_udc_probe() 46 if (!ci) in npcm_udc_probe() 48 platform_set_drvdata(pdev, ci); in npcm_udc_probe() 51 if (IS_ERR(ci->core_clk)) in npcm_udc_probe() 52 return PTR_ERR(ci->core_clk); in npcm_udc_probe() 58 ci->pdata.name = dev_name(dev); in npcm_udc_probe() 66 &ci->pdata); in npcm_udc_probe() [all …]
|
| A D | ci_hdrc_pci.c | 22 struct platform_device *ci; member 58 struct ci_hdrc_pci *ci; in ci_hdrc_pci_probe() local 67 ci = devm_kzalloc(&pdev->dev, sizeof(*ci), GFP_KERNEL); in ci_hdrc_pci_probe() 68 if (!ci) in ci_hdrc_pci_probe() 85 if (IS_ERR(ci->phy)) in ci_hdrc_pci_probe() 86 return PTR_ERR(ci->phy); in ci_hdrc_pci_probe() 95 ci->ci = ci_hdrc_add_device(&pdev->dev, res, nres, platdata); in ci_hdrc_pci_probe() 96 if (IS_ERR(ci->ci)) { in ci_hdrc_pci_probe() 99 return PTR_ERR(ci->ci); in ci_hdrc_pci_probe() 102 pci_set_drvdata(pdev, ci); in ci_hdrc_pci_probe() [all …]
|
| A D | otg.h | 11 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask); 12 void hw_write_otgsc(struct ci_hdrc *ci, u32 mask, u32 data); 13 int ci_hdrc_otg_init(struct ci_hdrc *ci); 14 void ci_hdrc_otg_destroy(struct ci_hdrc *ci); 15 enum ci_role ci_otg_role(struct ci_hdrc *ci); 16 void ci_handle_vbus_change(struct ci_hdrc *ci); 17 void ci_handle_id_switch(struct ci_hdrc *ci); 18 static inline void ci_otg_queue_work(struct ci_hdrc *ci) in ci_otg_queue_work() argument 20 disable_irq_nosync(ci->irq); in ci_otg_queue_work() 21 if (queue_work(ci->wq, &ci->work) == false) in ci_otg_queue_work() [all …]
|
| A D | otg_fsm.h | 66 int ci_hdrc_otg_fsm_init(struct ci_hdrc *ci); 67 int ci_otg_fsm_work(struct ci_hdrc *ci); 68 irqreturn_t ci_otg_fsm_irq(struct ci_hdrc *ci); 69 void ci_hdrc_otg_fsm_start(struct ci_hdrc *ci); 70 void ci_hdrc_otg_fsm_remove(struct ci_hdrc *ci); 74 static inline int ci_hdrc_otg_fsm_init(struct ci_hdrc *ci) in ci_hdrc_otg_fsm_init() argument 79 static inline int ci_otg_fsm_work(struct ci_hdrc *ci) in ci_otg_fsm_work() argument 84 static inline irqreturn_t ci_otg_fsm_irq(struct ci_hdrc *ci) in ci_otg_fsm_irq() argument 89 static inline void ci_hdrc_otg_fsm_start(struct ci_hdrc *ci) in ci_hdrc_otg_fsm_start() argument 94 static inline void ci_hdrc_otg_fsm_remove(struct ci_hdrc *ci) in ci_hdrc_otg_fsm_remove() argument
|
| /drivers/media/dvb-frontends/ |
| A D | cxd2099.c | 65 if (ci->cfg.max_i2c && len > ci->cfg.max_i2c) in read_block() 142 ci->regs[reg] = (ci->regs[reg] & (~mask)) | val; in write_regm() 144 status = regmap_write(ci->regmap, 1, ci->regs[reg]); in write_regm() 169 if (ci->cfg.max_i2c && (len + 1 > ci->cfg.max_i2c)) in write_block() 279 status = write_reg(ci, 0x15, ci->clk_reg_b); in init() 285 status = write_reg(ci, 0x17, ci->clk_reg_f); in init() 563 read_block(ci, 0x12, ci->rbuf, len); in read_data() 612 ci = kzalloc(sizeof(*ci), GFP_KERNEL); in cxd2099_probe() 619 memcpy(&ci->cfg, cfg, sizeof(ci->cfg)); in cxd2099_probe() 640 ci->en.data = ci; in cxd2099_probe() [all …]
|
| /drivers/media/pci/ddbridge/ |
| A D | ddbridge-ci.c | 73 res = ddbreadl(ci->port->dev, CI_READDATA(ci->nr)); in read_cam_control() 115 ddbwritel(ci->port->dev, 0, CI_CONTROL(ci->nr)); in slot_shutdown() 123 u32 val = ddbreadl(ci->port->dev, CI_CONTROL(ci->nr)); in slot_ts_enable() 133 u32 val = ddbreadl(ci->port->dev, CI_CONTROL(ci->nr)); in poll_slot_status() 158 ci = kzalloc(sizeof(*ci), GFP_KERNEL); in ci_attach() 159 if (!ci) in ci_attach() 162 ci->en.data = ci; in ci_attach() 176 ci->port->creg = (ci->port->creg & ~mask) | data; in write_creg() 291 ci = kzalloc(sizeof(*ci), GFP_KERNEL); in ci_xo2_attach() 292 if (!ci) in ci_xo2_attach() [all …]
|
| /drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | chip.c | 313 val = ci->ops->read32(ci->ctx, in brcmf_chip_sb_coredisable() 316 ci->ops->write32(ci->ctx, in brcmf_chip_sb_coredisable() 318 val = ci->ops->read32(ci->ctx, in brcmf_chip_sb_coredisable() 321 SPINWAIT((ci->ops->read32(ci->ctx, in brcmf_chip_sb_coredisable() 336 val = ci->ops->read32(ci->ctx, in brcmf_chip_sb_coredisable() 339 ci->ops->write32(ci->ctx, in brcmf_chip_sb_coredisable() 471 while (ci->ops->read32(ci->ctx, in brcmf_chip_ai_resetcore() 474 ci->ops->write32(ci->ctx, in brcmf_chip_ai_resetcore() 797 ci->pub.rambase, ci->pub.ramsize, ci->pub.ramsize, in brcmf_chip_get_raminfo() 983 regdata = ci->ops->read32(ci->ctx, in brcmf_chip_recognition() [all …]
|
| /drivers/s390/crypto/ |
| A D | zcrypt_cex4.c | 85 memset(&ci, 0, sizeof(ci)); in cca_serialnr_show() 118 memset(&ci, 0, sizeof(ci)); in cca_mkvps_show() 122 &ci, 0); in cca_mkvps_show() 124 if (ci.new_aes_mk_state >= '1' && ci.new_aes_mk_state <= '3') in cca_mkvps_show() 131 if (ci.cur_aes_mk_state >= '1' && ci.cur_aes_mk_state <= '2') in cca_mkvps_show() 138 if (ci.old_aes_mk_state >= '1' && ci.old_aes_mk_state <= '2') in cca_mkvps_show() 145 if (ci.new_apka_mk_state >= '1' && ci.new_apka_mk_state <= '3') in cca_mkvps_show() 215 memset(&ci, 0, sizeof(ci)); in ep11_api_ordinalnr_show() 235 memset(&ci, 0, sizeof(ci)); in ep11_fw_version_show() 257 memset(&ci, 0, sizeof(ci)); in ep11_serialnr_show() [all …]
|
| /drivers/gpu/drm/ci/ |
| A D | gitlab-ci.yml | 87 - '/.gitlab-ci/build/gitlab-ci.yml' 88 - '/.gitlab-ci/container/gitlab-ci.yml' 90 - '/.gitlab-ci/lava/lava-gitlab-ci.yml' 92 - '/.gitlab-ci/test/gitlab-ci.yml' 93 - '/src/amd/ci/gitlab-ci-inc.yml' 94 - '/src/freedreno/ci/gitlab-ci-inc.yml' 100 - '/src/gallium/drivers/zink/ci/gitlab-ci-inc.yml' 103 - '/src/intel/ci/gitlab-ci-inc.yml' 104 - '/src/microsoft/ci/gitlab-ci-inc.yml' 105 - '/src/nouveau/ci/gitlab-ci-inc.yml' [all …]
|
| A D | build.sh | 9 . .gitlab-ci/container/container_pre_build.sh 87 ./scripts/kconfig/merge_config.sh ${DEFCONFIG} drivers/gpu/drm/ci/${MERGE_FRAGMENT} 123 cp -rfv .gitlab-ci/* install/. 124 cp -rfv bin/ci/* install/. 125 cp -rfv install/common install/ci-common 126 cp -rfv drivers/gpu/drm/ci/* install/. 128 . .gitlab-ci/container/container_post_build.sh 140 ci-fairy s3cp --token-file "${S3_JWT_FILE}" /kernel/$f \ 146 …ci-fairy s3cp --token-file "${S3_JWT_FILE}" ${S3_ARTIFACT_NAME} https://${PIPELINE_ARTIFACTS_BASE}… 153 ln -s common artifacts/install/ci-common
|
| /drivers/net/ethernet/marvell/octeon_ep/ |
| A D | octep_ctrl_mbox.c | 71 return (abs(pi - ci) % sz); in octep_ctrl_mbox_circq_depth() 140 if (*pi < ci) { in octep_write_mbox_data() 164 u32 pi, ci, buf_sz, w_sz; in octep_ctrl_mbox_send() local 176 ci = readl(q->hw_cons); in octep_ctrl_mbox_send() 204 qbuf = (q->hw_q + *ci); in octep_read_mbox_data() 205 if (*ci < pi) { in octep_read_mbox_data() 208 *ci = octep_ctrl_mbox_circq_inc(*ci, r_sz, q->sz); in octep_read_mbox_data() 214 *ci = octep_ctrl_mbox_circq_inc(*ci, cp_sz, q->sz); in octep_read_mbox_data() 220 *ci = octep_ctrl_mbox_circq_inc(*ci, r_sz, q->sz); in octep_read_mbox_data() 238 ci = readl(q->hw_cons); in octep_ctrl_mbox_recv() [all …]
|
| /drivers/iio/adc/ |
| A D | ad7606.c | 297 ci->range = 0; in ad7606_16bit_chan_scale_setup() 305 ci->range = 2; in ad7606_16bit_chan_scale_setup() 383 ci->range = 0; in ad7606c_18bit_chan_scale_setup() 400 ci->range = 1; in ad7606c_18bit_chan_scale_setup() 426 ci->range = 1; in ad7606c_18bit_chan_scale_setup() 485 ci->range = 1; in ad7606c_16bit_chan_scale_setup() 497 ci->range = 0; in ad7607_chan_scale_setup() 509 ci->range = 0; in ad7608_chan_scale_setup() 521 ci->range = 0; in ad7609_chan_scale_setup() 778 *val = ci->scale_avail[ci->range][0]; in ad7606_read_raw() [all …]
|
| /drivers/video/fbdev/matrox/ |
| A D | g450_pll.c | 303 if (++ci->valid > ARRAY_SIZE(ci->data)) { in g450_addcache() 304 ci->valid = ARRAY_SIZE(ci->data); in g450_addcache() 306 memmove(ci->data + 1, ci->data, (ci->valid - 1) * sizeof(*ci->data)); in g450_addcache() 317 for (i = 0; i < ci->valid; i++) { in g450_checkcache() 321 mnp = ci->data[i].mnp_value; in g450_checkcache() 323 memmove(ci->data + 1, ci->data, i * sizeof(*ci->data)); in g450_checkcache() 325 ci->data[0].mnp_value = mnp; in g450_checkcache() 339 struct matrox_pll_cache* ci; in __g450_setclk() local 395 ci = &minfo->cache.pixel; in __g450_setclk() 407 ci = &minfo->cache.system; in __g450_setclk() [all …]
|
| /drivers/net/arcnet/ |
| A D | com20020-pci.c | 72 struct com20020_pci_card_info *ci; in led_tx_set() local 77 ci = priv->ci; in led_tx_set() 87 struct com20020_pci_card_info *ci; in led_recon_set() local 92 ci = priv->ci; in led_recon_set() 123 struct com20020_pci_card_info *ci; in com20020pci_probe() local 142 if (!ci) in com20020pci_probe() 145 priv->ci = ci; in com20020pci_probe() 146 mm = &ci->misc_map; in com20020pci_probe() 205 lp->card_flags = ci->flags; in com20020pci_probe() 217 if (ci->flags & ARC_HAS_ROTARY) { in com20020pci_probe() [all …]
|
| /drivers/firmware/arm_scmi/ |
| A D | clock.c | 185 if (clk_id >= ci->num_clocks) in scmi_clock_domain_lookup() 188 return ci->clk + clk_id; in scmi_clock_domain_lookup() 193 struct clock_info *ci) in scmi_clock_protocol_attributes_get() argument 216 ci->notify_rate_changed_cmd = true; in scmi_clock_protocol_attributes_get() 595 if (ci->max_async_req && in scmi_clock_rate_set() 596 atomic_inc_return(&ci->cur_async_req) < ci->max_async_req) in scmi_clock_rate_set() 622 if (ci->max_async_req) in scmi_clock_rate_set() 623 atomic_dec(&ci->cur_async_req); in scmi_clock_rate_set() 917 return ci->num_clocks; in scmi_clock_count_get() 1036 if (!ci) in scmi_clk_get_num_sources() [all …]
|
| /drivers/md/ |
| A D | dm.c | 626 tio = &ci->io->tio; in alloc_tio() 643 tio->io = ci->io; in alloc_tio() 1613 ci->sector += len; in __send_abnormal_io() 1726 ti = dm_table_find_target(ci->map, ci->sector); in __split_and_process_bio() 1737 ci->submit_as_polled = !!(ci->bio->bi_opf & REQ_POLLED); in __split_and_process_bio() 1739 len = min_t(sector_t, max_io_len(ti, ci->sector), ci->sector_count); in __split_and_process_bio() 1740 if (ci->bio->bi_opf & REQ_ATOMIC && len != ci->sector_count) in __split_and_process_bio() 1757 ci->sector += len; in __split_and_process_bio() 1766 ci->map = map; in init_clone_info() 1767 ci->io = io; in init_clone_info() [all …]
|