/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | cxd2099.c | 53 static int read_block(struct cxd *ci, u8 adr, u8 *data, u16 n) in read_block() argument 57 if (ci->lastaddress != adr) in read_block() 58 status = regmap_write(ci->regmap, 0, adr); in read_block() 60 ci->lastaddress = adr; in read_block() 65 if (ci->cfg.max_i2c && len > ci->cfg.max_i2c) in read_block() 66 len = ci->cfg.max_i2c; in read_block() 67 status = regmap_raw_read(ci->regmap, 1, data, len); in read_block() 77 static int read_reg(struct cxd *ci, u8 reg, u8 *val) in read_reg() argument 79 return read_block(ci, reg, val, 1); in read_reg() 82 static int read_pccard(struct cxd *ci, u16 address, u8 *data, u8 n) in read_pccard() argument [all …]
|
/openbmc/linux/drivers/usb/chipidea/ |
H A D | core.c | 40 #include "ci.h" 100 static void hw_alloc_regmap(struct ci_hdrc *ci, bool is_lpm) in hw_alloc_regmap() argument 105 ci->hw_bank.regmap[i] = in hw_alloc_regmap() 106 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap() 110 ci->hw_bank.regmap[i] = ci->hw_bank.op + in hw_alloc_regmap() 118 static enum ci_revision ci_get_revision(struct ci_hdrc *ci) in ci_get_revision() argument 120 int ver = hw_read_id_reg(ci, ID_ID, VERSION) >> __ffs(VERSION); in ci_get_revision() 124 rev = hw_read_id_reg(ci, ID_ID, REVISION) in ci_get_revision() 137 * @ci: the controller 141 u32 hw_read_intr_enable(struct ci_hdrc *ci) in hw_read_intr_enable() argument [all …]
|
H A D | otg_fsm.c | 25 #include "ci.h" 36 struct ci_hdrc *ci = dev_get_drvdata(dev); in a_bus_req_show() local 40 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_req); in a_bus_req_show() 51 struct ci_hdrc *ci = dev_get_drvdata(dev); in a_bus_req_store() local 56 mutex_lock(&ci->fsm.lock); in a_bus_req_store() 58 ci->fsm.a_bus_req = 0; in a_bus_req_store() 61 if (ci->fsm.a_bus_drop) { in a_bus_req_store() 62 mutex_unlock(&ci->fsm.lock); in a_bus_req_store() 65 ci->fsm.a_bus_req = 1; in a_bus_req_store() 66 if (ci->fsm.otg->state == OTG_STATE_A_PERIPHERAL) { in a_bus_req_store() [all …]
|
H A D | otg.c | 19 #include "ci.h" 26 * @ci: the controller 29 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask) in hw_read_otgsc() argument 32 u32 val = hw_read(ci, OP_OTGSC, mask); in hw_read_otgsc() 38 cable = &ci->platdata->vbus_extcon; in hw_read_otgsc() 39 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc() 56 cable = &ci->platdata->id_extcon; in hw_read_otgsc() 57 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc() 79 * @ci: the controller 83 void hw_write_otgsc(struct ci_hdrc *ci, u32 mask, u32 data) in hw_write_otgsc() argument [all …]
|
H A D | udc.c | 24 #include "ci.h" 52 static int reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, 66 static inline int ep_to_bit(struct ci_hdrc *ci, int n) in ep_to_bit() argument 68 int fill = 16 - ci->hw_ep_max / 2; in ep_to_bit() 70 if (n >= ci->hw_ep_max / 2) in ep_to_bit() 78 * @ci: the controller 83 static int hw_device_state(struct ci_hdrc *ci, u32 dma) in hw_device_state() argument 86 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); in hw_device_state() 88 hw_write(ci, OP_USBINTR, ~0, in hw_device_state() 91 hw_write(ci, OP_USBINTR, ~0, 0); in hw_device_state() [all …]
|
H A D | host.c | 20 #include "ci.h" 42 struct ci_hdrc *ci = dev_get_drvdata(dev); in ehci_ci_portpower() local 65 if (ci->platdata->flags & CI_HDRC_PHY_VBUS_CONTROL) { in ehci_ci_portpower() 67 usb_phy_vbus_on(ci->usb_phy); in ehci_ci_portpower() 69 usb_phy_vbus_off(ci->usb_phy); in ehci_ci_portpower() 72 if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) { in ehci_ci_portpower() 77 hw_port_test_set(ci, 5); in ehci_ci_portpower() 78 hw_port_test_set(ci, 0); in ehci_ci_portpower() 86 struct ci_hdrc *ci = dev_get_drvdata(dev); in ehci_ci_reset() local 96 if (ci->platdata->notify_event) { in ehci_ci_reset() [all …]
|
H A D | ci_hdrc_msm.c | 17 #include "ci.h" 30 /* Vendor base starts at 0x200 beyond CI base */ 37 struct platform_device *ci; member 79 static int ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event) in ci_hdrc_msm_notify_event() argument 81 struct device *dev = ci->dev->parent; in ci_hdrc_msm_notify_event() 89 hw_phymode_configure(ci); in ci_hdrc_msm_notify_event() 96 ret = phy_init(ci->phy); in ci_hdrc_msm_notify_event() 100 ret = phy_power_on(ci->phy); in ci_hdrc_msm_notify_event() 102 phy_exit(ci->phy); in ci_hdrc_msm_notify_event() 107 hw_write_id_reg(ci, HS_PHY_AHB_MODE, 0xffffffff, 0x8); in ci_hdrc_msm_notify_event() [all …]
|
H A D | ulpi.c | 10 #include "ci.h" 19 static int ci_ulpi_wait(struct ci_hdrc *ci, u32 mask) in ci_ulpi_wait() argument 24 if (!hw_read(ci, OP_ULPI_VIEWPORT, mask)) in ci_ulpi_wait() 35 struct ci_hdrc *ci = dev_get_drvdata(dev); in ci_ulpi_read() local 38 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, ULPI_WRITE | ULPI_WAKEUP); in ci_ulpi_read() 39 ret = ci_ulpi_wait(ci, ULPI_WAKEUP); in ci_ulpi_read() 43 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, ULPI_RUN | ULPI_ADDR(addr)); in ci_ulpi_read() 44 ret = ci_ulpi_wait(ci, ULPI_RUN); in ci_ulpi_read() 48 return hw_read(ci, OP_ULPI_VIEWPORT, GENMASK(15, 8)) >> 8; in ci_ulpi_read() 53 struct ci_hdrc *ci = dev_get_drvdata(dev); in ci_ulpi_write() local [all …]
|
H A D | debug.c | 16 #include "ci.h" 26 struct ci_hdrc *ci = s->private; in ci_device_show() local 27 struct usb_gadget *gadget = &ci->gadget; in ci_device_show() 39 if (!ci->driver) in ci_device_show() 43 (ci->driver->function ? ci->driver->function : "")); in ci_device_show() 44 seq_printf(s, "gadget max speed = %d\n", ci->driver->max_speed); in ci_device_show() 55 struct ci_hdrc *ci = s->private; in ci_port_test_show() local 59 pm_runtime_get_sync(ci->dev); in ci_port_test_show() 60 spin_lock_irqsave(&ci->lock, flags); in ci_port_test_show() 61 mode = hw_port_test_get(ci); in ci_port_test_show() [all …]
|
H A D | ci.h | 3 * ci.h - common structures, functions, and macros of the ChipIdea driver 85 * @ci: pointer to the controller 103 struct ci_hdrc *ci; member 139 void (*suspend)(struct ci_hdrc *ci); 140 void (*resume)(struct ci_hdrc *ci, bool power_lost); 272 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() argument 274 BUG_ON(ci->role >= CI_ROLE_END || !ci->roles[ci->role]); in ci_role() 275 return ci->roles[ci->role]; in ci_role() 278 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start() argument 285 if (!ci->roles[role]) in ci_role_start() [all …]
|
H A D | ci_hdrc_npcm.c | 13 #include "ci.h" 16 struct platform_device *ci; member 21 static int npcm_udc_notify_event(struct ci_hdrc *ci, unsigned event) in npcm_udc_notify_event() argument 23 struct device *dev = ci->dev->parent; in npcm_udc_notify_event() 28 hw_write(ci, OP_USBMODE, 0xffffffff, 0x0); 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() 50 ci->core_clk = devm_clk_get_optional(dev, NULL); in npcm_udc_probe() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | uptodate.c | 56 u64 ocfs2_metadata_cache_owner(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_owner() argument 58 BUG_ON(!ci || !ci->ci_ops); in ocfs2_metadata_cache_owner() 60 return ci->ci_ops->co_owner(ci); in ocfs2_metadata_cache_owner() 63 struct super_block *ocfs2_metadata_cache_get_super(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_get_super() argument 65 BUG_ON(!ci || !ci->ci_ops); in ocfs2_metadata_cache_get_super() 67 return ci->ci_ops->co_get_super(ci); in ocfs2_metadata_cache_get_super() 70 static void ocfs2_metadata_cache_lock(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_lock() argument 72 BUG_ON(!ci || !ci->ci_ops); in ocfs2_metadata_cache_lock() 74 ci->ci_ops->co_cache_lock(ci); in ocfs2_metadata_cache_lock() 77 static void ocfs2_metadata_cache_unlock(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_unlock() argument [all …]
|
H A D | uptodate.h | 23 u64 (*co_owner)(struct ocfs2_caching_info *ci); 26 struct super_block *(*co_get_super)(struct ocfs2_caching_info *ci); 31 void (*co_cache_lock)(struct ocfs2_caching_info *ci); 32 void (*co_cache_unlock)(struct ocfs2_caching_info *ci); 38 void (*co_io_lock)(struct ocfs2_caching_info *ci); 39 void (*co_io_unlock)(struct ocfs2_caching_info *ci); 45 void ocfs2_metadata_cache_init(struct ocfs2_caching_info *ci, 47 void ocfs2_metadata_cache_purge(struct ocfs2_caching_info *ci); 48 void ocfs2_metadata_cache_exit(struct ocfs2_caching_info *ci); 50 u64 ocfs2_metadata_cache_owner(struct ocfs2_caching_info *ci); [all …]
|
/openbmc/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-ci.c | 3 * ddbridge-ci.c: Digital Devices bridge CI (DuoFlex, CI Bridge) support 12 #include "ddbridge-ci.h" 18 /* Octopus CI internal CI interface */ 20 static int wait_ci_ready(struct ddb_ci *ci) in wait_ci_ready() argument 26 if (ddbreadl(ci->port->dev, in wait_ci_ready() 27 CI_CONTROL(ci->nr)) & CI_READY) in wait_ci_ready() 39 struct ddb_ci *ci = ca->data; in read_attribute_mem() local 44 ddbwritel(ci->port->dev, CI_READ_CMD | (1 << 16) | address, in read_attribute_mem() 45 CI_DO_READ_ATTRIBUTES(ci->nr)); in read_attribute_mem() 46 wait_ci_ready(ci); in read_attribute_mem() [all …]
|
/openbmc/openbmc-build-scripts/jenkins/ |
H A D | userid-validation | 18 -p 29418 jenkins-openbmc-ci@gerrit.openbmc.org gerrit \ 53 aimvalley/ci-authorized \ 54 akamai/ci-authorized \ 55 alibaba/ci-authorized \ 56 amd/ci-authorized \ 57 ami/ci-authorized \ 58 ampere/ci-authorized \ 59 arm/ci-authorized \ 60 aspeed/ci-authorized \ 61 asus/ci-authorized \ [all …]
|
/openbmc/linux/arch/microblaze/kernel/cpu/ |
H A D | cpuinfo-pvr-full.c | 23 #define CI(c, p) { ci->c = PVR_##p(pvr); } macro 28 void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu) in set_cpuinfo_pvr_full() argument 34 CI(ver_code, VERSION); in set_cpuinfo_pvr_full() 35 if (!ci->ver_code) { in set_cpuinfo_pvr_full() 42 if (ci->use_instr != temp) in set_cpuinfo_pvr_full() 44 ci->use_instr = temp; in set_cpuinfo_pvr_full() 47 if (ci->use_mult != temp) in set_cpuinfo_pvr_full() 49 ci->use_mult = temp; in set_cpuinfo_pvr_full() 52 if (ci->use_fpu != temp) in set_cpuinfo_pvr_full() 54 ci->use_fpu = temp; in set_cpuinfo_pvr_full() [all …]
|
H A D | cpuinfo-static.c | 23 void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu) in set_cpuinfo_static() argument 27 ci->use_instr = in set_cpuinfo_static() 40 if (ci->use_instr != i) in set_cpuinfo_static() 43 ci->use_mult = fcpu(cpu, "xlnx,use-hw-mul"); in set_cpuinfo_static() 44 if (ci->use_mult != CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL) in set_cpuinfo_static() 46 ci->use_mult = in set_cpuinfo_static() 47 (ci->use_mult > 1 ? in set_cpuinfo_static() 49 (ci->use_mult == 1 ? PVR0_USE_HW_MUL_MASK : 0)); in set_cpuinfo_static() 51 ci->use_fpu = fcpu(cpu, "xlnx,use-fpu"); in set_cpuinfo_static() 52 if (ci->use_fpu != CONFIG_XILINX_MICROBLAZE0_USE_FPU) in set_cpuinfo_static() [all …]
|
/openbmc/linux/fs/ceph/ |
H A D | xattr.c | 18 static int __remove_xattr(struct ceph_inode_info *ci, 36 ssize_t (*getxattr_cb)(struct ceph_inode_info *ci, char *val, 38 bool (*exists_cb)(struct ceph_inode_info *ci); 49 static bool ceph_vxattrcb_layout_exists(struct ceph_inode_info *ci) in ceph_vxattrcb_layout_exists() argument 51 struct ceph_file_layout *fl = &ci->i_layout; in ceph_vxattrcb_layout_exists() 57 static ssize_t ceph_vxattrcb_layout(struct ceph_inode_info *ci, char *val, in ceph_vxattrcb_layout() argument 60 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); in ceph_vxattrcb_layout() 63 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout() 70 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout() 72 dout("ceph_vxattrcb_layout %p\n", &ci->netfs.inode); in ceph_vxattrcb_layout() [all …]
|
H A D | caps.c | 50 struct ceph_inode_info *ci, 435 struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() argument 438 struct rb_node *n = ci->i_caps.rb_node; in __get_cap_for_mds() 452 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds() argument 456 spin_lock(&ci->i_ceph_lock); in ceph_get_cap_for_mds() 457 cap = __get_cap_for_mds(ci, mds); in ceph_get_cap_for_mds() 458 spin_unlock(&ci->i_ceph_lock); in ceph_get_cap_for_mds() 465 static void __insert_cap_node(struct ceph_inode_info *ci, in __insert_cap_node() argument 468 struct rb_node **p = &ci->i_caps.rb_node; in __insert_cap_node() 484 rb_insert_color(&new->ci_node, &ci->i_caps); in __insert_cap_node() [all …]
|
H A D | inode.c | 47 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_set_ino_cb() local 50 ci->i_vino = *(struct ceph_vino *)data; in ceph_set_ino_cb() 51 inode->i_ino = ceph_vino_to_ino_t(ci->i_vino); in ceph_set_ino_cb() 167 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_get_snapdir() local 191 ci->i_rbytes = 0; in ceph_get_snapdir() 192 ci->i_btime = ceph_inode(parent)->i_btime; in ceph_get_snapdir() 199 ci->fscrypt_auth = kmemdup(pci->fscrypt_auth, in ceph_get_snapdir() 202 if (ci->fscrypt_auth) { in ceph_get_snapdir() 204 ci->fscrypt_auth_len = pci->fscrypt_auth_len; in ceph_get_snapdir() 215 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir() [all …]
|
H A D | cache.c | 17 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_register_inode_cookie() local 32 WARN_ON_ONCE(ci->netfs.cache); in ceph_fscache_register_inode_cookie() 34 ci->netfs.cache = in ceph_fscache_register_inode_cookie() 36 &ci->i_vino, sizeof(ci->i_vino), in ceph_fscache_register_inode_cookie() 37 &ci->i_version, sizeof(ci->i_version), in ceph_fscache_register_inode_cookie() 39 if (ci->netfs.cache) in ceph_fscache_register_inode_cookie() 43 void ceph_fscache_unregister_inode_cookie(struct ceph_inode_info *ci) in ceph_fscache_unregister_inode_cookie() argument 45 fscache_relinquish_cookie(ceph_fscache_cookie(ci), false); in ceph_fscache_unregister_inode_cookie() 50 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_use_cookie() local 52 fscache_use_cookie(ceph_fscache_cookie(ci), will_modify); in ceph_fscache_use_cookie() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | chip.c | 241 static void brcmf_chip_sb_corerev(struct brcmf_chip_priv *ci, in brcmf_chip_sb_corerev() argument 246 regdata = ci->ops->read32(ci->ctx, CORE_SB(core->base, sbidhigh)); in brcmf_chip_sb_corerev() 252 struct brcmf_chip_priv *ci; in brcmf_chip_sb_iscoreup() local 256 ci = core->chip; in brcmf_chip_sb_iscoreup() 258 regdata = ci->ops->read32(ci->ctx, address); in brcmf_chip_sb_iscoreup() 266 struct brcmf_chip_priv *ci; in brcmf_chip_ai_iscoreup() local 270 ci = core->chip; in brcmf_chip_ai_iscoreup() 271 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_iscoreup() 274 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_RESET_CTL); in brcmf_chip_ai_iscoreup() 283 struct brcmf_chip_priv *ci; in brcmf_chip_sb_coredisable() local [all …]
|
/openbmc/linux/drivers/gpu/drm/ci/ |
H A D | gitlab-ci.yml | 2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa 3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha edfbf74df1d4d6ce54ffe24566108be0e1a98c3d 14 MESA_TEMPLATES_COMMIT: &ci-templates-commit d5aa3941aa03c2f716595116354fb81eb8012acb 18 …retry-delay 60 -s ${DRM_CI_PROJECT_URL}/-/raw/${DRM_CI_COMMIT_SHA}/.gitlab-ci/download-git-cache.s… 28 KERNEL_IMAGE_BASE: https://${S3_HOST}/mesa-lava/gfx-ci/linux/v6.4.12-for-mesa-ci-f6b4ad45f48d 35 …ir "${SCRIPTS_DIR}" "${DRM_CI_PROJECT_URL}/-/raw/${DRM_CI_COMMIT_SHA}/.gitlab-ci/setup-test-env.sh" 46 - mv mesa-$DRM_CI_COMMIT_SHA/.gitlab-ci* . 73 - project: 'freedesktop/ci-templates' 76 - '/templates/ci-fairy.yml' 77 - project: 'freedesktop/ci-templates' [all …]
|
/openbmc/qemu/.gitlab-ci.d/cirrus/ |
H A D | README.rst | 1 Cirrus CI integration 4 GitLab CI shared runners only provide a docker environment running on Linux. 8 To work around this limitation, we take advantage of `Cirrus CI`_'s free 10 CI jobs from GitLab CI jobs so that Cirrus CI job output is integrated into 11 the main GitLab CI pipeline dashboard. 20 * enable the `Cirrus CI GitHub app`_ for your GitHub account; 22 * sign up for Cirrus CI. It's enough to log into the website using your GitHub 25 * grab an API token from the `Cirrus CI settings`_ page; 28 for Cirrus CI to properly recognize the project. You can check whether 29 Cirrus CI knows about your project by navigating to: [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | vfs_cache.c | 73 struct ksmbd_inode *ci = NULL, *ret_ci = NULL; in __ksmbd_inode_lookup() local 75 hlist_for_each_entry(ci, head, m_hash) { in __ksmbd_inode_lookup() 76 if (ci->m_de == de) { in __ksmbd_inode_lookup() 77 if (atomic_inc_not_zero(&ci->m_count)) in __ksmbd_inode_lookup() 78 ret_ci = ci; in __ksmbd_inode_lookup() 92 struct ksmbd_inode *ci; in ksmbd_inode_lookup_lock() local 95 ci = __ksmbd_inode_lookup(d); in ksmbd_inode_lookup_lock() 98 return ci; in ksmbd_inode_lookup_lock() 103 struct ksmbd_inode *ci; in ksmbd_query_inode_status() local 107 ci = __ksmbd_inode_lookup(dentry); in ksmbd_query_inode_status() [all …]
|