Home
last modified time | relevance | path

Searched refs:ci (Results 1 – 25 of 234) sorted by relevance

12345678910

/linux/drivers/media/dvb-frontends/
H A Dcxd2099.c53 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 …]
/linux/drivers/usb/chipidea/
H A Dotg_fsm.c36 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 Dudc.c53 static int reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep,
67 static inline int ep_to_bit(struct ci_hdrc *ci, int n) in ep_to_bit() argument
69 int fill = 16 - ci->hw_ep_max / 2; in ep_to_bit()
71 if (n >= ci->hw_ep_max / 2) in ep_to_bit()
84 static int hw_device_state(struct ci_hdrc *ci, u32 dma) in hw_device_state() argument
87 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); in hw_device_state()
89 hw_write(ci, OP_USBINTR, ~0, in hw_device_state()
92 hw_write(ci, OP_USBINTR, ~0, 0); in hw_device_state()
105 static int hw_ep_flush(struct ci_hdrc *ci, int num, int dir) in hw_ep_flush() argument
111 hw_write(ci, OP_ENDPTFLUSH, ~0, BIT(n)); in hw_ep_flush()
[all …]
H A Ddebug.c26 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 Dci_hdrc_pci.c22 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 Dotg.h11 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 Dotg_fsm.h66 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 Duptodate.c56 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 Duptodate.h23 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 Dddbridge-ci.c20 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 Dcaps.c52 struct ceph_inode_info *ci,
442 struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() argument
445 struct rb_node *n = ci->i_caps.rb_node; in __get_cap_for_mds()
459 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds() argument
463 spin_lock(&ci->i_ceph_lock); in ceph_get_cap_for_mds()
464 cap = __get_cap_for_mds(ci, mds); in ceph_get_cap_for_mds()
465 spin_unlock(&ci->i_ceph_lock); in ceph_get_cap_for_mds()
472 static void __insert_cap_node(struct ceph_inode_info *ci, in __insert_cap_node() argument
475 struct rb_node **p = &ci->i_caps.rb_node; in __insert_cap_node()
491 rb_insert_color(&new->ci_node, &ci->i_caps); in __insert_cap_node()
[all …]
H A Dxattr.c18 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 Dinode.c47 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()
219 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_get_snapdir() local
243 ci->i_rbytes = 0; in ceph_get_snapdir()
244 ci->i_btime = ceph_inode(parent)->i_btime; in ceph_get_snapdir()
251 ci->fscrypt_auth = kmemdup(pci->fscrypt_auth, in ceph_get_snapdir()
254 if (ci->fscrypt_auth) { in ceph_get_snapdir()
256 ci->fscrypt_auth_len = pci->fscrypt_auth_len; in ceph_get_snapdir()
267 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir()
[all …]
H A Dcache.c17 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 Dio.c22 static void ceph_block_o_direct(struct ceph_inode_info *ci, struct inode *inode) in ceph_block_o_direct() argument
28 spin_lock(&ci->i_ceph_lock); in ceph_block_o_direct()
31 is_odirect = READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT; in ceph_block_o_direct()
33 clear_bit(CEPH_I_ODIRECT_BIT, &ci->i_ceph_flags); in ceph_block_o_direct()
37 spin_unlock(&ci->i_ceph_lock); in ceph_block_o_direct()
61 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_start_io_read() local
70 spin_lock(&ci->i_ceph_lock); in ceph_start_io_read()
73 is_odirect = READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT; in ceph_start_io_read()
74 spin_unlock(&ci->i_ceph_lock); in ceph_start_io_read()
84 ceph_block_o_direct(ci, inode); in ceph_start_io_read()
[all …]
H A Dsuper.h204 struct ceph_inode_info *ci; member
619 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_ino_compare() local
620 return ci->i_vino.ino == pvino->ino && in ceph_ino_compare()
621 ci->i_vino.snap == pvino->snap; in ceph_ino_compare()
702 static inline void ceph_set_error_write(struct ceph_inode_info *ci) in ceph_set_error_write() argument
704 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ERROR_WRITE)) { in ceph_set_error_write()
705 spin_lock(&ci->i_ceph_lock); in ceph_set_error_write()
706 ci->i_ceph_flags |= CEPH_I_ERROR_WRITE; in ceph_set_error_write()
707 spin_unlock(&ci->i_ceph_lock); in ceph_set_error_write()
711 static inline void ceph_clear_error_write(struct ceph_inode_info *ci) in ceph_clear_error_write() argument
[all …]
H A Dquota.c49 struct ceph_inode_info *ci; in ceph_handle_quota() local
69 ci = ceph_inode(inode); in ceph_handle_quota()
71 spin_lock(&ci->i_ceph_lock); in ceph_handle_quota()
72 ci->i_rbytes = le64_to_cpu(h->rbytes); in ceph_handle_quota()
73 ci->i_rfiles = le64_to_cpu(h->rfiles); in ceph_handle_quota()
74 ci->i_rsubdirs = le64_to_cpu(h->rsubdirs); in ceph_handle_quota()
75 __ceph_update_quota(ci, le64_to_cpu(h->max_bytes), in ceph_handle_quota()
77 spin_unlock(&ci->i_ceph_lock); in ceph_handle_quota()
219 struct ceph_inode_info *ci = NULL; in get_quota_realm() local
265 ci = ceph_inode(in); in get_quota_realm()
[all …]
/linux/drivers/s390/crypto/
H A Dzcrypt_cex4.c84 struct cca_info ci; in cca_serialnr_show() local
86 memset(&ci, 0, sizeof(ci)); in cca_serialnr_show()
88 cca_get_info(ac->id, AUTOSEL_DOM, &ci, 0); in cca_serialnr_show()
90 return sysfs_emit(buf, "%s\n", ci.serial); in cca_serialnr_show()
125 struct cca_info ci; in cca_mkvps_show() local
129 memset(&ci, 0, sizeof(ci)); in cca_mkvps_show()
133 &ci, 0); in cca_mkvps_show()
135 if (ci.new_aes_mk_state >= '1' && ci.new_aes_mk_state <= '3') { in cca_mkvps_show()
136 MKVP_TO_HEXBUF(ci.new_aes_mkvp, hexbuf); in cca_mkvps_show()
138 new_state[ci.new_aes_mk_state - '1'], in cca_mkvps_show()
[all …]
/linux/arch/riscv/kernel/
H A Dcpu.c143 struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo); in riscv_get_marchid() local
146 ci->marchid = sbi_spec_is_0_1() ? 0 : sbi_get_marchid(); in riscv_get_marchid()
148 ci->marchid = csr_read(CSR_MARCHID); in riscv_get_marchid()
150 ci->marchid = 0; in riscv_get_marchid()
152 return ci->marchid; in riscv_get_marchid()
157 struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo); in riscv_get_mvendorid() local
160 ci->mvendorid = sbi_spec_is_0_1() ? 0 : sbi_get_mvendorid(); in riscv_get_mvendorid()
162 ci->mvendorid = csr_read(CSR_MVENDORID); in riscv_get_mvendorid()
164 ci->mvendorid = 0; in riscv_get_mvendorid()
166 return ci->mvendorid; in riscv_get_mvendorid()
[all …]
/linux/fs/smb/server/
H A Dvfs_cache.c174 struct ksmbd_inode *ci = NULL, *ret_ci = NULL; in __ksmbd_inode_lookup() local
176 hlist_for_each_entry(ci, head, m_hash) { in __ksmbd_inode_lookup()
177 if (ci->m_de == de) { in __ksmbd_inode_lookup()
178 if (atomic_inc_not_zero(&ci->m_count)) in __ksmbd_inode_lookup()
179 ret_ci = ci; in __ksmbd_inode_lookup()
193 struct ksmbd_inode *ci; in ksmbd_inode_lookup_lock() local
196 ci = __ksmbd_inode_lookup(d); in ksmbd_inode_lookup_lock()
199 return ci; in ksmbd_inode_lookup_lock()
204 struct ksmbd_inode *ci; in ksmbd_query_inode_status() local
208 ci in ksmbd_query_inode_status()
226 struct ksmbd_inode *ci = fp->f_ci; ksmbd_inode_pending_delete() local
238 struct ksmbd_inode *ci = fp->f_ci; ksmbd_set_inode_pending_delete() local
247 struct ksmbd_inode *ci = fp->f_ci; ksmbd_clear_inode_pending_delete() local
257 struct ksmbd_inode *ci = fp->f_ci; ksmbd_fd_set_delete_on_close() local
267 ksmbd_inode_hash(struct ksmbd_inode * ci) ksmbd_inode_hash() argument
275 ksmbd_inode_unhash(struct ksmbd_inode * ci) ksmbd_inode_unhash() argument
282 ksmbd_inode_init(struct ksmbd_inode * ci,struct ksmbd_file * fp) ksmbd_inode_init() argument
298 struct ksmbd_inode *ci, *tmpci; ksmbd_inode_get() local
330 ksmbd_inode_free(struct ksmbd_inode * ci) ksmbd_inode_free() argument
336 ksmbd_inode_put(struct ksmbd_inode * ci) ksmbd_inode_put() argument
371 struct ksmbd_inode *ci = fp->f_ci; __ksmbd_inode_close() local
710 struct ksmbd_inode *ci; ksmbd_lookup_fd_inode() local
1267 struct ksmbd_inode *ci; session_fd_check() local
1387 struct ksmbd_inode *ci; ksmbd_reopen_durable_fd() local
[all...]
/linux/scripts/gendwarfksyms/
H A Dcache.c16 struct cache_item *ci; in cache_set() local
18 ci = xmalloc(sizeof(*ci)); in cache_set()
19 ci->key = key; in cache_set()
20 ci->value = value; in cache_set()
21 hash_add(cache->cache, &ci->hash, hash_32(key)); in cache_set()
26 struct cache_item *ci; in cache_get() local
28 hash_for_each_possible(cache->cache, ci, hash, hash_32(key)) { in cache_get()
29 if (ci->key == key) in cache_get()
30 return ci->value; in cache_get()
44 struct cache_item *ci; in cache_free() local
[all …]
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_ctrl_mbox.c64 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 Dcpuinfo-pvr-full.c23 #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 …]
/linux/crypto/krb5/
H A Dkrb5_api.c207 struct crypto_aead *ci = NULL; in krb5_prepare_encryption() local
210 ci = crypto_alloc_aead(krb5->encrypt_name, 0, 0); in krb5_prepare_encryption()
211 if (IS_ERR(ci)) { in krb5_prepare_encryption()
212 ret = PTR_ERR(ci); in krb5_prepare_encryption()
218 ret = crypto_aead_setkey(ci, keys->data, keys->len); in krb5_prepare_encryption()
224 ret = crypto_aead_setauthsize(ci, krb5->cksum_len); in krb5_prepare_encryption()
230 return ci; in krb5_prepare_encryption()
232 crypto_free_aead(ci); in krb5_prepare_encryption()
252 struct crypto_aead *ci = NULL; in crypto_krb5_prepare_encryption() local
260 ci = krb5_prepare_encryption(krb5, &keys, gfp); in crypto_krb5_prepare_encryption()
[all …]
/linux/drivers/iio/adc/
H A Dad7606.c293 struct ad7606_chan_info *ci = &st->chan_info[chan->scan_index]; in ad7606_16bit_chan_scale_setup() local
297 ci->range = 0; in ad7606_16bit_chan_scale_setup()
298 ci->scale_avail = ad7606_16bit_hw_scale_avail; in ad7606_16bit_chan_scale_setup()
299 ci->num_scales = ARRAY_SIZE(ad7606_16bit_hw_scale_avail); in ad7606_16bit_chan_scale_setup()
305 ci->range = 2; in ad7606_16bit_chan_scale_setup()
306 ci->scale_avail = ad7606_16bit_sw_scale_avail; in ad7606_16bit_chan_scale_setup()
307 ci->num_scales = ARRAY_SIZE(ad7606_16bit_sw_scale_avail); in ad7606_16bit_chan_scale_setup()
316 struct ad7606_chan_info *ci; in ad7606_get_chan_config() local
360 ci = &st->chan_info[reg - 1]; in ad7606_get_chan_config()
362 ci->r_gain = 0; in ad7606_get_chan_config()
[all …]

12345678910