/linux-4.1.27/drivers/usb/chipidea/ |
D | core.c | 121 static int hw_alloc_regmap(struct ci_hdrc *ci, bool is_lpm) in hw_alloc_regmap() argument 126 ci->hw_bank.regmap[i] = in hw_alloc_regmap() 127 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap() 131 ci->hw_bank.regmap[i] = ci->hw_bank.op + in hw_alloc_regmap() 140 static enum ci_revision ci_get_revision(struct ci_hdrc *ci) in ci_get_revision() argument 142 int ver = hw_read_id_reg(ci, ID_ID, VERSION) >> __ffs(VERSION); in ci_get_revision() 146 rev = hw_read_id_reg(ci, ID_ID, REVISION) in ci_get_revision() 163 u32 hw_read_intr_enable(struct ci_hdrc *ci) in hw_read_intr_enable() argument 165 return hw_read(ci, OP_USBINTR, ~0); in hw_read_intr_enable() 175 u32 hw_read_intr_status(struct ci_hdrc *ci) in hw_read_intr_status() argument [all …]
|
D | otg_fsm.c | 39 struct ci_hdrc *ci = dev_get_drvdata(dev); in get_a_bus_req() local 43 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_req); in get_a_bus_req() 54 struct ci_hdrc *ci = dev_get_drvdata(dev); in set_a_bus_req() local 59 mutex_lock(&ci->fsm.lock); in set_a_bus_req() 61 ci->fsm.a_bus_req = 0; in set_a_bus_req() 64 if (ci->fsm.a_bus_drop) { in set_a_bus_req() 65 mutex_unlock(&ci->fsm.lock); in set_a_bus_req() 68 ci->fsm.a_bus_req = 1; in set_a_bus_req() 71 ci_otg_queue_work(ci); in set_a_bus_req() 72 mutex_unlock(&ci->fsm.lock); in set_a_bus_req() [all …]
|
D | otg.c | 31 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask) in hw_read_otgsc() argument 33 return hw_read(ci, OP_OTGSC, mask); in hw_read_otgsc() 41 void hw_write_otgsc(struct ci_hdrc *ci, u32 mask, u32 data) in hw_write_otgsc() argument 43 hw_write(ci, OP_OTGSC, mask | OTGSC_INT_STATUS_BITS, data); in hw_write_otgsc() 50 enum ci_role ci_otg_role(struct ci_hdrc *ci) in ci_otg_role() argument 52 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) in ci_otg_role() 59 void ci_handle_vbus_change(struct ci_hdrc *ci) in ci_handle_vbus_change() argument 61 if (!ci->is_otg) in ci_handle_vbus_change() 64 if (hw_read_otgsc(ci, OTGSC_BSV)) in ci_handle_vbus_change() 65 usb_gadget_vbus_connect(&ci->gadget); in ci_handle_vbus_change() [all …]
|
D | udc.c | 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() 82 static int hw_device_state(struct ci_hdrc *ci, u32 dma) in hw_device_state() argument 85 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); in hw_device_state() 87 hw_write(ci, OP_USBINTR, ~0, in hw_device_state() 90 hw_write(ci, OP_USBINTR, ~0, 0); in hw_device_state() 102 static int hw_ep_flush(struct ci_hdrc *ci, int num, int dir) in hw_ep_flush() argument 108 hw_write(ci, OP_ENDPTFLUSH, ~0, BIT(n)); in hw_ep_flush() 109 while (hw_read(ci, OP_ENDPTFLUSH, BIT(n))) in hw_ep_flush() [all …]
|
D | host.c | 75 static irqreturn_t host_irq(struct ci_hdrc *ci) in host_irq() argument 77 return usb_hcd_irq(ci->irq, ci->hcd); in host_irq() 80 static int host_start(struct ci_hdrc *ci) in host_start() argument 90 hcd = usb_create_hcd(&ci_ehci_hc_driver, ci->dev, dev_name(ci->dev)); in host_start() 94 dev_set_drvdata(ci->dev, ci); in host_start() 95 hcd->rsrc_start = ci->hw_bank.phys; in host_start() 96 hcd->rsrc_len = ci->hw_bank.size; in host_start() 97 hcd->regs = ci->hw_bank.abs; in host_start() 100 hcd->power_budget = ci->platdata->power_budget; in host_start() 101 hcd->tpl_support = ci->platdata->tpl_support; in host_start() [all …]
|
D | debug.c | 25 struct ci_hdrc *ci = s->private; in ci_device_show() local 26 struct usb_gadget *gadget = &ci->gadget; in ci_device_show() 38 if (!ci->driver) in ci_device_show() 42 (ci->driver->function ? ci->driver->function : "")); in ci_device_show() 43 seq_printf(s, "gadget max speed = %d\n", ci->driver->max_speed); in ci_device_show() 65 struct ci_hdrc *ci = s->private; in ci_port_test_show() local 69 spin_lock_irqsave(&ci->lock, flags); in ci_port_test_show() 70 mode = hw_port_test_get(ci); in ci_port_test_show() 71 spin_unlock_irqrestore(&ci->lock, flags); in ci_port_test_show() 85 struct ci_hdrc *ci = s->private; in ci_port_test_write() local [all …]
|
D | ci.h | 97 struct ci_hdrc *ci; member 251 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() argument 253 BUG_ON(ci->role >= CI_ROLE_END || !ci->roles[ci->role]); in ci_role() 254 return ci->roles[ci->role]; in ci_role() 257 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start() argument 264 if (!ci->roles[role]) in ci_role_start() 267 ret = ci->roles[role]->start(ci); in ci_role_start() 269 ci->role = role; in ci_role_start() 273 static inline void ci_role_stop(struct ci_hdrc *ci) in ci_role_stop() argument 275 enum ci_role role = ci->role; in ci_role_stop() [all …]
|
D | ci_hdrc_pci.c | 25 struct platform_device *ci; member 61 struct ci_hdrc_pci *ci; in ci_hdrc_pci_probe() local 70 ci = devm_kzalloc(&pdev->dev, sizeof(*ci), GFP_KERNEL); in ci_hdrc_pci_probe() 71 if (!ci) in ci_hdrc_pci_probe() 87 ci->phy = usb_phy_generic_register(); in ci_hdrc_pci_probe() 88 if (!ci->phy) in ci_hdrc_pci_probe() 98 ci->ci = ci_hdrc_add_device(&pdev->dev, res, nres, platdata); in ci_hdrc_pci_probe() 99 if (IS_ERR(ci->ci)) { in ci_hdrc_pci_probe() 101 usb_phy_generic_unregister(ci->phy); in ci_hdrc_pci_probe() 102 return PTR_ERR(ci->ci); in ci_hdrc_pci_probe() [all …]
|
D | otg.h | 14 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask); 15 void hw_write_otgsc(struct ci_hdrc *ci, u32 mask, u32 data); 16 int ci_hdrc_otg_init(struct ci_hdrc *ci); 17 void ci_hdrc_otg_destroy(struct ci_hdrc *ci); 18 enum ci_role ci_otg_role(struct ci_hdrc *ci); 19 void ci_handle_vbus_change(struct ci_hdrc *ci); 20 static inline void ci_otg_queue_work(struct ci_hdrc *ci) in ci_otg_queue_work() argument 22 disable_irq_nosync(ci->irq); in ci_otg_queue_work() 23 queue_work(ci->wq, &ci->work); in ci_otg_queue_work()
|
D | otg_fsm.h | 67 int ci_hdrc_otg_fsm_init(struct ci_hdrc *ci); 68 int ci_otg_fsm_work(struct ci_hdrc *ci); 69 irqreturn_t ci_otg_fsm_irq(struct ci_hdrc *ci); 70 void ci_hdrc_otg_fsm_start(struct ci_hdrc *ci); 71 void ci_hdrc_otg_fsm_remove(struct ci_hdrc *ci); 75 static inline int ci_hdrc_otg_fsm_init(struct ci_hdrc *ci) in ci_hdrc_otg_fsm_init() argument 80 static inline int ci_otg_fsm_work(struct ci_hdrc *ci) in ci_otg_fsm_work() argument 85 static inline irqreturn_t ci_otg_fsm_irq(struct ci_hdrc *ci) in ci_otg_fsm_irq() argument 90 static inline void ci_hdrc_otg_fsm_start(struct ci_hdrc *ci) in ci_hdrc_otg_fsm_start() argument 95 static inline void ci_hdrc_otg_fsm_remove(struct ci_hdrc *ci) in ci_hdrc_otg_fsm_remove() argument
|
D | debug.h | 17 int dbg_create_files(struct ci_hdrc *ci); 18 void dbg_remove_files(struct ci_hdrc *ci); 20 static inline int dbg_create_files(struct ci_hdrc *ci) in dbg_create_files() argument 25 static inline void dbg_remove_files(struct ci_hdrc *ci) in dbg_remove_files() argument
|
D | host.h | 6 int ci_hdrc_host_init(struct ci_hdrc *ci); 7 void ci_hdrc_host_destroy(struct ci_hdrc *ci); 12 static inline int ci_hdrc_host_init(struct ci_hdrc *ci) in ci_hdrc_host_init() argument 17 static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci) in ci_hdrc_host_destroy() argument
|
D | ci_hdrc_msm.c | 18 #define MSM_USB_BASE (ci->hw_bank.abs) 20 static void ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event) in ci_hdrc_msm_notify_event() argument 22 struct device *dev = ci->gadget.dev.parent; in ci_hdrc_msm_notify_event() 29 usb_phy_init(ci->usb_phy); in ci_hdrc_msm_notify_event() 37 usb_phy_notify_disconnect(ci->usb_phy, USB_SPEED_UNKNOWN); in ci_hdrc_msm_notify_event()
|
D | udc.h | 86 int ci_hdrc_gadget_init(struct ci_hdrc *ci); 87 void ci_hdrc_gadget_destroy(struct ci_hdrc *ci); 91 static inline int ci_hdrc_gadget_init(struct ci_hdrc *ci) in ci_hdrc_gadget_init() argument 96 static inline void ci_hdrc_gadget_destroy(struct ci_hdrc *ci) in ci_hdrc_gadget_destroy() argument
|
D | Kconfig | 9 When compiled dynamically, the module will be called ci-hdrc.ko.
|
/linux-4.1.27/drivers/staging/media/cxd2099/ |
D | cxd2099.c | 117 static int read_block(struct cxd *ci, u8 adr, u8 *data, u8 n) in read_block() argument 121 status = i2c_write_reg(ci->i2c, ci->cfg.adr, 0, adr); in read_block() 123 ci->lastaddress = adr; in read_block() 124 status = i2c_read(ci->i2c, ci->cfg.adr, 1, data, n); in read_block() 129 static int read_reg(struct cxd *ci, u8 reg, u8 *val) in read_reg() argument 131 return read_block(ci, reg, val, 1); in read_reg() 135 static int read_pccard(struct cxd *ci, u16 address, u8 *data, u8 n) in read_pccard() argument 140 status = i2c_write(ci->i2c, ci->cfg.adr, addr, 3); in read_pccard() 142 status = i2c_read(ci->i2c, ci->cfg.adr, 3, data, n); in read_pccard() 146 static int write_pccard(struct cxd *ci, u16 address, u8 *data, u8 n) in write_pccard() argument [all …]
|
/linux-4.1.27/fs/ocfs2/ |
D | uptodate.c | 72 u64 ocfs2_metadata_cache_owner(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_owner() argument 74 BUG_ON(!ci || !ci->ci_ops); in ocfs2_metadata_cache_owner() 76 return ci->ci_ops->co_owner(ci); in ocfs2_metadata_cache_owner() 79 struct super_block *ocfs2_metadata_cache_get_super(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_get_super() argument 81 BUG_ON(!ci || !ci->ci_ops); in ocfs2_metadata_cache_get_super() 83 return ci->ci_ops->co_get_super(ci); in ocfs2_metadata_cache_get_super() 86 static void ocfs2_metadata_cache_lock(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_lock() argument 88 BUG_ON(!ci || !ci->ci_ops); in ocfs2_metadata_cache_lock() 90 ci->ci_ops->co_cache_lock(ci); in ocfs2_metadata_cache_lock() 93 static void ocfs2_metadata_cache_unlock(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_unlock() argument [all …]
|
D | uptodate.h | 39 u64 (*co_owner)(struct ocfs2_caching_info *ci); 42 struct super_block *(*co_get_super)(struct ocfs2_caching_info *ci); 47 void (*co_cache_lock)(struct ocfs2_caching_info *ci); 48 void (*co_cache_unlock)(struct ocfs2_caching_info *ci); 54 void (*co_io_lock)(struct ocfs2_caching_info *ci); 55 void (*co_io_unlock)(struct ocfs2_caching_info *ci); 61 void ocfs2_metadata_cache_init(struct ocfs2_caching_info *ci, 63 void ocfs2_metadata_cache_purge(struct ocfs2_caching_info *ci); 64 void ocfs2_metadata_cache_exit(struct ocfs2_caching_info *ci); 66 u64 ocfs2_metadata_cache_owner(struct ocfs2_caching_info *ci); [all …]
|
D | buffer_head_io.c | 54 struct ocfs2_caching_info *ci) in ocfs2_write_block() argument 58 trace_ocfs2_write_block((unsigned long long)bh->b_blocknr, ci); in ocfs2_write_block() 72 ocfs2_metadata_cache_io_lock(ci); in ocfs2_write_block() 87 ocfs2_set_buffer_uptodate(ci, bh); in ocfs2_write_block() 96 ocfs2_metadata_cache_io_unlock(ci); in ocfs2_write_block() 176 int ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr, in ocfs2_read_blocks() argument 184 struct super_block *sb = ocfs2_metadata_cache_get_super(ci); in ocfs2_read_blocks() 186 trace_ocfs2_read_blocks_begin(ci, (unsigned long long)block, nr, flags); in ocfs2_read_blocks() 188 BUG_ON(!ci); in ocfs2_read_blocks() 210 ocfs2_metadata_cache_io_lock(ci); in ocfs2_read_blocks() [all …]
|
D | journal.h | 95 struct ocfs2_caching_info *ci) in ocfs2_set_ci_lock_trans() argument 98 ci->ci_last_trans = journal->j_trans_id; in ocfs2_set_ci_lock_trans() 107 static inline int ocfs2_ci_fully_checkpointed(struct ocfs2_caching_info *ci) in ocfs2_ci_fully_checkpointed() argument 111 OCFS2_SB(ocfs2_metadata_cache_get_super(ci))->journal; in ocfs2_ci_fully_checkpointed() 114 ret = time_after(journal->j_trans_id, ci->ci_last_trans); in ocfs2_ci_fully_checkpointed() 123 static inline int ocfs2_ci_is_new(struct ocfs2_caching_info *ci) in ocfs2_ci_is_new() argument 127 OCFS2_SB(ocfs2_metadata_cache_get_super(ci))->journal; in ocfs2_ci_is_new() 130 ret = !(time_after(journal->j_trans_id, ci->ci_created_trans)); in ocfs2_ci_is_new() 132 ci->ci_created_trans = 0; in ocfs2_ci_is_new() 150 struct ocfs2_caching_info *ci) in ocfs2_ci_set_new() argument [all …]
|
D | buffer_head_io.h | 36 struct ocfs2_caching_info *ci); 47 int ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr, 58 static inline int ocfs2_read_block(struct ocfs2_caching_info *ci, u64 off, in ocfs2_read_block() argument 71 status = ocfs2_read_blocks(ci, off, 1, bh, 0, validate); in ocfs2_read_block()
|
D | alloc.h | 71 struct ocfs2_caching_info *ci, 74 struct ocfs2_caching_info *ci, 78 struct ocfs2_caching_info *ci, 81 struct ocfs2_caching_info *ci, 84 struct ocfs2_caching_info *ci, 92 int ocfs2_read_extent_block(struct ocfs2_caching_info *ci, u64 eb_blkno, 237 int ocfs2_find_leaf(struct ocfs2_caching_info *ci, 305 int ocfs2_find_path(struct ocfs2_caching_info *ci, 311 struct ocfs2_caching_info *ci, 314 int ocfs2_journal_access_path(struct ocfs2_caching_info *ci,
|
D | refcounttree.c | 75 cache_info_to_refcount(struct ocfs2_caching_info *ci) in cache_info_to_refcount() argument 77 return container_of(ci, struct ocfs2_refcount_tree, rf_ci); in cache_info_to_refcount() 133 static int ocfs2_read_refcount_block(struct ocfs2_caching_info *ci, in ocfs2_read_refcount_block() argument 140 rc = ocfs2_read_block(ci, rb_blkno, &tmp, in ocfs2_read_refcount_block() 150 static u64 ocfs2_refcount_cache_owner(struct ocfs2_caching_info *ci) in ocfs2_refcount_cache_owner() argument 152 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_owner() 158 ocfs2_refcount_cache_get_super(struct ocfs2_caching_info *ci) in ocfs2_refcount_cache_get_super() argument 160 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_get_super() 165 static void ocfs2_refcount_cache_lock(struct ocfs2_caching_info *ci) in ocfs2_refcount_cache_lock() argument 167 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_lock() [all …]
|
D | journal.c | 651 struct ocfs2_caching_info *ci, in __ocfs2_journal_access() argument 658 OCFS2_SB(ocfs2_metadata_cache_get_super(ci)); in __ocfs2_journal_access() 660 BUG_ON(!ci || !ci->ci_ops); in __ocfs2_journal_access() 665 (unsigned long long)ocfs2_metadata_cache_owner(ci), in __ocfs2_journal_access() 682 ocfs2_set_ci_lock_trans(osb->journal, ci); in __ocfs2_journal_access() 684 ocfs2_metadata_cache_io_lock(ci); in __ocfs2_journal_access() 701 ocfs2_metadata_cache_io_unlock(ci); in __ocfs2_journal_access() 710 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_di() argument 713 return __ocfs2_journal_access(handle, ci, bh, &di_triggers, type); in ocfs2_journal_access_di() 716 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_eb() argument [all …]
|
D | inode.c | 1410 static u64 ocfs2_inode_cache_owner(struct ocfs2_caching_info *ci) in ocfs2_inode_cache_owner() argument 1412 struct ocfs2_inode_info *oi = cache_info_to_inode(ci); in ocfs2_inode_cache_owner() 1417 static struct super_block *ocfs2_inode_cache_get_super(struct ocfs2_caching_info *ci) in ocfs2_inode_cache_get_super() argument 1419 struct ocfs2_inode_info *oi = cache_info_to_inode(ci); in ocfs2_inode_cache_get_super() 1424 static void ocfs2_inode_cache_lock(struct ocfs2_caching_info *ci) in ocfs2_inode_cache_lock() argument 1426 struct ocfs2_inode_info *oi = cache_info_to_inode(ci); in ocfs2_inode_cache_lock() 1431 static void ocfs2_inode_cache_unlock(struct ocfs2_caching_info *ci) in ocfs2_inode_cache_unlock() argument 1433 struct ocfs2_inode_info *oi = cache_info_to_inode(ci); in ocfs2_inode_cache_unlock() 1438 static void ocfs2_inode_cache_io_lock(struct ocfs2_caching_info *ci) in ocfs2_inode_cache_io_lock() argument 1440 struct ocfs2_inode_info *oi = cache_info_to_inode(ci); in ocfs2_inode_cache_io_lock() [all …]
|
D | inode.h | 185 static inline struct ocfs2_inode_info *cache_info_to_inode(struct ocfs2_caching_info *ci) in cache_info_to_inode() argument 187 return container_of(ci, struct ocfs2_inode_info, ip_metadata_cache); in cache_info_to_inode()
|
D | extent_map.h | 67 int ocfs2_figure_hole_clusters(struct ocfs2_caching_info *ci,
|
D | alloc.c | 437 struct ocfs2_caching_info *ci, in __ocfs2_init_extent_tree() argument 445 et->et_ci = ci; in __ocfs2_init_extent_tree() 459 struct ocfs2_caching_info *ci, in ocfs2_init_dinode_extent_tree() argument 462 __ocfs2_init_extent_tree(et, ci, bh, ocfs2_journal_access_di, in ocfs2_init_dinode_extent_tree() 467 struct ocfs2_caching_info *ci, in ocfs2_init_xattr_tree_extent_tree() argument 470 __ocfs2_init_extent_tree(et, ci, bh, ocfs2_journal_access_xb, in ocfs2_init_xattr_tree_extent_tree() 475 struct ocfs2_caching_info *ci, in ocfs2_init_xattr_value_extent_tree() argument 478 __ocfs2_init_extent_tree(et, ci, vb->vb_bh, vb->vb_access, vb, in ocfs2_init_xattr_value_extent_tree() 483 struct ocfs2_caching_info *ci, in ocfs2_init_dx_root_extent_tree() argument 486 __ocfs2_init_extent_tree(et, ci, bh, ocfs2_journal_access_dr, in ocfs2_init_dx_root_extent_tree() [all …]
|
D | refcounttree.h | 109 struct ocfs2_caching_info *ci,
|
D | ocfs2_trace.h | 2688 TP_PROTO(unsigned long long block, void *ci), 2689 TP_ARGS(block, ci), 2692 __field(void *, ci) 2696 __entry->ci = ci; 2698 TP_printk("%llu %p", __entry->block, __entry->ci) 2702 TP_PROTO(void *ci, unsigned long long block, 2704 TP_ARGS(ci, block, nr, flags), 2706 __field(void *, ci) 2712 __entry->ci = ci; 2717 TP_printk("%p %llu %u %d", __entry->ci, __entry->block,
|
D | ocfs2.h | 96 struct super_block *ocfs2_metadata_cache_get_super(struct ocfs2_caching_info *ci); 471 struct ocfs2_caching_info *ci,
|
D | extent_map.c | 357 int ocfs2_figure_hole_clusters(struct ocfs2_caching_info *ci, in ocfs2_figure_hole_clusters() argument 379 ret = ocfs2_read_extent_block(ci, in ocfs2_figure_hole_clusters()
|
D | dlmglue.c | 3639 static int ocfs2_ci_checkpointed(struct ocfs2_caching_info *ci, in ocfs2_ci_checkpointed() argument 3643 int checkpointed = ocfs2_ci_fully_checkpointed(ci); in ocfs2_ci_checkpointed() 3651 ocfs2_start_checkpoint(OCFS2_SB(ocfs2_metadata_cache_get_super(ci))); in ocfs2_ci_checkpointed()
|
/linux-4.1.27/arch/microblaze/kernel/cpu/ |
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 …]
|
D | cpuinfo-pvr-full.c | 23 #define CI(c, p) { ci->c = PVR_##p(pvr); } 33 void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu) in set_cpuinfo_pvr_full() argument 40 if (!ci->ver_code) { in set_cpuinfo_pvr_full() 47 if (ci->use_instr != temp) in set_cpuinfo_pvr_full() 49 ci->use_instr = temp; in set_cpuinfo_pvr_full() 52 if (ci->use_mult != temp) in set_cpuinfo_pvr_full() 54 ci->use_mult = temp; in set_cpuinfo_pvr_full() 57 if (ci->use_fpu != temp) in set_cpuinfo_pvr_full() 59 ci->use_fpu = temp; in set_cpuinfo_pvr_full() 61 ci->use_exc = PVR_OPCODE_0x0_ILLEGAL(pvr) | in set_cpuinfo_pvr_full() [all …]
|
/linux-4.1.27/fs/ceph/ |
D | caps.c | 310 static struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() argument 313 struct rb_node *n = ci->i_caps.rb_node; in __get_cap_for_mds() 327 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds() argument 331 spin_lock(&ci->i_ceph_lock); in ceph_get_cap_for_mds() 332 cap = __get_cap_for_mds(ci, mds); in ceph_get_cap_for_mds() 333 spin_unlock(&ci->i_ceph_lock); in ceph_get_cap_for_mds() 340 static int __ceph_get_cap_mds(struct ceph_inode_info *ci) in __ceph_get_cap_mds() argument 347 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_get_cap_mds() 360 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_get_cap_mds() local 362 spin_lock(&ci->i_ceph_lock); in ceph_get_cap_mds() [all …]
|
D | cache.c | 88 const struct ceph_inode_info* ci = cookie_netfs_data; in ceph_fscache_inode_get_key() local 92 klen = sizeof(ci->i_vino); in ceph_fscache_inode_get_key() 96 memcpy(buffer, &ci->i_vino, klen); in ceph_fscache_inode_get_key() 104 const struct ceph_inode_info* ci = cookie_netfs_data; in ceph_fscache_inode_get_aux() local 105 const struct inode* inode = &ci->vfs_inode; in ceph_fscache_inode_get_aux() 119 const struct ceph_inode_info* ci = cookie_netfs_data; in ceph_fscache_inode_get_attr() local 120 const struct inode* inode = &ci->vfs_inode; in ceph_fscache_inode_get_attr() 129 struct ceph_inode_info* ci = cookie_netfs_data; in ceph_fscache_inode_check_aux() local 130 struct inode* inode = &ci->vfs_inode; in ceph_fscache_inode_check_aux() 142 dout("ceph inode 0x%p cached okay", ci); in ceph_fscache_inode_check_aux() [all …]
|
D | xattr.c | 16 static int __remove_xattr(struct ceph_inode_info *ci, 48 size_t (*getxattr_cb)(struct ceph_inode_info *ci, char *val, 51 bool (*exists_cb)(struct ceph_inode_info *ci); 56 static bool ceph_vxattrcb_layout_exists(struct ceph_inode_info *ci) in ceph_vxattrcb_layout_exists() argument 59 char *p = (char *)&ci->i_layout; in ceph_vxattrcb_layout_exists() 61 for (s = 0; s < sizeof(ci->i_layout); s++, p++) in ceph_vxattrcb_layout_exists() 67 static size_t ceph_vxattrcb_layout(struct ceph_inode_info *ci, char *val, in ceph_vxattrcb_layout() argument 71 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in ceph_vxattrcb_layout() 73 s64 pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_vxattrcb_layout() 77 dout("ceph_vxattrcb_layout %p\n", &ci->vfs_inode); in ceph_vxattrcb_layout() [all …]
|
D | inode.c | 77 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_get_snapdir() local 87 ci->i_snap_caps = CEPH_CAP_PIN; /* so we can open */ in ceph_get_snapdir() 88 ci->i_rbytes = 0; in ceph_get_snapdir() 116 static struct ceph_inode_frag *__get_or_create_frag(struct ceph_inode_info *ci, in __get_or_create_frag() argument 124 p = &ci->i_fragtree.rb_node; in __get_or_create_frag() 140 "frag %x\n", &ci->vfs_inode, in __get_or_create_frag() 141 ceph_vinop(&ci->vfs_inode), f); in __get_or_create_frag() 150 rb_insert_color(&frag->node, &ci->i_fragtree); in __get_or_create_frag() 153 ceph_vinop(&ci->vfs_inode), f); in __get_or_create_frag() 160 struct ceph_inode_frag *__ceph_find_frag(struct ceph_inode_info *ci, u32 f) in __ceph_find_frag() argument [all …]
|
D | super.h | 120 struct ceph_inode_info *ci; member 146 struct ceph_inode_info *ci; member 425 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_ino_compare() local 426 return ci->i_vino.ino == pvino->ino && in ceph_ino_compare() 427 ci->i_vino.snap == pvino->snap; in ceph_ino_compare() 446 static inline void __ceph_dir_set_complete(struct ceph_inode_info *ci, in __ceph_dir_set_complete() argument 449 atomic_set(&ci->i_complete_count, release_count); in __ceph_dir_set_complete() 450 if (ci->i_ordered_count == ordered_count) in __ceph_dir_set_complete() 451 ci->i_ceph_flags |= CEPH_I_DIR_ORDERED; in __ceph_dir_set_complete() 453 ci->i_ceph_flags &= ~CEPH_I_DIR_ORDERED; in __ceph_dir_set_complete() [all …]
|
D | cache.h | 37 void ceph_fscache_inode_init(struct ceph_inode_info *ci); 39 struct ceph_inode_info* ci); 40 void ceph_fscache_unregister_inode_cookie(struct ceph_inode_info* ci); 53 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_update_objectsize() local 54 fscache_attr_changed(ci->fscache); in ceph_fscache_update_objectsize() 65 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_uncache_page() local 66 return fscache_uncache_page(ci->fscache, page); in ceph_fscache_uncache_page() 72 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_release_fscache_page() local 73 return fscache_maybe_release_page(ci->fscache, page, gfp); in ceph_release_fscache_page() 79 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_readpage_cancel() local [all …]
|
D | snap.c | 454 void ceph_queue_cap_snap(struct ceph_inode_info *ci) in ceph_queue_cap_snap() argument 456 struct inode *inode = &ci->vfs_inode; in ceph_queue_cap_snap() 466 spin_lock(&ci->i_ceph_lock); in ceph_queue_cap_snap() 467 used = __ceph_caps_used(ci); in ceph_queue_cap_snap() 468 dirty = __ceph_caps_dirty(ci); in ceph_queue_cap_snap() 478 if (__ceph_have_pending_cap_snap(ci)) { in ceph_queue_cap_snap() 485 } else if (ci->i_snap_realm->cached_context == empty_snapc) { in ceph_queue_cap_snap() 490 struct ceph_snap_context *snapc = ci->i_head_snapc; in ceph_queue_cap_snap() 497 snapc = ci->i_snap_realm->cached_context; in ceph_queue_cap_snap() 504 capsnap->ci = ci; in ceph_queue_cap_snap() [all …]
|
D | addr.c | 73 struct ceph_inode_info *ci; in ceph_set_page_dirty() local 88 ci = ceph_inode(inode); in ceph_set_page_dirty() 94 snapc = ceph_get_snap_context(ci->i_snap_realm->cached_context); in ceph_set_page_dirty() 97 spin_lock(&ci->i_ceph_lock); in ceph_set_page_dirty() 98 if (ci->i_head_snapc == NULL) in ceph_set_page_dirty() 99 ci->i_head_snapc = ceph_get_snap_context(snapc); in ceph_set_page_dirty() 100 ++ci->i_wrbuffer_ref_head; in ceph_set_page_dirty() 101 if (ci->i_wrbuffer_ref == 0) in ceph_set_page_dirty() 103 ++ci->i_wrbuffer_ref; in ceph_set_page_dirty() 107 ci->i_wrbuffer_ref-1, ci->i_wrbuffer_ref_head-1, in ceph_set_page_dirty() [all …]
|
D | ioctl.c | 18 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_get_layout() local 24 l.stripe_unit = ceph_file_layout_su(ci->i_layout); in ceph_ioctl_get_layout() 25 l.stripe_count = ceph_file_layout_stripe_count(ci->i_layout); in ceph_ioctl_get_layout() 26 l.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_get_layout() 27 l.data_pool = le32_to_cpu(ci->i_layout.fl_pg_pool); in ceph_ioctl_get_layout() 69 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_set_layout() local 85 nl.stripe_count = ceph_file_layout_stripe_count(ci->i_layout); in ceph_ioctl_set_layout() 89 nl.stripe_unit = ceph_file_layout_su(ci->i_layout); in ceph_ioctl_set_layout() 93 nl.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_set_layout() 97 nl.data_pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_ioctl_set_layout() [all …]
|
D | file.c | 72 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_init_file() local 86 ceph_fscache_register_inode_cookie(mdsc->fsc, ci); in ceph_init_file() 133 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_open() local 163 spin_lock(&ci->i_ceph_lock); in ceph_open() 164 __ceph_get_fmode(ci, fmode); in ceph_open() 165 spin_unlock(&ci->i_ceph_lock); in ceph_open() 174 spin_lock(&ci->i_ceph_lock); in ceph_open() 175 if (__ceph_is_any_real_caps(ci) && in ceph_open() 176 (((fmode & CEPH_FILE_MODE_WR) == 0) || ci->i_auth_cap)) { in ceph_open() 177 int mds_wanted = __ceph_caps_mds_wanted(ci); in ceph_open() [all …]
|
D | dir.c | 247 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_readdir() local 282 spin_lock(&ci->i_ceph_lock); in ceph_readdir() 287 __ceph_dir_is_complete_ordered(ci) && in ceph_readdir() 288 __ceph_caps_issued_mask(ci, CEPH_CAP_FILE_SHARED, 1)) { in ceph_readdir() 289 u32 shared_gen = ci->i_shared_gen; in ceph_readdir() 290 spin_unlock(&ci->i_ceph_lock); in ceph_readdir() 297 spin_unlock(&ci->i_ceph_lock); in ceph_readdir() 313 fi->dir_release_count = atomic_read(&ci->i_release_count); in ceph_readdir() 314 fi->dir_ordered_count = ci->i_ordered_count; in ceph_readdir() 456 spin_lock(&ci->i_ceph_lock); in ceph_readdir() [all …]
|
D | mds_client.c | 633 struct ceph_inode_info *ci = ceph_inode(dir); in __register_request() local 636 spin_lock(&ci->i_unsafe_lock); in __register_request() 638 list_add_tail(&req->r_unsafe_dir_item, &ci->i_unsafe_dirops); in __register_request() 639 spin_unlock(&ci->i_unsafe_lock); in __register_request() 651 struct ceph_inode_info *ci = ceph_inode(req->r_unsafe_dir); in __unregister_request() local 653 spin_lock(&ci->i_unsafe_lock); in __unregister_request() 655 spin_unlock(&ci->i_unsafe_lock); in __unregister_request() 691 struct ceph_inode_info *ci; in __choose_mds() local 746 ci = ceph_inode(inode); in __choose_mds() 752 ceph_choose_frag(ci, hash, &frag, &found); in __choose_mds() [all …]
|
D | acl.c | 35 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_set_cached_acl() local 37 spin_lock(&ci->i_ceph_lock); in ceph_set_cached_acl() 38 if (__ceph_caps_issued_mask(ci, CEPH_CAP_XATTR_SHARED, 0)) in ceph_set_cached_acl() 40 spin_unlock(&ci->i_ceph_lock); in ceph_set_cached_acl()
|
D | super.c | 617 struct ceph_inode_info *ci = foo; in ceph_inode_init_once() local 618 inode_init_once(&ci->vfs_inode); in ceph_inode_init_once()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | chip.c | 244 static void brcmf_chip_sb_corerev(struct brcmf_chip_priv *ci, in brcmf_chip_sb_corerev() argument 249 regdata = ci->ops->read32(ci->ctx, CORE_SB(core->base, sbidhigh)); in brcmf_chip_sb_corerev() 255 struct brcmf_chip_priv *ci; in brcmf_chip_sb_iscoreup() local 259 ci = core->chip; in brcmf_chip_sb_iscoreup() 261 regdata = ci->ops->read32(ci->ctx, address); in brcmf_chip_sb_iscoreup() 269 struct brcmf_chip_priv *ci; in brcmf_chip_ai_iscoreup() local 273 ci = core->chip; in brcmf_chip_ai_iscoreup() 274 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_iscoreup() 277 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_RESET_CTL); in brcmf_chip_ai_iscoreup() 286 struct brcmf_chip_priv *ci; in brcmf_chip_sb_coredisable() local [all …]
|
D | pcie.c | 238 struct brcmf_chip *ci; member 354 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_read_ram32() 364 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_write_ram32() 422 core = brcmf_chip_get_core(devinfo->ci, coreid); in brcmf_pcie_select_core() 458 if (!devinfo->ci) in brcmf_pcie_reset_device() 510 if (devinfo->ci->chip == BRCM_CC_43602_CHIP_ID) { in brcmf_pcie_enter_download_state() 530 if (devinfo->ci->chip == BRCM_CC_43602_CHIP_ID) { in brcmf_pcie_exit_download_state() 531 core = brcmf_chip_get_core(devinfo->ci, BCMA_CORE_INTERNAL_MEM); in brcmf_pcie_exit_download_state() 535 return !brcmf_chip_set_active(devinfo->ci, resetintr); in brcmf_pcie_exit_download_state() 1318 brcmf_dbg(PCIE, "Enter, chip 0x%04x chiprev %d\n", devinfo->ci->chip, in brcmf_pcie_get_fwnames() [all …]
|
D | chip.h | 89 void brcmf_chip_set_passive(struct brcmf_chip *ci); 90 bool brcmf_chip_set_active(struct brcmf_chip *ci, u32 rstvec);
|
D | sdio.c | 433 struct brcmf_chip *ci; /* Chip info struct */ member 683 static int brcmf_sdio_get_fwnames(struct brcmf_chip *ci, in brcmf_sdio_get_fwnames() argument 690 if (brcmf_fwname_data[i].chipid == ci->chip && in brcmf_sdio_get_fwnames() 691 brcmf_fwname_data[i].revmsk & BIT(ci->chiprev)) in brcmf_sdio_get_fwnames() 696 brcmf_err("Unknown chipid %d [%d]\n", ci->chip, ci->chiprev); in brcmf_sdio_get_fwnames() 749 core = brcmf_chip_get_core(bus->ci, BCMA_CORE_SDIO_DEV); in r_sdreg32() 760 core = brcmf_chip_get_core(bus->ci, BCMA_CORE_SDIO_DEV); in w_sdreg32() 1086 shaddr = bus->ci->rambase + bus->ci->ramsize - 4; in brcmf_sdio_readshared() 1087 if (!bus->ci->rambase && brcmf_chip_sr_capable(bus->ci)) in brcmf_sdio_readshared() 1088 shaddr -= bus->ci->srsize; in brcmf_sdio_readshared() [all …]
|
/linux-4.1.27/net/sched/ |
D | act_connmark.c | 97 struct tcf_connmark_info *ci; in tcf_connmark_init() local 111 ret = tcf_hash_create(parm->index, est, a, sizeof(*ci), bind); in tcf_connmark_init() 115 ci = to_connmark(a); in tcf_connmark_init() 116 ci->tcf_action = parm->action; in tcf_connmark_init() 117 ci->zone = parm->zone; in tcf_connmark_init() 122 ci = to_connmark(a); in tcf_connmark_init() 129 ci->tcf_action = parm->action; in tcf_connmark_init() 130 ci->zone = parm->zone; in tcf_connmark_init() 140 struct tcf_connmark_info *ci = a->priv; in tcf_connmark_dump() local 143 .index = ci->tcf_index, in tcf_connmark_dump() [all …]
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
D | g450_pll.c | 300 static void g450_addcache(struct matrox_pll_cache* ci, unsigned int mnp_key, unsigned int mnp_value… in g450_addcache() argument 301 if (++ci->valid > ARRAY_SIZE(ci->data)) { in g450_addcache() 302 ci->valid = ARRAY_SIZE(ci->data); in g450_addcache() 304 memmove(ci->data + 1, ci->data, (ci->valid - 1) * sizeof(*ci->data)); in g450_addcache() 305 ci->data[0].mnp_key = mnp_key & G450_MNP_FREQBITS; in g450_addcache() 306 ci->data[0].mnp_value = mnp_value; in g450_addcache() 310 struct matrox_pll_cache *ci, unsigned int mnp_key) in g450_checkcache() argument 315 for (i = 0; i < ci->valid; i++) { in g450_checkcache() 316 if (ci->data[i].mnp_key == mnp_key) { in g450_checkcache() 319 mnp = ci->data[i].mnp_value; in g450_checkcache() [all …]
|
/linux-4.1.27/drivers/uwb/ |
D | allocator.c | 28 struct uwb_rsv_col_info *ci = ai->ci; in uwb_rsv_fill_column_alloc() local 31 for (col = ci->csi.start_col; col < UWB_NUM_ZONES; col += ci->csi.interval) { in uwb_rsv_fill_column_alloc() 33 safe_mas = ci->csi.safe_mas_per_col; in uwb_rsv_fill_column_alloc() 34 unsafe_mas = ci->csi.unsafe_mas_per_col; in uwb_rsv_fill_column_alloc() 140 struct uwb_rsv_col_info *ci = ai->ci; in uwb_rsv_find_best_column_set() local 141 struct uwb_rsv_col_set_info *csi = &ci->csi; in uwb_rsv_find_best_column_set() 162 if (ci[col].max_avail_safe >= num_safe_mas && in uwb_rsv_find_best_column_set() 163 ci[col].max_avail_unsafe >= n_mas) { in uwb_rsv_find_best_column_set() 164 if (ci[col].highest_mas[n_mas] > max_mas_in_set) in uwb_rsv_find_best_column_set() 165 max_mas_in_set = ci[col].highest_mas[n_mas]; in uwb_rsv_find_best_column_set() [all …]
|
D | uwb-internal.h | 162 struct uwb_rsv_col_info ci[UWB_NUM_ZONES]; member
|
/linux-4.1.27/fs/ubifs/ |
D | orphan.c | 826 struct check_info *ci = priv; in dbg_orphan_check() local 831 if (inum != ci->last_ino) { in dbg_orphan_check() 836 ci->last_ino = inum; in dbg_orphan_check() 837 ci->tot_inos += 1; in dbg_orphan_check() 838 err = ubifs_tnc_read_node(c, zbr, ci->node); in dbg_orphan_check() 843 if (ci->node->nlink == 0) in dbg_orphan_check() 845 if (!dbg_find_check_orphan(&ci->root, inum) && in dbg_orphan_check() 849 ci->missing += 1; in dbg_orphan_check() 852 ci->leaf_cnt += 1; in dbg_orphan_check() 856 static int dbg_read_orphans(struct check_info *ci, struct ubifs_scan_leb *sleb) in dbg_read_orphans() argument [all …]
|
/linux-4.1.27/arch/s390/kernel/ |
D | cache.c | 48 struct cache_info ci[CACHE_MAX_LEVEL]; member 92 static inline enum cache_type get_cache_type(struct cache_info *ci, int level) in get_cache_type() argument 96 ci += level; in get_cache_type() 97 if (ci->scope != CACHE_SCOPE_SHARED && ci->scope != CACHE_SCOPE_PRIVATE) in get_cache_type() 99 return cache_type_map[ci->type]; in get_cache_type() 147 ctype = get_cache_type(&ct.ci[0], level); in init_cache_level() 173 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0; in populate_cache_leaves() 174 ctype = get_cache_type(&ct.ci[0], level); in populate_cache_leaves()
|
D | perf_event.c | 174 struct cpumf_ctr_info ci; in sl_print_counter() local 176 memset(&ci, 0, sizeof(ci)); in sl_print_counter() 177 if (qctri(&ci)) in sl_print_counter() 181 "authorization=%04x\n", ci.cfvn, ci.csvn, ci.auth_ctl); in sl_print_counter()
|
/linux-4.1.27/net/bluetooth/cmtp/ |
D | core.c | 76 static void __cmtp_copy_session(struct cmtp_session *session, struct cmtp_conninfo *ci) in __cmtp_copy_session() argument 79 memset(ci, 0, sizeof(*ci)); in __cmtp_copy_session() 80 bacpy(&ci->bdaddr, &session->bdaddr); in __cmtp_copy_session() 82 ci->flags = session->flags & valid_flags; in __cmtp_copy_session() 83 ci->state = session->state; in __cmtp_copy_session() 85 ci->num = session->num; in __cmtp_copy_session() 453 struct cmtp_conninfo ci; in cmtp_get_connlist() local 455 __cmtp_copy_session(session, &ci); in cmtp_get_connlist() 457 if (copy_to_user(req->ci, &ci, sizeof(ci))) { in cmtp_get_connlist() 465 req->ci++; in cmtp_get_connlist() [all …]
|
D | sock.c | 71 struct cmtp_conninfo ci; in cmtp_sock_ioctl() local 127 if (copy_from_user(&ci, argp, sizeof(ci))) in cmtp_sock_ioctl() 130 err = cmtp_get_conninfo(&ci); in cmtp_sock_ioctl() 131 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in cmtp_sock_ioctl() 152 cl.ci = compat_ptr(uci); in cmtp_sock_compat_ioctl()
|
D | cmtp.h | 58 struct cmtp_conninfo __user *ci; member 64 int cmtp_get_conninfo(struct cmtp_conninfo *ci);
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_hw_cb.c | 53 bfa_hwcb_rspq_ack_msix(struct bfa_s *bfa, int rspq, u32 ci) in bfa_hwcb_rspq_ack_msix() argument 58 if (bfa_rspq_ci(bfa, rspq) == ci) in bfa_hwcb_rspq_ack_msix() 61 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwcb_rspq_ack_msix() 62 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwcb_rspq_ack_msix() 67 bfa_hwcb_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci) in bfa_hwcb_rspq_ack() argument 69 if (bfa_rspq_ci(bfa, rspq) == ci) in bfa_hwcb_rspq_ack() 72 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwcb_rspq_ack() 73 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwcb_rspq_ack()
|
D | bfa_hw_ct.c | 74 bfa_hwct_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci) in bfa_hwct_rspq_ack() argument 81 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwct_rspq_ack() 82 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwct_rspq_ack() 92 bfa_hwct2_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci) in bfa_hwct2_rspq_ack() argument 94 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwct2_rspq_ack() 95 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwct2_rspq_ack()
|
D | bfa.h | 187 void (*hw_rspq_ack)(struct bfa_s *bfa, int rspq, u32 ci); 321 void bfa_hwcb_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci); 334 void bfa_hwct_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci); 335 void bfa_hwct2_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci);
|
D | bfi.h | 545 #define BFI_MSGQ_FULL(_q) (((_q->pi + 1) % _q->q_depth) == _q->ci) 546 #define BFI_MSGQ_EMPTY(_q) (_q->pi == _q->ci) 547 #define BFI_MSGQ_UPDATE_CI(_q) (_q->ci = (_q->ci + 1) % _q->q_depth) 551 #define BFI_MSGQ_FREE_CNT(_q) ((_q->ci - _q->pi - 1) & (_q->q_depth - 1))
|
D | bfa_core.c | 719 u32 pi, ci; in bfa_isr_rspq() local 723 ci = bfa_rspq_ci(bfa, qid); in bfa_isr_rspq() 726 ret = (ci != pi); in bfa_isr_rspq() 728 while (ci != pi) { in bfa_isr_rspq() 729 m = bfa_rspq_elem(bfa, qid, ci); in bfa_isr_rspq() 733 CQ_INCR(ci, bfa->iocfc.cfg.drvcfg.num_rspq_elems); in bfa_isr_rspq() 739 bfa_isr_rspq_ack(bfa, qid, ci); in bfa_isr_rspq()
|
/linux-4.1.27/drivers/net/can/sja1000/ |
D | plx_pci.c | 512 struct plx_pci_card_info *ci; in plx_pci_add_card() local 517 ci = (struct plx_pci_card_info *)ent->driver_data; in plx_pci_add_card() 525 ci->name, PCI_SLOT(pdev->devfn)); in plx_pci_add_card() 539 addr = pci_iomap(pdev, ci->conf_map.bar, ci->conf_map.size); in plx_pci_add_card() 543 "(BAR%d)\n", ci->conf_map.bar); in plx_pci_add_card() 546 card->conf_addr = addr + ci->conf_map.offset; in plx_pci_add_card() 548 ci->reset_func(pdev); in plx_pci_add_card() 549 card->reset_func = ci->reset_func; in plx_pci_add_card() 552 for (i = 0; i < ci->channel_count; i++) { in plx_pci_add_card() 553 struct plx_pci_channel_map *cm = &ci->chan_map_tbl[i]; in plx_pci_add_card() [all …]
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bgmac.c | 829 struct bcma_chipinfo *ci = &bgmac->core->bus->chipinfo; in bgmac_phy_init() local 833 if (ci->id == BCMA_CHIP_ID_BCM5356) { in bgmac_phy_init() 842 if ((ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg != 10) || in bgmac_phy_init() 843 (ci->id == BCMA_CHIP_ID_BCM4749 && ci->pkg != 10) || in bgmac_phy_init() 844 (ci->id == BCMA_CHIP_ID_BCM53572 && ci->pkg != 9)) { in bgmac_phy_init() 985 struct bcma_chipinfo *ci = &core->bus->chipinfo; in bgmac_miiconfig() local 988 if (ci->id == BCMA_CHIP_ID_BCM4707 || in bgmac_miiconfig() 989 ci->id == BCMA_CHIP_ID_BCM53018) { in bgmac_miiconfig() 1012 struct bcma_chipinfo *ci = &bus->chipinfo; in bgmac_chip_reset() local 1036 if ((ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg == BCMA_PKG_ID_BCM47186) || in bgmac_chip_reset() [all …]
|
/linux-4.1.27/drivers/firewire/ |
D | core-device.c | 47 void fw_csr_iterator_init(struct fw_csr_iterator *ci, const u32 *p) in fw_csr_iterator_init() argument 49 ci->p = p + 1; in fw_csr_iterator_init() 50 ci->end = ci->p + (p[0] >> 16); in fw_csr_iterator_init() 54 int fw_csr_iterator_next(struct fw_csr_iterator *ci, int *key, int *value) in fw_csr_iterator_next() argument 56 *key = *ci->p >> 24; in fw_csr_iterator_next() 57 *value = *ci->p & 0xffffff; in fw_csr_iterator_next() 59 return ci->p++ < ci->end; in fw_csr_iterator_next() 65 struct fw_csr_iterator ci; in search_leaf() local 68 fw_csr_iterator_init(&ci, directory); in search_leaf() 69 while (fw_csr_iterator_next(&ci, &key, &value)) { in search_leaf() [all …]
|
D | sbp2.c | 1019 struct fw_csr_iterator ci; in sbp2_scan_logical_unit_dir() local 1022 fw_csr_iterator_init(&ci, directory); in sbp2_scan_logical_unit_dir() 1023 while (fw_csr_iterator_next(&ci, &key, &value)) in sbp2_scan_logical_unit_dir() 1033 struct fw_csr_iterator ci; in sbp2_scan_unit_dir() local 1036 fw_csr_iterator_init(&ci, directory); in sbp2_scan_unit_dir() 1037 while (fw_csr_iterator_next(&ci, &key, &value)) { in sbp2_scan_unit_dir() 1068 sbp2_get_unit_unique_id(tgt, ci.p - 1 + value); in sbp2_scan_unit_dir() 1073 if (sbp2_scan_logical_unit_dir(tgt, ci.p - 1 + value) < 0) in sbp2_scan_unit_dir()
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
D | anysee.c | 1168 static int anysee_ci_read_attribute_mem(struct dvb_ca_en50221 *ci, int slot, in anysee_ci_read_attribute_mem() argument 1171 struct dvb_usb_device *d = ci->data; in anysee_ci_read_attribute_mem() 1183 static int anysee_ci_write_attribute_mem(struct dvb_ca_en50221 *ci, int slot, in anysee_ci_write_attribute_mem() argument 1186 struct dvb_usb_device *d = ci->data; in anysee_ci_write_attribute_mem() 1197 static int anysee_ci_read_cam_control(struct dvb_ca_en50221 *ci, int slot, in anysee_ci_read_cam_control() argument 1200 struct dvb_usb_device *d = ci->data; in anysee_ci_read_cam_control() 1212 static int anysee_ci_write_cam_control(struct dvb_ca_en50221 *ci, int slot, in anysee_ci_write_cam_control() argument 1215 struct dvb_usb_device *d = ci->data; in anysee_ci_write_cam_control() 1226 static int anysee_ci_slot_reset(struct dvb_ca_en50221 *ci, int slot) in anysee_ci_slot_reset() argument 1228 struct dvb_usb_device *d = ci->data; in anysee_ci_slot_reset() [all …]
|
D | anysee.h | 64 struct dvb_ca_en50221 ci; member
|
/linux-4.1.27/drivers/net/ppp/ |
D | ppp_mppe.h | 33 #define MPPE_OPTS_TO_CI(opts, ci) \ argument 35 u_char *ptr = ci; /* u_char[4] */ \ 55 #define MPPE_CI_TO_OPTS(ci, opts) \ argument 57 u_char *ptr = ci; /* u_char[4] */ \
|
/linux-4.1.27/drivers/net/arcnet/ |
D | com20020-pci.c | 69 struct com20020_pci_card_info *ci; in com20020pci_probe() local 84 ci = (struct com20020_pci_card_info *)id->driver_data; in com20020pci_probe() 85 priv->ci = ci; in com20020pci_probe() 90 for (i = 0; i < ci->devcount; i++) { in com20020pci_probe() 91 struct com20020_pci_channel_map *cm = &ci->chan_map_tbl[i]; in com20020pci_probe() 104 BUGMSG(D_NORMAL, "%s Controls\n", ci->name); in com20020pci_probe() 127 lp->card_flags = ci->flags; in com20020pci_probe()
|
/linux-4.1.27/net/bluetooth/bnep/ |
D | sock.c | 57 struct bnep_conninfo ci; in bnep_sock_ioctl() local 115 if (copy_from_user(&ci, argp, sizeof(ci))) in bnep_sock_ioctl() 118 err = bnep_get_conninfo(&ci); in bnep_sock_ioctl() 119 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in bnep_sock_ioctl() 149 cl.ci = compat_ptr(uci); in bnep_sock_compat_ioctl()
|
D | core.c | 674 static void __bnep_copy_ci(struct bnep_conninfo *ci, struct bnep_session *s) in __bnep_copy_ci() argument 678 memset(ci, 0, sizeof(*ci)); in __bnep_copy_ci() 679 memcpy(ci->dst, s->eh.h_source, ETH_ALEN); in __bnep_copy_ci() 680 strcpy(ci->device, s->dev->name); in __bnep_copy_ci() 681 ci->flags = s->flags & valid_flags; in __bnep_copy_ci() 682 ci->state = s->state; in __bnep_copy_ci() 683 ci->role = s->role; in __bnep_copy_ci() 694 struct bnep_conninfo ci; in bnep_get_connlist() local 696 __bnep_copy_ci(&ci, s); in bnep_get_connlist() 698 if (copy_to_user(req->ci, &ci, sizeof(ci))) { in bnep_get_connlist() [all …]
|
D | bnep.h | 141 struct bnep_conninfo __user *ci; member 152 int bnep_get_conninfo(struct bnep_conninfo *ci);
|
/linux-4.1.27/fs/nilfs2/ |
D | cpfile.c | 424 struct nilfs_cpinfo *ci) in nilfs_cpfile_checkpoint_to_cpinfo() argument 426 ci->ci_flags = le32_to_cpu(cp->cp_flags); in nilfs_cpfile_checkpoint_to_cpinfo() 427 ci->ci_cno = le64_to_cpu(cp->cp_cno); in nilfs_cpfile_checkpoint_to_cpinfo() 428 ci->ci_create = le64_to_cpu(cp->cp_create); in nilfs_cpfile_checkpoint_to_cpinfo() 429 ci->ci_nblk_inc = le64_to_cpu(cp->cp_nblk_inc); in nilfs_cpfile_checkpoint_to_cpinfo() 430 ci->ci_inodes_count = le64_to_cpu(cp->cp_inodes_count); in nilfs_cpfile_checkpoint_to_cpinfo() 431 ci->ci_blocks_count = le64_to_cpu(cp->cp_blocks_count); in nilfs_cpfile_checkpoint_to_cpinfo() 432 ci->ci_next = le64_to_cpu(cp->cp_snapshot_list.ssl_next); in nilfs_cpfile_checkpoint_to_cpinfo() 439 struct nilfs_cpinfo *ci = buf; in nilfs_cpfile_do_get_cpinfo() local 466 ci); in nilfs_cpfile_do_get_cpinfo() [all …]
|
/linux-4.1.27/drivers/atm/ |
D | atmtcp.c | 158 struct atm_cirange ci; in atmtcp_v_ioctl() local 164 if (copy_from_user(&ci, arg,sizeof(ci))) return -EFAULT; in atmtcp_v_ioctl() 165 if (ci.vpi_bits == ATM_CI_MAX) ci.vpi_bits = MAX_VPI_BITS; in atmtcp_v_ioctl() 166 if (ci.vci_bits == ATM_CI_MAX) ci.vci_bits = MAX_VCI_BITS; in atmtcp_v_ioctl() 167 if (ci.vpi_bits > MAX_VPI_BITS || ci.vpi_bits < 0 || in atmtcp_v_ioctl() 168 ci.vci_bits > MAX_VCI_BITS || ci.vci_bits < 0) return -EINVAL; in atmtcp_v_ioctl() 177 if ((vcc->vpi >> ci.vpi_bits) || in atmtcp_v_ioctl() 178 (vcc->vci >> ci.vci_bits)) { in atmtcp_v_ioctl() 185 dev->ci_range = ci; in atmtcp_v_ioctl()
|
D | eni.c | 2020 struct atm_cirange ci; in eni_ioctl() local 2022 if (copy_from_user(&ci, arg,sizeof(struct atm_cirange))) in eni_ioctl() 2024 if ((ci.vpi_bits == 0 || ci.vpi_bits == ATM_CI_MAX) && in eni_ioctl() 2025 (ci.vci_bits == NR_VCI_LD || ci.vpi_bits == ATM_CI_MAX)) in eni_ioctl()
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
D | mISDNinfineon.c | 110 const struct inf_cinfo *ci; member 407 switch (hw->ci->typ) { in enable_hwirq() 451 switch (hw->ci->typ) { in disable_hwirq() 504 switch (hw->ci->typ) { in reset_inf() 612 if (!hw->ci->irqfunc) in init_irq() 614 ret = request_irq(hw->irq, hw->ci->irqfunc, IRQF_SHARED, hw->name, hw); in init_irq() 670 if (hw->ci->cfg_mode) { in setup_io() 671 hw->cfg.start = pci_resource_start(hw->pdev, hw->ci->cfg_bar); in setup_io() 672 hw->cfg.size = pci_resource_len(hw->pdev, hw->ci->cfg_bar); in setup_io() 673 if (hw->ci->cfg_mode == AM_MEMIO) { in setup_io() [all …]
|
D | hfcmulti.c | 4533 int pt, ci, i = 0; in release_port() local 4537 ci = dch->slot; in release_port() 4538 pt = hc->chan[ci].port; in release_port() 4557 hc->chan[ci].dch = NULL; in release_port() 4599 ~(1 << hc->chan[ci].port); in release_port() 4603 if (hc->chan[ci - 2].bch) { in release_port() 4607 __func__, hc->chan[ci - 2].port + 1, in release_port() 4608 ci - 2); in release_port() 4609 pb = hc->chan[ci - 2].bch; in release_port() 4610 hc->chan[ci - 2].bch = NULL; in release_port() [all …]
|
/linux-4.1.27/drivers/md/ |
D | dm.c | 1501 static struct dm_target_io *alloc_tio(struct clone_info *ci, in alloc_tio() argument 1508 clone = bio_alloc_bioset(GFP_NOIO, 0, ci->md->bs); in alloc_tio() 1511 tio->io = ci->io; in alloc_tio() 1518 static void __clone_and_map_simple_bio(struct clone_info *ci, in __clone_and_map_simple_bio() argument 1522 struct dm_target_io *tio = alloc_tio(ci, ti, target_bio_nr); in __clone_and_map_simple_bio() 1527 __bio_clone_fast(clone, ci->bio); in __clone_and_map_simple_bio() 1529 bio_setup_sector(clone, ci->sector, *len); in __clone_and_map_simple_bio() 1534 static void __send_duplicate_bios(struct clone_info *ci, struct dm_target *ti, in __send_duplicate_bios() argument 1540 __clone_and_map_simple_bio(ci, ti, target_bio_nr, len); in __send_duplicate_bios() 1543 static int __send_empty_flush(struct clone_info *ci) in __send_empty_flush() argument [all …]
|
/linux-4.1.27/net/bluetooth/hidp/ |
D | sock.c | 55 struct hidp_conninfo ci; in hidp_sock_ioctl() local 112 if (copy_from_user(&ci, argp, sizeof(ci))) in hidp_sock_ioctl() 115 err = hidp_get_conninfo(&ci); in hidp_sock_ioctl() 116 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in hidp_sock_ioctl() 153 cl.ci = compat_ptr(uci); in hidp_sock_compat_ioctl()
|
D | core.c | 71 static void hidp_copy_session(struct hidp_session *session, struct hidp_conninfo *ci) in hidp_copy_session() argument 74 memset(ci, 0, sizeof(*ci)); in hidp_copy_session() 75 bacpy(&ci->bdaddr, &session->bdaddr); in hidp_copy_session() 77 ci->flags = session->flags & valid_flags; in hidp_copy_session() 78 ci->state = BT_CONNECTED; in hidp_copy_session() 81 ci->vendor = session->input->id.vendor; in hidp_copy_session() 82 ci->product = session->input->id.product; in hidp_copy_session() 83 ci->version = session->input->id.version; in hidp_copy_session() 85 strlcpy(ci->name, session->input->name, 128); in hidp_copy_session() 87 strlcpy(ci->name, "HID Boot Device", 128); in hidp_copy_session() [all …]
|
D | hidp.h | 122 struct hidp_conninfo __user *ci; member 128 int hidp_get_conninfo(struct hidp_conninfo *ci);
|
/linux-4.1.27/drivers/mfd/ |
D | stmpe.c | 40 ret = stmpe->ci->read_byte(stmpe, reg); in __stmpe_reg_read() 55 ret = stmpe->ci->write_byte(stmpe, reg, val); in __stmpe_reg_write() 81 ret = stmpe->ci->read_block(stmpe, reg, length, values); in __stmpe_block_read() 99 ret = stmpe->ci->write_block(stmpe, reg, length, values); in __stmpe_block_write() 1159 int stmpe_probe(struct stmpe_client_info *ci, enum stmpe_partnum partnum) in stmpe_probe() argument 1161 struct stmpe_platform_data *pdata = dev_get_platdata(ci->dev); in stmpe_probe() 1162 struct device_node *np = ci->dev->of_node; in stmpe_probe() 1170 pdata = devm_kzalloc(ci->dev, sizeof(*pdata), GFP_KERNEL); in stmpe_probe() 1177 ci->irq = -1; in stmpe_probe() 1180 stmpe = devm_kzalloc(ci->dev, sizeof(struct stmpe), GFP_KERNEL); in stmpe_probe() [all …]
|
D | stmpe.h | 100 int stmpe_probe(struct stmpe_client_info *ci, enum stmpe_partnum partnum);
|
D | rtsx_pcr.c | 268 ptr += pcr->ci; in rtsx_pci_add_cmd() 269 if (pcr->ci < (HOST_CMDS_BUF_LEN / 4)) { in rtsx_pci_add_cmd() 272 pcr->ci++; in rtsx_pci_add_cmd() 284 val |= (u32)(pcr->ci * 4) & 0x00FFFFFF; in rtsx_pci_send_cmd_no_wait() 308 val |= (u32)(pcr->ci * 4) & 0x00FFFFFF; in rtsx_pci_send_cmd()
|
/linux-4.1.27/include/linux/mlx5/ |
D | cq.h | 145 u32 ci; in mlx5_cq_arm() local 148 ci = cons_index & 0xffffff; in mlx5_cq_arm() 150 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm() 157 doorbell[0] = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm()
|
/linux-4.1.27/include/linux/mlx4/ |
D | cq.h | 144 u32 ci; in mlx4_cq_arm() local 147 ci = cq->cons_index & 0xffffff; in mlx4_cq_arm() 149 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx4_cq_arm() 158 doorbell[1] = cpu_to_be32(ci); in mlx4_cq_arm()
|
/linux-4.1.27/arch/m32r/kernel/ |
D | smpboot.c | 548 struct cpuinfo_m32r *ci = cpu_data + cpu_id; in smp_store_cpu_info() local 550 *ci = boot_cpu_data; in smp_store_cpu_info() 551 ci->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info() 556 struct cpuinfo_m32r *ci = &cpu_data[cpu_id]; in show_cpu_info() local 564 PRINT_CLOCK("CPU", (int)ci->cpu_clock); in show_cpu_info() 565 PRINT_CLOCK(", Bus", (int)ci->bus_clock); in show_cpu_info() 566 printk(", loops_per_jiffy[%ld]\n", ci->loops_per_jiffy); in show_cpu_info()
|
/linux-4.1.27/tools/perf/util/ |
D | help.c | 54 size_t ci, cj, ei; in exclude_cmds() local 57 ci = cj = ei = 0; in exclude_cmds() 58 while (ci < cmds->cnt && ei < excludes->cnt) { in exclude_cmds() 59 cmp = strcmp(cmds->names[ci]->name, excludes->names[ei]->name); in exclude_cmds() 61 cmds->names[cj++] = cmds->names[ci++]; in exclude_cmds() 63 ci++, ei++; in exclude_cmds() 68 while (ci < cmds->cnt) in exclude_cmds() 69 cmds->names[cj++] = cmds->names[ci++]; in exclude_cmds()
|
/linux-4.1.27/net/bluetooth/ |
D | hci_conn.c | 1201 struct hci_conn_info *ci; in hci_get_conn_list() local 1208 if (!req.conn_num || req.conn_num > (PAGE_SIZE * 2) / sizeof(*ci)) in hci_get_conn_list() 1211 size = sizeof(req) + req.conn_num * sizeof(*ci); in hci_get_conn_list() 1223 ci = cl->conn_info; in hci_get_conn_list() 1227 bacpy(&(ci + n)->bdaddr, &c->dst); in hci_get_conn_list() 1228 (ci + n)->handle = c->handle; in hci_get_conn_list() 1229 (ci + n)->type = c->type; in hci_get_conn_list() 1230 (ci + n)->out = c->out; in hci_get_conn_list() 1231 (ci + n)->state = c->state; in hci_get_conn_list() 1232 (ci + n)->link_mode = get_link_mode(c); in hci_get_conn_list() [all …]
|
/linux-4.1.27/include/target/ |
D | configfs_macros.h | 102 static struct _item *to_##_name(struct config_item *ci) \ 104 return (ci) ? container_of(to_config_group(ci), struct _item, \
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | phy-ctxt.c | 150 cmd->ci.band = (chandef->chan->band == IEEE80211_BAND_2GHZ ? in iwl_mvm_phy_ctxt_cmd_data() 153 cmd->ci.channel = chandef->chan->hw_value; in iwl_mvm_phy_ctxt_cmd_data() 154 cmd->ci.width = iwl_mvm_get_channel_width(chandef); in iwl_mvm_phy_ctxt_cmd_data() 155 cmd->ci.ctrl_pos = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_phy_ctxt_cmd_data()
|
D | tdls.c | 458 cmd.ci.band = (chandef->chan->band == IEEE80211_BAND_2GHZ ? in iwl_mvm_tdls_config_channel_switch() 460 cmd.ci.channel = chandef->chan->hw_value; in iwl_mvm_tdls_config_channel_switch() 461 cmd.ci.width = iwl_mvm_get_channel_width(chandef); in iwl_mvm_tdls_config_channel_switch() 462 cmd.ci.ctrl_pos = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_tdls_config_channel_switch()
|
D | fw-api.h | 955 struct iwl_fw_channel_info ci; member 1655 struct iwl_fw_channel_info ci; member
|
/linux-4.1.27/drivers/s390/cio/ |
D | chsc_sch.c | 651 struct chsc_conf_info *ci; in chsc_ioctl_conf_info() local 671 ci = kzalloc(sizeof(*ci), GFP_KERNEL); in chsc_ioctl_conf_info() 672 if (!ci) { in chsc_ioctl_conf_info() 676 if (copy_from_user(ci, user_ci, sizeof(*ci))) { in chsc_ioctl_conf_info() 682 sci_area->m = ci->id.m; in chsc_ioctl_conf_info() 683 sci_area->fmt1 = ci->fmt; in chsc_ioctl_conf_info() 684 sci_area->cssid = ci->id.cssid; in chsc_ioctl_conf_info() 685 sci_area->ssid = ci->id.ssid; in chsc_ioctl_conf_info() 698 memcpy(&ci->scid, &sci_area->response, sci_area->response.length); in chsc_ioctl_conf_info() 699 if (copy_to_user(user_ci, ci, sizeof(*ci))) in chsc_ioctl_conf_info() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/usb/ |
D | ci-hdrc-qcom.txt | 4 - compatible: should contain "qcom,ci-hdrc" 12 compatible = "qcom,ci-hdrc";
|
D | msm-hsusb.txt | 22 "qcom,usb-otg-ci" for chipsets with ChipIdea 45nm PHY
|
/linux-4.1.27/sound/aoa/soundbus/i2sbus/ |
D | pcm.c | 882 struct codec_info *ci, void *data) in i2sbus_attach_codec() argument 899 if (!ci->transfers || !ci->transfers->formats in i2sbus_attach_codec() 900 || !ci->transfers->rates || !ci->usable) in i2sbus_attach_codec() 905 if (ci->bus_factor != 32 && ci->bus_factor != 64) in i2sbus_attach_codec() 912 if (cii->codec->sysclock_factor != ci->sysclock_factor) { in i2sbus_attach_codec() 917 if (cii->codec->bus_factor != ci->bus_factor) { in i2sbus_attach_codec() 924 tmp = ci->transfers; in i2sbus_attach_codec() 941 cii->codec = ci; in i2sbus_attach_codec() 957 if (!try_module_get(ci->owner)) { in i2sbus_attach_codec() 1037 module_put(ci->owner); in i2sbus_attach_codec()
|
D | i2sbus.h | 99 struct codec_info *ci, void *data);
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | cpuinfo.h | 96 void set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu); 97 void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu);
|
/linux-4.1.27/drivers/bcma/ |
D | driver_pcie2.c | 161 struct bcma_chipinfo *ci = &bus->chipinfo; in bcma_core_pcie2_init() local 178 if (ci->id == BCMA_CHIP_ID_BCM4360 && ci->rev > 3) in bcma_core_pcie2_init()
|
/linux-4.1.27/drivers/usb/storage/ |
D | uas.c | 179 struct uas_cmd_info *ci = (void *)&cmnd->SCp; in uas_log_cmd_state() local 185 (ci->state & SUBMIT_STATUS_URB) ? " s-st" : "", in uas_log_cmd_state() 186 (ci->state & ALLOC_DATA_IN_URB) ? " a-in" : "", in uas_log_cmd_state() 187 (ci->state & SUBMIT_DATA_IN_URB) ? " s-in" : "", in uas_log_cmd_state() 188 (ci->state & ALLOC_DATA_OUT_URB) ? " a-out" : "", in uas_log_cmd_state() 189 (ci->state & SUBMIT_DATA_OUT_URB) ? " s-out" : "", in uas_log_cmd_state() 190 (ci->state & ALLOC_CMD_URB) ? " a-cmd" : "", in uas_log_cmd_state() 191 (ci->state & SUBMIT_CMD_URB) ? " s-cmd" : "", in uas_log_cmd_state() 192 (ci->state & COMMAND_INFLIGHT) ? " CMD" : "", in uas_log_cmd_state() 193 (ci->state & DATA_IN_URB_INFLIGHT) ? " IN" : "", in uas_log_cmd_state() [all …]
|
/linux-4.1.27/arch/mn10300/kernel/ |
D | smp.c | 727 struct mn10300_cpuinfo *ci = &cpu_data[cpu]; in smp_store_cpu_info() local 729 *ci = boot_cpu_data; in smp_store_cpu_info() 730 ci->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info() 731 ci->type = CPUREV; in smp_store_cpu_info() 823 struct mn10300_cpuinfo *ci = &cpu_data[cpu]; in smp_show_cpu_info() local 830 ci->loops_per_jiffy / (500000 / HZ), in smp_show_cpu_info() 831 (ci->loops_per_jiffy / (5000 / HZ)) % 100); in smp_show_cpu_info()
|
/linux-4.1.27/drivers/scsi/ |
D | stex.c | 1525 const struct st_card_info *ci = NULL; in stex_probe() local 1570 ci = &stex_card_info[hba->cardtype]; in stex_probe() 1571 sts_offset = scratch_offset = (ci->rq_count+1) * ci->rq_size; in stex_probe() 1573 sts_offset += (ci->sts_count+1) * sizeof(u32); in stex_probe() 1574 cp_offset = sts_offset + (ci->sts_count+1) * sizeof(struct status_msg); in stex_probe() 1604 hba->ccb = kcalloc(ci->rq_count, sizeof(struct st_ccb), GFP_KERNEL); in stex_probe() 1616 hba->rq_count = ci->rq_count; in stex_probe() 1617 hba->rq_size = ci->rq_size; in stex_probe() 1618 hba->sts_count = ci->sts_count; in stex_probe() 1619 hba->alloc_rq = ci->alloc_rq; in stex_probe() [all …]
|
/linux-4.1.27/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 342 union atto_ioctl_csmi *ci, in csmi_ioctl_tunnel() argument 363 rq->aux_req_cx = ci; in csmi_ioctl_tunnel() 394 struct atto_csmi *ci = (struct atto_csmi *)context; in csmi_ioctl_callback() local 404 if (ci->control_code == CSMI_CC_GET_DEV_ADDR) { in csmi_ioctl_callback() 405 struct atto_csmi_get_dev_addr *gda = &ci->data.dev_addr; in csmi_ioctl_callback() 410 } else if (ci->control_code == CSMI_CC_TASK_MGT) { in csmi_ioctl_callback() 411 struct atto_csmi_task_mgmt *tm = &ci->data.tsk_mgt; in csmi_ioctl_callback() 427 switch (ci->control_code) { in csmi_ioctl_callback() 515 ci->control_code, in csmi_ioctl_callback() 586 ci->control_code, in csmi_ioctl_callback() [all …]
|
D | esas2r_main.c | 1490 struct atto_vda_cfg_init *ci; in esas2r_nuxi_cfg_data() local 1497 ci = (struct atto_vda_cfg_init *)data; in esas2r_nuxi_cfg_data() 1499 ci->date_time.year = le16_to_cpu(ci->date_time.year); in esas2r_nuxi_cfg_data() 1500 ci->sgl_page_size = le32_to_cpu(ci->sgl_page_size); in esas2r_nuxi_cfg_data() 1501 ci->vda_version = le32_to_cpu(ci->vda_version); in esas2r_nuxi_cfg_data() 1502 ci->epoch_time = le32_to_cpu(ci->epoch_time); in esas2r_nuxi_cfg_data() 1503 ci->ioctl_tunnel = le32_to_cpu(ci->ioctl_tunnel); in esas2r_nuxi_cfg_data() 1504 ci->num_targets_backend = le32_to_cpu(ci->num_targets_backend); in esas2r_nuxi_cfg_data()
|
D | esas2r_init.c | 1222 struct atto_vda_cfg_init *ci; in esas2r_format_init_msg() local 1238 ci = (struct atto_vda_cfg_init *)&rq->vrq->cfg.data.init; in esas2r_format_init_msg() 1239 ci->sgl_page_size = cpu_to_le32(sgl_page_size); in esas2r_format_init_msg() 1240 ci->epoch_time = cpu_to_le32(now.tv_sec); in esas2r_format_init_msg() 1293 ci = (struct atto_vda_cfg_init *)rq->data_buf; in esas2r_format_init_msg() 1296 le32_to_cpu(ci->num_targets_backend); in esas2r_format_init_msg() 1298 le32_to_cpu(ci->ioctl_tunnel); in esas2r_format_init_msg()
|
/linux-4.1.27/Documentation/RCU/ |
D | trace.txt | 59 …0!c=30455 g=30456 pq=1/0 qp=1 dt=126535/140000000000000/0 df=2002 of=4 ql=0/0 qs=N... b=10 ci=7457… 60 …1!c=30719 g=30720 pq=1/0 qp=0 dt=132007/140000000000000/0 df=1874 of=10 ql=0/0 qs=N... b=10 ci=123… 61 …2!c=30150 g=30151 pq=1/1 qp=1 dt=138537/140000000000000/0 df=1707 of=8 ql=0/0 qs=N... b=10 ci=8013… 62 …3 c=31249 g=31250 pq=1/1 qp=0 dt=107255/140000000000000/0 df=1749 of=6 ql=0/450 qs=NRW. b=10 ci=15… 63 …4!c=29502 g=29503 pq=1/0 qp=1 dt=83647/140000000000000/0 df=965 of=5 ql=0/0 qs=N... b=10 ci=65643 … 64 …5 c=31201 g=31202 pq=1/0 qp=1 dt=70422/0/0 df=535 of=7 ql=0/0 qs=.... b=10 ci=58500 nci=0 co=764 c… 65 …6!c=30253 g=30254 pq=1/0 qp=1 dt=95363/140000000000000/0 df=780 of=5 ql=0/0 qs=N... b=10 ci=100607… 66 …7 c=31178 g=31178 pq=1/0 qp=0 dt=91536/0/0 df=547 of=4 ql=0/0 qs=.... b=10 ci=109819 nci=0 co=1115… 170 o "ci" is the number of RCU callbacks that have been invoked for 171 this CPU. Note that ci+nci+ql is the number of callbacks that have [all …]
|
/linux-4.1.27/drivers/media/pci/ngene/ |
D | ngene-core.c | 1321 dev->ci.en) in ngene_buffer_config() 1487 if (!dev->ci.en && (io & NGENE_IO_TSOUT)) in init_channel() 1509 if (dev->ci.en && (io & NGENE_IO_TSOUT)) { in init_channel() 1510 dvb_ca_en50221_init(adapter, dev->ci.en, 0, 1); in init_channel() 1580 struct ngene_ci *ci = &dev->ci; in cxd_attach() local 1582 ci->en = cxd2099_attach(&cxd_cfg, dev, &dev->channel[0].i2c_adapter); in cxd_attach() 1583 ci->dev = dev; in cxd_attach() 1589 struct ngene_ci *ci = &dev->ci; in cxd_detach() local 1591 dvb_ca_en50221_release(ci->en); in cxd_detach() 1592 kfree(ci->en); in cxd_detach() [all …]
|
D | ngene-dvb.c | 139 if (dev->ci.en && chan->number == 2) { in tsin_exchange()
|
D | ngene.h | 814 struct ngene_ci ci; member
|
/linux-4.1.27/sound/aoa/codecs/ |
D | onyx.c | 865 struct codec_info *ci = &onyx_codec_info; in onyx_init_codec() local 901 ci = onyx->codec_info; in onyx_init_codec() 902 *ci = onyx_codec_info; in onyx_init_codec() 903 ci->transfers++; in onyx_init_codec() 912 ci = onyx->codec_info; in onyx_init_codec() 915 *ci = onyx_codec_info; in onyx_init_codec() 916 ci->transfers[1].formats = 0; in onyx_init_codec() 921 ci, onyx)) { in onyx_init_codec()
|
/linux-4.1.27/drivers/media/firewire/ |
D | Makefile | 3 firedtv-y += firedtv-avc.o firedtv-ci.o firedtv-dvb.o firedtv-fe.o firedtv-fw.o
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 20522 const struct chan_info_nphy_2055 *ci) in wlc_phy_chanspec_radio2055_setup() argument 20525 write_radio_reg(pi, RADIO_2055_PLL_REF, ci->RF_pll_ref); in wlc_phy_chanspec_radio2055_setup() 20526 write_radio_reg(pi, RADIO_2055_RF_PLL_MOD0, ci->RF_rf_pll_mod0); in wlc_phy_chanspec_radio2055_setup() 20527 write_radio_reg(pi, RADIO_2055_RF_PLL_MOD1, ci->RF_rf_pll_mod1); in wlc_phy_chanspec_radio2055_setup() 20528 write_radio_reg(pi, RADIO_2055_VCO_CAP_TAIL, ci->RF_vco_cap_tail); in wlc_phy_chanspec_radio2055_setup() 20532 write_radio_reg(pi, RADIO_2055_VCO_CAL1, ci->RF_vco_cal1); in wlc_phy_chanspec_radio2055_setup() 20533 write_radio_reg(pi, RADIO_2055_VCO_CAL2, ci->RF_vco_cal2); in wlc_phy_chanspec_radio2055_setup() 20534 write_radio_reg(pi, RADIO_2055_PLL_LF_C1, ci->RF_pll_lf_c1); in wlc_phy_chanspec_radio2055_setup() 20535 write_radio_reg(pi, RADIO_2055_PLL_LF_R1, ci->RF_pll_lf_r1); in wlc_phy_chanspec_radio2055_setup() 20539 write_radio_reg(pi, RADIO_2055_PLL_LF_C2, ci->RF_pll_lf_c2); in wlc_phy_chanspec_radio2055_setup() [all …]
|
D | phy_lcn.c | 1677 const struct chan_info_2064_lcnphy *ci; in wlc_lcnphy_radio_2064_channel_tune_4313() local 1688 ci = &chan_info_2064_lcnphy[0]; in wlc_lcnphy_radio_2064_channel_tune_4313() 1710 ci = &chan_info_2064_lcnphy[i]; in wlc_lcnphy_radio_2064_channel_tune_4313() 1713 write_radio_reg(pi, RADIO_2064_REG02A, ci->logen_buftune); in wlc_lcnphy_radio_2064_channel_tune_4313() 1715 mod_radio_reg(pi, RADIO_2064_REG030, 0x3, ci->logen_rccr_tx); in wlc_lcnphy_radio_2064_channel_tune_4313() 1717 mod_radio_reg(pi, RADIO_2064_REG091, 0x3, ci->txrf_mix_tune_ctrl); in wlc_lcnphy_radio_2064_channel_tune_4313() 1719 mod_radio_reg(pi, RADIO_2064_REG038, 0xf, ci->pa_input_tune_g); in wlc_lcnphy_radio_2064_channel_tune_4313() 1722 (ci->logen_rccr_rx) << 2); in wlc_lcnphy_radio_2064_channel_tune_4313() 1724 mod_radio_reg(pi, RADIO_2064_REG05E, 0xf, ci->pa_rxrf_lna1_freq_tune); in wlc_lcnphy_radio_2064_channel_tune_4313() 1727 (ci->pa_rxrf_lna2_freq_tune) << 4); in wlc_lcnphy_radio_2064_channel_tune_4313() [all …]
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.c | 650 int ci; in bfa_msgq_rsp_copy() local 653 ci = rspq->consumer_index; in bfa_msgq_rsp_copy() 655 src += (ci * BFI_MSGQ_RSP_ENTRY_SIZE); in bfa_msgq_rsp_copy() 664 BFA_MSGQ_INDX_ADD(ci, 1, rspq->depth); in bfa_msgq_rsp_copy() 666 src += (ci * BFI_MSGQ_RSP_ENTRY_SIZE); in bfa_msgq_rsp_copy()
|
D | bnad.c | 516 u32 ci, vec; in bnad_cq_drop_packet() local 519 for (vec = 0, ci = sop_ci; vec < nvecs; vec++) { in bnad_cq_drop_packet() 520 unmap = &unmap_q->unmap[ci]; in bnad_cq_drop_packet() 521 BNA_QE_INDX_INC(ci, rcb->q_depth); in bnad_cq_drop_packet() 535 u32 ci, vec, len, totlen = 0; in bnad_cq_setup_skb_frags() local 546 for (vec = 1, ci = sop_ci; vec <= nvecs; vec++) { in bnad_cq_setup_skb_frags() 547 unmap = &unmap_q->unmap[ci]; in bnad_cq_setup_skb_frags() 548 BNA_QE_INDX_INC(ci, rcb->q_depth); in bnad_cq_setup_skb_frags()
|
/linux-4.1.27/include/linux/usb/ |
D | chipidea.h | 35 void (*notify_event) (struct ci_hdrc *ci, unsigned event);
|
/linux-4.1.27/drivers/video/console/ |
D | newport_con.c | 72 int xend, int yend, int ci) in newport_render_background() argument 79 npregs->set.colori = ci; in newport_render_background() 135 int yend, int ci) in newport_clear_screen() argument 145 npregs->set.colori = ci; in newport_clear_screen() 150 static inline void newport_clear_lines(int ystart, int yend, int ci) in newport_clear_lines() argument 154 newport_clear_screen(0, ystart, 1280 + 63, yend, ci); in newport_clear_lines()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_eq.c | 173 static inline void tavor_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in tavor_set_eq_ci() argument 184 mthca_write64(MTHCA_EQ_DB_SET_CI | eq->eqn, ci & (eq->nent - 1), in tavor_set_eq_ci() 189 static inline void arbel_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in arbel_set_eq_ci() argument 193 __raw_writel((__force u32) cpu_to_be32(ci), in arbel_set_eq_ci() 199 static inline void set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in set_eq_ci() argument 202 arbel_set_eq_ci(dev, eq, ci); in set_eq_ci() 204 tavor_set_eq_ci(dev, eq, ci); in set_eq_ci()
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
D | Makefile | 16 obj-$(CONFIG_DVB_BUDGET_CI) += budget-ci.o
|
D | Kconfig | 113 module will be called budget-ci.
|
/linux-4.1.27/drivers/parisc/ |
D | ccio-dma.c | 561 register unsigned long ci; /* coherent index */ in ccio_io_pdir_entry() local 587 asm volatile ("extrd,u %1,15,4,%0" : "=r" (ci) : "r" (pa)); in ccio_io_pdir_entry() 589 asm volatile ("depd %1,35,4,%0" : "+r" (pa) : "r" (ci)); in ccio_io_pdir_entry() 598 asm volatile ("lci %%r0(%%sr1, %1), %0" : "=r" (ci) : "r" (vba)); in ccio_io_pdir_entry() 599 asm volatile ("extru %1,19,12,%0" : "+r" (ci) : "r" (ci)); in ccio_io_pdir_entry() 600 asm volatile ("depw %1,15,12,%0" : "+r" (pa) : "r" (ci)); in ccio_io_pdir_entry()
|
D | sba_iommu.c | 571 register unsigned ci; /* coherent index */ in sba_io_pdir_entry() local 577 asm("lci 0(%%sr1, %1), %0" : "=r" (ci) : "r" (vba)); in sba_io_pdir_entry() 578 pa |= (ci >> PAGE_SHIFT) & 0xff; /* move CI (8 bits) into lowest byte */ in sba_io_pdir_entry()
|
/linux-4.1.27/net/bridge/ |
D | br_fdb.c | 605 struct nda_cacheinfo ci; in fdb_fill_info() local 626 ci.ndm_used = jiffies_to_clock_t(now - fdb->used); in fdb_fill_info() 627 ci.ndm_confirmed = 0; in fdb_fill_info() 628 ci.ndm_updated = jiffies_to_clock_t(now - fdb->updated); in fdb_fill_info() 629 ci.ndm_refcnt = 0; in fdb_fill_info() 630 if (nla_put(skb, NDA_CACHEINFO, sizeof(ci), &ci)) in fdb_fill_info()
|
/linux-4.1.27/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 3802 struct MR_PD_LIST *ci; in megasas_get_pd_list() local 3815 ci = pci_alloc_consistent(instance->pdev, in megasas_get_pd_list() 3818 if (!ci) { in megasas_get_pd_list() 3824 memset(ci, 0, sizeof(*ci)); in megasas_get_pd_list() 3850 pd_addr = ci->addr; in megasas_get_pd_list() 3853 (le32_to_cpu(ci->count) < in megasas_get_pd_list() 3859 for (pd_index = 0; pd_index < le32_to_cpu(ci->count); pd_index++) { in megasas_get_pd_list() 3875 ci, ci_h); in megasas_get_pd_list() 3901 struct MR_LD_LIST *ci; in megasas_get_ld_list() local 3914 ci = pci_alloc_consistent(instance->pdev, in megasas_get_ld_list() [all …]
|
D | megaraid_sas_fusion.c | 767 void *ci; in megasas_get_ld_map_info() local 790 ci = (void *) fusion->ld_map[(instance->map_id & 1)]; in megasas_get_ld_map_info() 793 if (!ci) { in megasas_get_ld_map_info() 799 memset(ci, 0, fusion->max_map_sz); in megasas_get_ld_map_info() 863 struct MR_LD_TARGET_SYNC *ci = NULL; in megasas_sync_map_info() local 895 ci = (struct MR_LD_TARGET_SYNC *) in megasas_sync_map_info() 897 memset(ci, 0, fusion->max_map_sz); in megasas_sync_map_info() 901 ld_sync = (struct MR_LD_TARGET_SYNC *)ci; in megasas_sync_map_info()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | Makefile | 8 obj-$(CONFIG_MEDIA_ALTERA_CI) += altera-ci.o
|
D | Kconfig | 60 module will be called altera-ci
|
/linux-4.1.27/drivers/staging/rts5208/ |
D | rtsx_transport.h | 42 #define rtsx_init_cmd(chip) ((chip)->ci = 0)
|
D | rtsx_transport.c | 216 if (chip->ci < (HOST_CMDS_BUF_LEN / 4)) in rtsx_add_cmd() 217 cb[(chip->ci)++] = cpu_to_le32(val); in rtsx_add_cmd() 228 val |= (u32)(chip->ci * 4) & 0x00FFFFFF; in rtsx_send_cmd_no_wait() 261 val |= (u32)(chip->ci * 4) & 0x00FFFFFF; in rtsx_send_cmd()
|
D | rtsx_chip.h | 700 int ci; /* Command Index */ member
|
/linux-4.1.27/net/ipv4/ |
D | devinet.c | 806 struct ifa_cacheinfo *ci; in rtm_to_ifaddr() local 808 ci = nla_data(tb[IFA_CACHEINFO]); in rtm_to_ifaddr() 809 if (!ci->ifa_valid || ci->ifa_prefered > ci->ifa_valid) { in rtm_to_ifaddr() 813 *pvalid_lft = ci->ifa_valid; in rtm_to_ifaddr() 814 *pprefered_lft = ci->ifa_prefered; in rtm_to_ifaddr() 1494 struct ifa_cacheinfo ci; in put_cacheinfo() local 1496 ci.cstamp = cstamp_delta(cstamp); in put_cacheinfo() 1497 ci.tstamp = cstamp_delta(tstamp); in put_cacheinfo() 1498 ci.ifa_prefered = preferred; in put_cacheinfo() 1499 ci.ifa_valid = valid; in put_cacheinfo() [all …]
|
/linux-4.1.27/drivers/ata/ |
D | sata_sil24.c | 1021 const struct sil24_cerr_info *ci = NULL; in sil24_error_intr() local 1065 ci = &sil24_cerr_db[cerr]; in sil24_error_intr() 1067 if (ci && ci->desc) { in sil24_error_intr() 1068 err_mask |= ci->err_mask; in sil24_error_intr() 1069 action |= ci->action; in sil24_error_intr() 1072 ata_ehi_push_desc(ehi, "%s", ci->desc); in sil24_error_intr()
|
/linux-4.1.27/sound/soc/davinci/ |
D | davinci-mcasp.c | 1092 struct snd_interval *ci = in davinci_mcasp_hw_rule_channels() local 1096 int max_chan_per_wire = rd->mcasp->tdm_slots < ci->max ? in davinci_mcasp_hw_rule_channels() 1097 rd->mcasp->tdm_slots : ci->max; in davinci_mcasp_hw_rule_channels() 1098 unsigned int list[ci->max - ci->min + 1]; in davinci_mcasp_hw_rule_channels() 1101 for (c1 = ci->min; c1 <= max_chan_per_wire; c1++) { in davinci_mcasp_hw_rule_channels() 1112 c <= ci->max; c++) in davinci_mcasp_hw_rule_channels() 1121 count, ci->min, ci->max, rate, sbits); in davinci_mcasp_hw_rule_channels()
|
/linux-4.1.27/net/rxrpc/ |
D | ar-key.c | 827 struct crypto_blkcipher *ci; in rxrpc_preparse_s() local 836 ci = crypto_alloc_blkcipher("pcbc(des)", 0, CRYPTO_ALG_ASYNC); in rxrpc_preparse_s() 837 if (IS_ERR(ci)) { in rxrpc_preparse_s() 838 _leave(" = %ld", PTR_ERR(ci)); in rxrpc_preparse_s() 839 return PTR_ERR(ci); in rxrpc_preparse_s() 842 if (crypto_blkcipher_setkey(ci, prep->data, 8) < 0) in rxrpc_preparse_s() 845 prep->payload[0] = ci; in rxrpc_preparse_s()
|
D | rxkad.c | 64 struct crypto_blkcipher *ci; in rxkad_init_connection_security() local 73 ci = crypto_alloc_blkcipher("pcbc(fcrypt)", 0, CRYPTO_ALG_ASYNC); in rxkad_init_connection_security() 74 if (IS_ERR(ci)) { in rxkad_init_connection_security() 76 ret = PTR_ERR(ci); in rxkad_init_connection_security() 80 if (crypto_blkcipher_setkey(ci, token->kad->session_key, in rxkad_init_connection_security() 102 conn->cipher = ci; in rxkad_init_connection_security()
|
/linux-4.1.27/include/linux/ |
D | com20020.h | 62 struct com20020_pci_card_info *ci; member
|
D | firewire.h | 73 void fw_csr_iterator_init(struct fw_csr_iterator *ci, const u32 *p); 74 int fw_csr_iterator_next(struct fw_csr_iterator *ci, int *key, int *value);
|
/linux-4.1.27/include/linux/mfd/ |
D | stmpe.h | 94 struct stmpe_client_info *ci; member
|
D | rtsx_pci.h | 845 #define rtsx_pci_init_cmd(pcr) ((pcr)->ci = 0) 890 int ci; member
|
/linux-4.1.27/sound/aoa/soundbus/ |
D | soundbus.h | 165 struct codec_info *ci, void *data);
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 1203 data->ci.ciPort); in pnv_eeh_get_and_dump_hub_diag() 1205 if (data->ci.ciPortStatus || data->ci.ciPortLdcp) in pnv_eeh_get_and_dump_hub_diag() 1207 be64_to_cpu(data->ci.ciPortStatus), in pnv_eeh_get_and_dump_hub_diag() 1208 be64_to_cpu(data->ci.ciPortLdcp)); in pnv_eeh_get_and_dump_hub_diag()
|
/linux-4.1.27/net/ipv6/ |
D | addrconf.c | 4127 struct ifa_cacheinfo *ci; in inet6_rtm_newaddr() local 4129 ci = nla_data(tb[IFA_CACHEINFO]); in inet6_rtm_newaddr() 4130 valid_lft = ci->ifa_valid; in inet6_rtm_newaddr() 4131 preferred_lft = ci->ifa_prefered; in inet6_rtm_newaddr() 4185 struct ifa_cacheinfo ci; in put_cacheinfo() local 4187 ci.cstamp = cstamp_delta(cstamp); in put_cacheinfo() 4188 ci.tstamp = cstamp_delta(tstamp); in put_cacheinfo() 4189 ci.ifa_prefered = preferred; in put_cacheinfo() 4190 ci.ifa_valid = valid; in put_cacheinfo() 4192 return nla_put(skb, IFA_CACHEINFO, sizeof(ci), &ci); in put_cacheinfo() [all …]
|
/linux-4.1.27/Documentation/dvb/ |
D | readme.txt | 34 "ci.txt"
|
D | bt8xx.txt | 58 Please also see Documentation/dvb/ci.txt.
|
/linux-4.1.27/drivers/cpufreq/ |
D | cpufreq.c | 259 static void adjust_jiffies(unsigned long val, struct cpufreq_freqs *ci) in adjust_jiffies() argument 265 if (ci->flags & CPUFREQ_CONST_LOOPS) in adjust_jiffies() 270 l_p_j_ref_freq = ci->old; in adjust_jiffies() 274 if (val == CPUFREQ_POSTCHANGE && ci->old != ci->new) { in adjust_jiffies() 276 ci->new); in adjust_jiffies() 278 loops_per_jiffy, ci->new); in adjust_jiffies()
|
/linux-4.1.27/drivers/target/ |
D | target_core_alua.c | 1637 struct config_item *ci; in core_alua_get_lu_gp_by_name() local 1643 ci = &lu_gp->lu_gp_group.cg_item; in core_alua_get_lu_gp_by_name() 1644 if (!strcmp(config_item_name(ci), name)) { in core_alua_get_lu_gp_by_name() 1918 struct config_item *ci; in core_alua_get_tg_pt_gp_by_name() local 1925 ci = &tg_pt_gp->tg_pt_gp_group.cg_item; in core_alua_get_tg_pt_gp_by_name() 1926 if (!strcmp(config_item_name(ci), name)) { in core_alua_get_tg_pt_gp_by_name()
|
/linux-4.1.27/drivers/media/rc/keymaps/ |
D | Makefile | 20 rc-budget-ci-old.o \
|
/linux-4.1.27/drivers/iio/adc/ |
D | max1363.c | 301 const struct max1363_chip_info *ci) in max1363_match_mode() argument 305 for (i = 0; i < ci->num_modes; i++) in max1363_match_mode() 307 max1363_mode_table[ci->mode_list[i]]. in max1363_match_mode() 310 return &max1363_mode_table[ci->mode_list[i]]; in max1363_match_mode()
|
/linux-4.1.27/drivers/net/ |
D | vxlan.c | 312 struct nda_cacheinfo ci; in vxlan_fdb_info() local 358 ci.ndm_used = jiffies_to_clock_t(now - fdb->used); in vxlan_fdb_info() 359 ci.ndm_confirmed = 0; in vxlan_fdb_info() 360 ci.ndm_updated = jiffies_to_clock_t(now - fdb->updated); in vxlan_fdb_info() 361 ci.ndm_refcnt = 0; in vxlan_fdb_info() 363 if (nla_put(skb, NDA_CACHEINFO, sizeof(ci), &ci)) in vxlan_fdb_info()
|
/linux-4.1.27/net/core/ |
D | neighbour.c | 2144 struct nda_cacheinfo ci; in neigh_fill_info() local 2175 ci.ndm_used = jiffies_to_clock_t(now - neigh->used); in neigh_fill_info() 2176 ci.ndm_confirmed = jiffies_to_clock_t(now - neigh->confirmed); in neigh_fill_info() 2177 ci.ndm_updated = jiffies_to_clock_t(now - neigh->updated); in neigh_fill_info() 2178 ci.ndm_refcnt = atomic_read(&neigh->refcnt) - 1; in neigh_fill_info() 2182 nla_put(skb, NDA_CACHEINFO, sizeof(ci), &ci)) in neigh_fill_info()
|
D | rtnetlink.c | 705 struct rta_cacheinfo ci = { in rtnl_put_cacheinfo() local 718 ci.rta_expires = (expires > 0) ? clock : -clock; in rtnl_put_cacheinfo() 720 return nla_put(skb, RTA_CACHEINFO, sizeof(ci), &ci); in rtnl_put_cacheinfo()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | opal-api.h | 518 }ci; member
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | wmi-tlv.c | 2052 struct wmi_channel *ci; in ath10k_wmi_tlv_op_gen_scan_chan_list() local 2060 chans_len = arg->n_channels * (sizeof(*tlv) + sizeof(*ci)); in ath10k_wmi_tlv_op_gen_scan_chan_list() 2088 tlv->len = __cpu_to_le16(sizeof(*ci)); in ath10k_wmi_tlv_op_gen_scan_chan_list() 2089 ci = (void *)tlv->value; in ath10k_wmi_tlv_op_gen_scan_chan_list() 2091 ath10k_wmi_put_wmi_channel(ci, ch); in ath10k_wmi_tlv_op_gen_scan_chan_list() 2094 chans += sizeof(*ci); in ath10k_wmi_tlv_op_gen_scan_chan_list()
|
D | wmi.c | 4707 struct wmi_channel *ci; in ath10k_wmi_op_gen_scan_chan_list() local 4722 ci = &cmd->chan_info[i]; in ath10k_wmi_op_gen_scan_chan_list() 4724 ath10k_wmi_put_wmi_channel(ci, ch); in ath10k_wmi_op_gen_scan_chan_list()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | mca_drv.c | 673 if (psp->us || psp->ci == 0) in recover_from_processor_error()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_atombios.c | 939 ATOM_CONNECTOR_INFO_I2C ci = in radeon_get_atom_connector_info_from_supported_devices_table() local 954 supported_devices_connector_convert[ci.sucConnectorInfo. in radeon_get_atom_connector_info_from_supported_devices_table() 962 dac = ci.sucConnectorInfo.sbfAccess.bfAssociatedDAC; in radeon_get_atom_connector_info_from_supported_devices_table() 965 ci.sucI2cId.ucAccess; in radeon_get_atom_connector_info_from_supported_devices_table() 2041 struct _ATOM_PPLIB_CI_CLOCK_INFO ci; member 2488 sclk = le16_to_cpu(clock_info->ci.usEngineClockLow); in radeon_atombios_parse_pplib_clock_info() 2489 sclk |= clock_info->ci.ucEngineClockHigh << 16; in radeon_atombios_parse_pplib_clock_info() 2490 mclk = le16_to_cpu(clock_info->ci.usMemoryClockLow); in radeon_atombios_parse_pplib_clock_info() 2491 mclk |= clock_info->ci.ucMemoryClockHigh << 16; in radeon_atombios_parse_pplib_clock_info()
|
D | ci_dpm.c | 5408 struct _ATOM_PPLIB_CI_CLOCK_INFO ci; member 5449 pl->sclk = le16_to_cpu(clock_info->ci.usEngineClockLow); in ci_parse_pplib_clock_info() 5450 pl->sclk |= clock_info->ci.ucEngineClockHigh << 16; in ci_parse_pplib_clock_info() 5451 pl->mclk = le16_to_cpu(clock_info->ci.usMemoryClockLow); in ci_parse_pplib_clock_info() 5452 pl->mclk |= clock_info->ci.ucMemoryClockHigh << 16; in ci_parse_pplib_clock_info() 5457 clock_info->ci.ucPCIEGen); in ci_parse_pplib_clock_info() 5460 le16_to_cpu(clock_info->ci.usPCIELane)); in ci_parse_pplib_clock_info() 5588 sclk = le16_to_cpu(clock_info->ci.usEngineClockLow); in ci_parse_power_table() 5589 sclk |= clock_info->ci.ucEngineClockHigh << 16; in ci_parse_power_table() 5590 mclk = le16_to_cpu(clock_info->ci.usMemoryClockLow); in ci_parse_power_table() [all …]
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_hw.h | 1891 uint32_t ci:1; member 1901 uint32_t ci:1; 2000 uint32_t ci:1; member 2010 uint32_t ci:1;
|
D | lpfc_mbox.c | 367 mb->un.varCfgLnk.ci = 1; in lpfc_config_link()
|
/linux-4.1.27/fs/isofs/ |
D | inode.c | 206 const struct qstr *name, int ms, int ci) in isofs_dentry_cmp_common() argument 220 if (ci) { in isofs_dentry_cmp_common()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | pal.h | 406 ci : 1, /* MC isolated */ member 704 #define pmci_proc_machine_check_isolated pme_processor.ci
|
/linux-4.1.27/drivers/usb/core/ |
D | devio.c | 1205 struct usbdevfs_connectinfo ci = { in proc_connectinfo() local 1210 if (copy_to_user(arg, &ci, sizeof(ci))) in proc_connectinfo()
|
/linux-4.1.27/drivers/staging/fwserial/ |
D | fwserial.c | 2065 struct fw_csr_iterator ci; in fwserial_add_peer() local 2089 fw_csr_iterator_init(&ci, unit->directory); in fwserial_add_peer() 2090 while (fw_csr_iterator_next(&ci, &key, &val)) { in fwserial_add_peer()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.h | 998 const struct vmw_ctx_bindinfo *ci);
|
/linux-4.1.27/Documentation/filesystems/ |
D | coda.txt | 194 22.. SSeerrvviicciinngg CCooddaa ffiilleessyysstteemm ccaallllss
|
/linux-4.1.27/Documentation/ |
D | kernel-parameters.txt | 3215 [[,]b[ios] | a[cpi] | k[bd] | t[riple] | e[fi] | p[ci]] \
|