/linux/drivers/usb/chipidea/ |
H A D | otg_fsm.c | 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() 67 ci->gadget.host_request_flag = 1; in a_bus_req_store() [all …]
|
H A D | otg.c | 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() 83 void hw_write_otgsc(struct ci_hdrc *ci, u32 mask, u32 data) in hw_write_otgsc() argument 87 cable = &ci->platdata->vbus_extcon; in hw_write_otgsc() 88 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_write_otgsc() 101 cable = &ci->platdata->id_extcon; in hw_write_otgsc() [all …]
|
H A D | host.c | 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() 97 ret = ci->platdata->notify_event(ci, in ehci_ci_reset() [all …]
|
H A D | ci.h | 102 struct ci_hdrc *ci; member 138 void (*suspend)(struct ci_hdrc *ci); 139 void (*resume)(struct ci_hdrc *ci, bool power_lost); 270 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() argument 272 BUG_ON(ci->role >= CI_ROLE_END || !ci->roles[ci->role]); in ci_role() 273 return ci->roles[ci->role]; in ci_role() 276 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start() argument 283 if (!ci->roles[role]) in ci_role_start() 286 ret = ci->roles[role]->start(ci); in ci_role_start() 290 ci->role = role; in ci_role_start() [all …]
|
H A D | ci_hdrc_msm.c | 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() 110 hw_write_id_reg(ci, HS_PHY_GENCONFIG, in ci_hdrc_msm_notify_event() 114 hw_write_id_reg(ci, HS_PHY_GENCONFIG_2, in ci_hdrc_msm_notify_event() [all …]
|
H A D | debug.c | 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() 62 spin_unlock_irqrestore(&ci->lock, flags); in ci_port_test_show() [all …]
|
H 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() 84 ci->phy = usb_phy_generic_register(); 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() 98 usb_phy_generic_unregister(ci->phy); in ci_hdrc_pci_probe() [all …]
|
H 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 …]
|
H 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
|
/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 …]
|
/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-ci.c | 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() 47 val = 0xff & ddbreadl(ci->port->dev, CI_BUFFER(ci->nr) + off); in read_attribute_mem() 54 struct ddb_ci *ci = ca->data; in write_attribute_mem() local 56 ddbwritel(ci->port->dev, CI_WRITE_CMD | (value << 16) | address, in write_attribute_mem() [all …]
|
/linux/fs/ceph/ |
H A D | caps.c | 51 struct ceph_inode_info *ci, 441 struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() argument 444 struct rb_node *n = ci->i_caps.rb_node; in __get_cap_for_mds() 458 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds() argument 462 spin_lock(&ci->i_ceph_lock); in ceph_get_cap_for_mds() 463 cap = __get_cap_for_mds(ci, mds); in ceph_get_cap_for_mds() 464 spin_unlock(&ci->i_ceph_lock); in ceph_get_cap_for_mds() 471 static void __insert_cap_node(struct ceph_inode_info *ci, in __insert_cap_node() argument 474 struct rb_node **p = &ci->i_caps.rb_node; in __insert_cap_node() 490 rb_insert_color(&new->ci_node, &ci->i_caps); in __insert_cap_node() [all …]
|
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() 64 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout() 71 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout() 73 doutc(cl, "%p\n", &ci->netfs.inode); in ceph_vxattrcb_layout() [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() 173 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_get_snapdir() local 197 ci->i_rbytes = 0; in ceph_get_snapdir() 198 ci->i_btime = ceph_inode(parent)->i_btime; in ceph_get_snapdir() 205 ci->fscrypt_auth = kmemdup(pci->fscrypt_auth, in ceph_get_snapdir() 208 if (ci->fscrypt_auth) { in ceph_get_snapdir() 210 ci->fscrypt_auth_len = pci->fscrypt_auth_len; in ceph_get_snapdir() 221 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 …]
|
H A D | super.h | 177 struct ceph_inode_info *ci; member 582 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_ino_compare() local 583 return ci->i_vino.ino == pvino->ino && in ceph_ino_compare() 584 ci->i_vino.snap == pvino->snap; in ceph_ino_compare() 664 static inline void ceph_set_error_write(struct ceph_inode_info *ci) in ceph_set_error_write() argument 666 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ERROR_WRITE)) { in ceph_set_error_write() 667 spin_lock(&ci->i_ceph_lock); in ceph_set_error_write() 668 ci->i_ceph_flags |= CEPH_I_ERROR_WRITE; in ceph_set_error_write() 669 spin_unlock(&ci->i_ceph_lock); in ceph_set_error_write() 673 static inline void ceph_clear_error_write(struct ceph_inode_info *ci) in ceph_clear_error_write() argument [all …]
|
H A D | io.c | 22 static void ceph_block_o_direct(struct ceph_inode_info *ci, struct inode *inode) in ceph_block_o_direct() argument 26 if (READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT) { in ceph_block_o_direct() 27 spin_lock(&ci->i_ceph_lock); in ceph_block_o_direct() 28 ci->i_ceph_flags &= ~CEPH_I_ODIRECT; in ceph_block_o_direct() 29 spin_unlock(&ci->i_ceph_lock); in ceph_block_o_direct() 53 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_start_io_read() local 57 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT)) in ceph_start_io_read() 62 ceph_block_o_direct(ci, inode); in ceph_start_io_read() 107 static void ceph_block_buffered(struct ceph_inode_info *ci, struct inode *inode) in ceph_block_buffered() argument 111 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT)) { in ceph_block_buffered() [all …]
|
/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 …]
|
/linux/fs/crypto/ |
H A D | keysetup.c | 151 const u8 *raw_key, const struct fscrypt_inode_info *ci) in fscrypt_prepare_key() argument 155 if (fscrypt_using_inline_encryption(ci)) in fscrypt_prepare_key() 156 return fscrypt_prepare_inline_crypt_key(prep_key, raw_key, ci); in fscrypt_prepare_key() 158 tfm = fscrypt_allocate_skcipher(ci->ci_mode, raw_key, ci->ci_inode); in fscrypt_prepare_key() 181 int fscrypt_set_per_file_enc_key(struct fscrypt_inode_info *ci, in fscrypt_set_per_file_enc_key() argument 184 ci->ci_owns_key = true; in fscrypt_set_per_file_enc_key() 185 return fscrypt_prepare_key(&ci->ci_enc_key, raw_key, ci); in fscrypt_set_per_file_enc_key() 188 static int setup_per_mode_enc_key(struct fscrypt_inode_info *ci, in setup_per_mode_enc_key() argument 193 const struct inode *inode = ci->ci_inode; in setup_per_mode_enc_key() 195 struct fscrypt_mode *mode = ci->ci_mode; in setup_per_mode_enc_key() [all …]
|
H A D | keysetup_v1.c | 182 const struct fscrypt_inode_info *ci) in find_or_insert_direct_key() argument 194 memcpy(&hash_key, ci->ci_policy.v1.master_key_descriptor, in find_or_insert_direct_key() 199 if (memcmp(ci->ci_policy.v1.master_key_descriptor, in find_or_insert_direct_key() 202 if (ci->ci_mode != dk->dk_mode) in find_or_insert_direct_key() 204 if (!fscrypt_is_key_prepared(&dk->dk_key, ci)) in find_or_insert_direct_key() 206 if (crypto_memneq(raw_key, dk->dk_raw, ci->ci_mode->keysize)) in find_or_insert_direct_key() 222 fscrypt_get_direct_key(const struct fscrypt_inode_info *ci, const u8 *raw_key) in fscrypt_get_direct_key() argument 228 dk = find_or_insert_direct_key(NULL, raw_key, ci); in fscrypt_get_direct_key() 236 dk->dk_sb = ci->ci_inode->i_sb; in fscrypt_get_direct_key() 238 dk->dk_mode = ci->ci_mode; in fscrypt_get_direct_key() [all …]
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_cex4.c | 83 struct cca_info ci; in cca_serialnr_show() local 86 memset(&ci, 0, sizeof(ci)); in cca_serialnr_show() 89 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show() 91 return sysfs_emit(buf, "%s\n", ci.serial); in cca_serialnr_show() 115 struct cca_info ci; in cca_mkvps_show() local 119 memset(&ci, 0, sizeof(ci)); in cca_mkvps_show() 123 &ci, zq->online); in cca_mkvps_show() 125 if (ci.new_aes_mk_state >= '1' && ci.new_aes_mk_state <= '3') in cca_mkvps_show() 127 new_state[ci.new_aes_mk_state - '1'], in cca_mkvps_show() 128 ci.new_aes_mkvp); in cca_mkvps_show() [all …]
|
/linux/arch/riscv/kernel/ |
H A D | cpu.c | 145 struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo); in riscv_get_marchid() local 148 ci->marchid = sbi_spec_is_0_1() ? 0 : sbi_get_marchid(); in riscv_get_marchid() 150 ci->marchid = csr_read(CSR_MARCHID); in riscv_get_marchid() 152 ci->marchid = 0; in riscv_get_marchid() 154 return ci->marchid; in riscv_get_marchid() 159 struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo); in riscv_get_mvendorid() local 162 ci->mvendorid = sbi_spec_is_0_1() ? 0 : sbi_get_mvendorid(); in riscv_get_mvendorid() 164 ci->mvendorid = csr_read(CSR_MVENDORID); in riscv_get_mvendorid() 166 ci->mvendorid = 0; in riscv_get_mvendorid() 168 return ci->mvendorid; in riscv_get_mvendorid() [all …]
|
/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_ctrl_mbox.c | 64 static u32 octep_ctrl_mbox_circq_space(u32 pi, u32 ci, u32 sz) in octep_ctrl_mbox_circq_space() argument 66 return sz - (abs(pi - ci) % sz); in octep_ctrl_mbox_circq_space() 69 static u32 octep_ctrl_mbox_circq_depth(u32 pi, u32 ci, u32 sz) in octep_ctrl_mbox_circq_depth() argument 71 return (abs(pi - ci) % sz); in octep_ctrl_mbox_circq_depth() 133 octep_write_mbox_data(struct octep_ctrl_mbox_q *q, u32 *pi, u32 ci, void *buf, u32 w_sz) in octep_write_mbox_data() argument 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() 178 if (octep_ctrl_mbox_circq_space(pi, ci, q->sz) < (msg->hdr.s.sz + mbox_hdr_sz)) { in octep_ctrl_mbox_send() 183 octep_write_mbox_data(q, &pi, ci, (void *)&msg->hdr, mbox_hdr_sz); in octep_ctrl_mbox_send() [all …]
|
/linux/arch/microblaze/kernel/cpu/ |
H A D | cpuinfo-pvr-full.c | 23 #define CI(c, p) { ci->c = PVR_##p(pvr); } 28 void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu) in set_cpuinfo_pvr_full() argument 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() 56 ci->use_exc = PVR_OPCODE_0x0_ILLEGAL(pvr) | in set_cpuinfo_pvr_full() [all …]
|