/linux-master/fs/ocfs2/ |
H A D | uptodate.h | 23 u64 (*co_owner)(struct ocfs2_caching_info *ci); 26 struct super_block *(*co_get_super)(struct ocfs2_caching_info *ci); 31 void (*co_cache_lock)(struct ocfs2_caching_info *ci); 32 void (*co_cache_unlock)(struct ocfs2_caching_info *ci); 38 void (*co_io_lock)(struct ocfs2_caching_info *ci); 39 void (*co_io_unlock)(struct ocfs2_caching_info *ci); 45 void ocfs2_metadata_cache_init(struct ocfs2_caching_info *ci, 47 void ocfs2_metadata_cache_purge(struct ocfs2_caching_info *ci); 48 void ocfs2_metadata_cache_exit(struct ocfs2_caching_info *ci); 50 u64 ocfs2_metadata_cache_owner(struct ocfs2_caching_info *ci); [all...] |
H A D | uptodate.c | 56 u64 ocfs2_metadata_cache_owner(struct ocfs2_caching_info *ci) argument 58 BUG_ON(!ci || !ci->ci_ops); 60 return ci->ci_ops->co_owner(ci); 63 struct super_block *ocfs2_metadata_cache_get_super(struct ocfs2_caching_info *ci) argument 65 BUG_ON(!ci || !ci->ci_ops); 67 return ci->ci_ops->co_get_super(ci); 70 ocfs2_metadata_cache_lock(struct ocfs2_caching_info *ci) argument 77 ocfs2_metadata_cache_unlock(struct ocfs2_caching_info *ci) argument 84 ocfs2_metadata_cache_io_lock(struct ocfs2_caching_info *ci) argument 91 ocfs2_metadata_cache_io_unlock(struct ocfs2_caching_info *ci) argument 99 ocfs2_metadata_cache_reset(struct ocfs2_caching_info *ci, int clear) argument 111 ocfs2_metadata_cache_init(struct ocfs2_caching_info *ci, const struct ocfs2_caching_operations *ops) argument 120 ocfs2_metadata_cache_exit(struct ocfs2_caching_info *ci) argument 155 ocfs2_metadata_cache_purge(struct ocfs2_caching_info *ci) argument 191 ocfs2_search_cache_array(struct ocfs2_caching_info *ci, sector_t item) argument 207 ocfs2_search_cache_tree(struct ocfs2_caching_info *ci, sector_t block) argument 227 ocfs2_buffer_cached(struct ocfs2_caching_info *ci, struct buffer_head *bh) argument 257 ocfs2_buffer_uptodate(struct ocfs2_caching_info *ci, struct buffer_head *bh) argument 280 ocfs2_buffer_read_ahead(struct ocfs2_caching_info *ci, struct buffer_head *bh) argument 287 ocfs2_append_cache_array(struct ocfs2_caching_info *ci, sector_t block) argument 303 __ocfs2_insert_cache_tree(struct ocfs2_caching_info *ci, struct ocfs2_meta_cache_item *new) argument 338 ocfs2_insert_can_use_array(struct ocfs2_caching_info *ci) argument 349 ocfs2_expand_cache(struct ocfs2_caching_info *ci, struct ocfs2_meta_cache_item **tree) argument 384 __ocfs2_set_buffer_uptodate(struct ocfs2_caching_info *ci, sector_t block, int expand_tree) argument 467 ocfs2_set_buffer_uptodate(struct ocfs2_caching_info *ci, struct buffer_head *bh) argument 505 ocfs2_set_new_buffer_uptodate(struct ocfs2_caching_info *ci, struct buffer_head *bh) argument 519 ocfs2_remove_metadata_array(struct ocfs2_caching_info *ci, int index) argument 544 ocfs2_remove_metadata_tree(struct ocfs2_caching_info *ci, struct ocfs2_meta_cache_item *item) argument 555 ocfs2_remove_block_from_cache(struct ocfs2_caching_info *ci, sector_t block) argument 587 ocfs2_remove_from_cache(struct ocfs2_caching_info *ci, struct buffer_head *bh) argument 596 ocfs2_remove_xattr_clusters_from_cache(struct ocfs2_caching_info *ci, sector_t block, u32 c_len) argument [all...] |
/linux-master/drivers/usb/chipidea/ |
H A D | otg.h | 11 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask); 12 void hw_write_otgsc(struct ci_hdrc *ci, u32 mask, u32 data); 13 int ci_hdrc_otg_init(struct ci_hdrc *ci); 14 void ci_hdrc_otg_destroy(struct ci_hdrc *ci); 15 enum ci_role ci_otg_role(struct ci_hdrc *ci); 16 void ci_handle_vbus_change(struct ci_hdrc *ci); 17 void ci_handle_id_switch(struct ci_hdrc *ci); 18 static inline void ci_otg_queue_work(struct ci_hdrc *ci) argument 20 disable_irq_nosync(ci->irq); 21 if (queue_work(ci [all...] |
H A D | host.h | 7 int ci_hdrc_host_init(struct ci_hdrc *ci); 8 void ci_hdrc_host_destroy(struct ci_hdrc *ci); 13 static inline int ci_hdrc_host_init(struct ci_hdrc *ci) argument 18 static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci) argument
|
H A D | otg_fsm.c | 25 #include "ci.h" 36 struct ci_hdrc *ci = dev_get_drvdata(dev); local 40 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_req); 51 struct ci_hdrc *ci = dev_get_drvdata(dev); local 56 mutex_lock(&ci->fsm.lock); 58 ci->fsm.a_bus_req = 0; 61 if (ci->fsm.a_bus_drop) { 62 mutex_unlock(&ci->fsm.lock); 65 ci->fsm.a_bus_req = 1; 66 if (ci 85 struct ci_hdrc *ci = dev_get_drvdata(dev); local 100 struct ci_hdrc *ci = dev_get_drvdata(dev); local 125 struct ci_hdrc *ci = dev_get_drvdata(dev); local 140 struct ci_hdrc *ci = dev_get_drvdata(dev); local 168 struct ci_hdrc *ci = dev_get_drvdata(dev); local 219 ci_otg_add_timer(struct ci_hdrc *ci, enum otg_fsm_timer t) argument 246 ci_otg_del_timer(struct ci_hdrc *ci, enum otg_fsm_timer t) argument 286 a_wait_vrise_tmout(struct ci_hdrc *ci) argument 292 a_wait_vfall_tmout(struct ci_hdrc *ci) argument 298 a_wait_bcon_tmout(struct ci_hdrc *ci) argument 304 a_aidl_bdis_tmout(struct ci_hdrc *ci) argument 310 b_ase0_brst_tmout(struct ci_hdrc *ci) argument 316 a_bidl_adis_tmout(struct ci_hdrc *ci) argument 322 b_aidl_bdis_tmout(struct ci_hdrc *ci) argument 328 b_se0_srp_tmout(struct ci_hdrc *ci) argument 334 b_srp_fail_tmout(struct ci_hdrc *ci) argument 340 b_data_pls_tmout(struct ci_hdrc *ci) argument 351 b_ssend_srp_tmout(struct ci_hdrc *ci) argument 385 struct ci_hdrc *ci = container_of(t, struct ci_hdrc, otg_fsm_hrtimer); local 425 ci_otg_init_timers(struct ci_hdrc *ci) argument 438 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); local 447 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); local 461 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); local 502 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); local 544 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); local 555 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); local 569 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); local 590 ci_otg_fsm_work(struct ci_hdrc *ci) argument 646 ci_otg_fsm_event(struct ci_hdrc *ci) argument 741 ci_otg_fsm_irq(struct ci_hdrc *ci) argument 793 ci_hdrc_otg_fsm_start(struct ci_hdrc *ci) argument 798 ci_hdrc_otg_fsm_init(struct ci_hdrc *ci) argument 850 ci_hdrc_otg_fsm_remove(struct ci_hdrc *ci) argument [all...] |
H A D | otg_fsm.h | 66 int ci_hdrc_otg_fsm_init(struct ci_hdrc *ci); 67 int ci_otg_fsm_work(struct ci_hdrc *ci); 68 irqreturn_t ci_otg_fsm_irq(struct ci_hdrc *ci); 69 void ci_hdrc_otg_fsm_start(struct ci_hdrc *ci); 70 void ci_hdrc_otg_fsm_remove(struct ci_hdrc *ci); 74 static inline int ci_hdrc_otg_fsm_init(struct ci_hdrc *ci) argument 79 static inline int ci_otg_fsm_work(struct ci_hdrc *ci) argument 84 static inline irqreturn_t ci_otg_fsm_irq(struct ci_hdrc *ci) argument 89 static inline void ci_hdrc_otg_fsm_start(struct ci_hdrc *ci) argument 94 static inline void ci_hdrc_otg_fsm_remove(struct ci_hdrc *ci) argument [all...] |
H A D | core.c | 40 #include "ci.h" 100 static void hw_alloc_regmap(struct ci_hdrc *ci, bool is_lpm) argument 105 ci->hw_bank.regmap[i] = 106 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + 110 ci->hw_bank.regmap[i] = ci->hw_bank.op + 118 static enum ci_revision ci_get_revision(struct ci_hdrc *ci) argument 120 int ver = hw_read_id_reg(ci, ID_ID, VERSION) >> __ffs(VERSION); 124 rev = hw_read_id_reg(ci, ID_I 141 hw_read_intr_enable(struct ci_hdrc *ci) argument 153 hw_read_intr_status(struct ci_hdrc *ci) argument 165 hw_port_test_set(struct ci_hdrc *ci, u8 mode) argument 183 hw_port_test_get(struct ci_hdrc *ci) argument 200 ci_hdrc_enter_lpm_common(struct ci_hdrc *ci, bool enable) argument 213 ci_hdrc_enter_lpm(struct ci_hdrc *ci, bool enable) argument 218 hw_device_init(struct ci_hdrc *ci, void __iomem *base) argument 269 hw_phymode_configure(struct ci_hdrc *ci) argument 318 _ci_usb_phy_init(struct ci_hdrc *ci) argument 344 ci_usb_phy_exit(struct ci_hdrc *ci) argument 363 ci_usb_phy_init(struct ci_hdrc *ci) argument 403 ci_platform_configure(struct ci_hdrc *ci) argument 460 hw_controller_reset(struct ci_hdrc *ci) argument 480 hw_device_reset(struct ci_hdrc *ci) argument 521 struct ci_hdrc *ci = data; local 579 ci_irq(struct ci_hdrc *ci) argument 592 struct ci_hdrc *ci = cbl->ci; local 603 struct ci_hdrc *ci = usb_role_switch_get_drvdata(sw); local 617 struct ci_hdrc *ci = usb_role_switch_get_drvdata(sw); local 647 ci_get_role(struct ci_hdrc *ci) argument 829 ci_extcon_register(struct ci_hdrc *ci) argument 861 struct ci_hdrc *ci = container_of(work, struct ci_hdrc, power_lost_work); local 948 struct ci_hdrc *ci = platform_get_drvdata(pdev); local 963 ci_role_destroy(struct ci_hdrc *ci) argument 971 ci_get_otg_capable(struct ci_hdrc *ci) argument 990 struct ci_hdrc *ci = dev_get_drvdata(dev); local 1001 struct ci_hdrc *ci = dev_get_drvdata(dev); local 1043 ATTRIBUTE_GROUPS(ci); variable 1048 struct ci_hdrc *ci; local 1263 struct ci_hdrc *ci = platform_get_drvdata(pdev); local 1283 ci_otg_fsm_suspend_for_srp(struct ci_hdrc *ci) argument 1295 ci_otg_fsm_wakeup_by_srp(struct ci_hdrc *ci) argument 1309 ci_controller_suspend(struct ci_hdrc *ci) argument 1327 ci_extcon_wakeup_int(struct ci_hdrc *ci) argument 1348 struct ci_hdrc *ci = dev_get_drvdata(dev); local 1387 struct ci_hdrc *ci = dev_get_drvdata(dev); local 1424 struct ci_hdrc *ci = dev_get_drvdata(dev); local 1467 struct ci_hdrc *ci = dev_get_drvdata(dev); local [all...] |
H A D | ulpi.c | 10 #include "ci.h" 19 static int ci_ulpi_wait(struct ci_hdrc *ci, u32 mask) argument 24 if (!hw_read(ci, OP_ULPI_VIEWPORT, mask)) 35 struct ci_hdrc *ci = dev_get_drvdata(dev); local 38 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, ULPI_WRITE | ULPI_WAKEUP); 39 ret = ci_ulpi_wait(ci, ULPI_WAKEUP); 43 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, ULPI_RUN | ULPI_ADDR(addr)); 44 ret = ci_ulpi_wait(ci, ULPI_RUN); 48 return hw_read(ci, OP_ULPI_VIEWPORT, GENMASK(15, 8)) >> 8; 53 struct ci_hdrc *ci local 66 ci_ulpi_init(struct ci_hdrc *ci) argument 86 ci_ulpi_exit(struct ci_hdrc *ci) argument 94 ci_ulpi_resume(struct ci_hdrc *ci) argument [all...] |
H A D | otg.c | 19 #include "ci.h" 26 * @ci: the controller 29 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask) argument 32 u32 val = hw_read(ci, OP_OTGSC, mask); 38 cable = &ci->platdata->vbus_extcon; 39 if (!IS_ERR(cable->edev) || ci->role_switch) { 56 cable = &ci->platdata->id_extcon; 57 if (!IS_ERR(cable->edev) || ci->role_switch) { 79 * @ci: the controller 83 void hw_write_otgsc(struct ci_hdrc *ci, u3 argument 122 ci_otg_role(struct ci_hdrc *ci) argument 131 ci_handle_vbus_change(struct ci_hdrc *ci) argument 154 hw_wait_vbus_lower_bsv(struct ci_hdrc *ci) argument 171 ci_handle_id_switch(struct ci_hdrc *ci) argument 214 struct ci_hdrc *ci = container_of(work, struct ci_hdrc, work); local 243 ci_hdrc_otg_init(struct ci_hdrc *ci) argument 262 ci_hdrc_otg_destroy(struct ci_hdrc *ci) argument [all...] |
H A D | host.c | 20 #include "ci.h" 42 struct ci_hdrc *ci = dev_get_drvdata(dev); local 65 if (ci->platdata->flags & CI_HDRC_PHY_VBUS_CONTROL) { 67 usb_phy_vbus_on(ci->usb_phy); 69 usb_phy_vbus_off(ci->usb_phy); 72 if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) { 77 hw_port_test_set(ci, 5); 78 hw_port_test_set(ci, 0); 86 struct ci_hdrc *ci = dev_get_drvdata(dev); local 96 if (ci 114 host_irq(struct ci_hdrc *ci) argument 119 host_start(struct ci_hdrc *ci) argument 208 host_stop(struct ci_hdrc *ci) argument 233 ci_hdrc_host_destroy(struct ci_hdrc *ci) argument 257 struct ci_hdrc *ci = dev_get_drvdata(dev); local 333 struct ci_hdrc *ci = dev_get_drvdata(dev); local 456 ci_hdrc_host_suspend(struct ci_hdrc *ci) argument 461 ci_hdrc_host_resume(struct ci_hdrc *ci, bool power_lost) argument 467 ci_hdrc_host_init(struct ci_hdrc *ci) argument [all...] |
H A D | ci_hdrc_npcm.c | 13 #include "ci.h" 16 struct platform_device *ci; member in struct:npcm_udc_data 21 static int npcm_udc_notify_event(struct ci_hdrc *ci, unsigned event) argument 23 struct device *dev = ci->dev->parent; 28 hw_write(ci, OP_USBMODE, 0xffffffff, 0x0); 41 struct npcm_udc_data *ci; local 45 ci = devm_kzalloc(&pdev->dev, sizeof(*ci), GFP_KERNEL); 46 if (!ci) 48 platform_set_drvdata(pdev, ci); 85 struct npcm_udc_data *ci = platform_get_drvdata(pdev); local [all...] |
H A D | ci.h | 3 * ci.h - common structures, functions, and macros of the ChipIdea driver 84 * @ci: pointer to the controller 102 struct ci_hdrc *ci; member in struct:ci_hw_ep 138 void (*suspend)(struct ci_hdrc *ci); 139 void (*resume)(struct ci_hdrc *ci, bool power_lost); 270 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) argument 272 BUG_ON(ci->role >= CI_ROLE_END || !ci->roles[ci->role]); 273 return ci 276 ci_role_start(struct ci_hdrc *ci, enum ci_role role) argument 303 ci_role_stop(struct ci_hdrc *ci) argument 318 ci_role_to_usb_role(struct ci_hdrc *ci) argument 346 hw_read_id_reg(struct ci_hdrc *ci, u32 offset, u32 mask) argument 358 hw_write_id_reg(struct ci_hdrc *ci, u32 offset, u32 mask, u32 data) argument 376 hw_read(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) argument 392 __hw_write(struct ci_hdrc *ci, u32 val, void __iomem *addr) argument 408 hw_write(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask, u32 data) argument 426 hw_test_and_clear(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) argument 444 hw_test_and_write(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask, u32 data) argument 459 ci_otg_is_fsm_mode(struct ci_hdrc *ci) argument [all...] |
H A D | debug.c | 16 #include "ci.h" 26 struct ci_hdrc *ci = s->private; local 27 struct usb_gadget *gadget = &ci->gadget; 39 if (!ci->driver) 43 (ci->driver->function ? ci->driver->function : "")); 44 seq_printf(s, "gadget max speed = %d\n", ci->driver->max_speed); 55 struct ci_hdrc *ci = s->private; local 59 pm_runtime_get_sync(ci->dev); 60 spin_lock_irqsave(&ci 77 struct ci_hdrc *ci = s->private; local 123 struct ci_hdrc *ci = s->private; local 155 struct ci_hdrc *ci = s->private; local 189 struct ci_hdrc *ci = s->private; local 252 struct ci_hdrc *ci = s->private; local 289 dbg_create_files(struct ci_hdrc *ci) argument 310 dbg_remove_files(struct ci_hdrc *ci) argument [all...] |
H A D | ci_hdrc_pci.c | 22 struct platform_device *ci; member in struct:ci_hdrc_pci 58 struct ci_hdrc_pci *ci; local 67 ci = devm_kzalloc(&pdev->dev, sizeof(*ci), GFP_KERNEL); 68 if (!ci) 84 ci->phy = usb_phy_generic_register(); 85 if (IS_ERR(ci->phy)) 86 return PTR_ERR(ci->phy); 95 ci->ci 117 struct ci_hdrc_pci *ci = pci_get_drvdata(pdev); local [all...] |
H A D | ci_hdrc_msm.c | 17 #include "ci.h" 37 struct platform_device *ci; member in struct:ci_hdrc_msm 79 static int ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event) argument 81 struct device *dev = ci->dev->parent; 89 hw_phymode_configure(ci); 96 ret = phy_init(ci->phy); 100 ret = phy_power_on(ci->phy); 102 phy_exit(ci->phy); 107 hw_write_id_reg(ci, HS_PHY_AHB_MODE, 0xffffffff, 0x8); 110 hw_write_id_reg(ci, HS_PHY_GENCONFI 139 ci_hdrc_msm_mux_phy(struct ci_hdrc_msm *ci, struct platform_device *pdev) argument 174 struct ci_hdrc_msm *ci; local 279 struct ci_hdrc_msm *ci = platform_get_drvdata(pdev); local [all...] |
H A D | udc.c | 24 #include "ci.h" 52 static int reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, 66 static inline int ep_to_bit(struct ci_hdrc *ci, int n) argument 68 int fill = 16 - ci->hw_ep_max / 2; 70 if (n >= ci->hw_ep_max / 2) 78 * @ci: the controller 83 static int hw_device_state(struct ci_hdrc *ci, u32 dma) argument 86 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); 88 hw_write(ci, OP_USBINTR, ~0, 91 hw_write(ci, OP_USBINT 104 hw_ep_flush(struct ci_hdrc *ci, int num, int dir) argument 126 hw_ep_disable(struct ci_hdrc *ci, int num, int dir) argument 142 hw_ep_enable(struct ci_hdrc *ci, int num, int dir, int type) argument 177 hw_ep_get_halt(struct ci_hdrc *ci, int num, int dir) argument 193 hw_ep_prime(struct ci_hdrc *ci, int num, int dir, int is_ctrl) argument 224 hw_ep_set_halt(struct ci_hdrc *ci, int num, int dir, int value) argument 248 hw_port_is_high_speed(struct ci_hdrc *ci) argument 262 hw_test_and_clear_complete(struct ci_hdrc *ci, int n) argument 275 hw_test_and_clear_intr_active(struct ci_hdrc *ci) argument 290 hw_test_and_clear_setup_guard(struct ci_hdrc *ci) argument 302 hw_test_and_set_setup_guard(struct ci_hdrc *ci) argument 315 hw_usb_set_address(struct ci_hdrc *ci, u8 value) argument 328 hw_usb_reset(struct ci_hdrc *ci) argument 552 struct ci_hdrc *ci = hwep->ci; local 654 reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, struct td_node *node) argument 678 struct ci_hdrc *ci = hwep->ci; local 837 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); local 934 struct ci_hdrc *ci = hwep->ci; local 1049 struct ci_hdrc *ci = req->context; local 1074 isr_setup_status_phase(struct ci_hdrc *ci) argument 1131 otg_a_alt_hnp_support(struct ci_hdrc *ci) argument 1162 hw_test_and_set_setup_guard(ci); variable 1239 isr_setup_status_phase(ci); variable 1345 isr_setup_packet_handler(ci); variable 1661 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); local 1676 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); local 1706 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); local 1737 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); local 1762 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); local 1771 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); local 1787 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); local 1815 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); local 1845 init_eps(struct ci_hdrc *ci) argument 1910 destroy_eps(struct ci_hdrc *ci) argument 1933 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); local 1965 ci_udc_stop_for_otg_fsm(struct ci_hdrc *ci) argument 1986 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); local 2018 udc_irq(struct ci_hdrc *ci) argument 2088 udc_start(struct ci_hdrc *ci) argument 2152 ci_hdrc_gadget_destroy(struct ci_hdrc *ci) argument 2165 udc_id_switch_for_device(struct ci_hdrc *ci) argument 2179 udc_id_switch_for_host(struct ci_hdrc *ci) argument 2196 udc_suspend(struct ci_hdrc *ci) argument 2207 udc_resume(struct ci_hdrc *ci, bool power_lost) argument 2229 ci_hdrc_gadget_init(struct ci_hdrc *ci) argument [all...] |
H A D | trace.c | 13 void ci_log(struct ci_hdrc *ci, const char *fmt, ...) argument 21 trace_ci_log(ci, &vaf);
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | cxd2099.c | 53 static int read_block(struct cxd *ci, u8 adr, u8 *data, u16 n) argument 57 if (ci->lastaddress != adr) 58 status = regmap_write(ci->regmap, 0, adr); 60 ci->lastaddress = adr; 65 if (ci->cfg.max_i2c && len > ci->cfg.max_i2c) 66 len = ci->cfg.max_i2c; 67 status = regmap_raw_read(ci->regmap, 1, data, len); 77 static int read_reg(struct cxd *ci, u8 reg, u8 *val) argument 79 return read_block(ci, re 82 read_pccard(struct cxd *ci, u16 address, u8 *data, u8 n) argument 93 write_pccard(struct cxd *ci, u16 address, u8 *data, u8 n) argument 108 read_io(struct cxd *ci, u16 address, unsigned int *val) argument 119 write_io(struct cxd *ci, u16 address, u8 val) argument 130 write_regm(struct cxd *ci, u8 reg, u8 val, u8 mask) argument 150 write_reg(struct cxd *ci, u8 reg, u8 val) argument 155 write_block(struct cxd *ci, u8 adr, u8 *data, u16 n) argument 181 set_mode(struct cxd *ci, int mode) argument 199 cam_mode(struct cxd *ci, int mode) argument 227 init(struct cxd *ci) argument 379 struct cxd *ci = ca->data; local 392 struct cxd *ci = ca->data; local 404 struct cxd *ci = ca->data; local 417 struct cxd *ci = ca->data; local 428 struct cxd *ci = ca->data; local 457 struct cxd *ci = ca->data; local 479 struct cxd *ci = ca->data; local 489 campoll(struct cxd *ci) argument 533 struct cxd *ci = ca->data; local 546 struct cxd *ci = ca->data; local 575 struct cxd *ci = ca->data; local 603 struct cxd *ci; local 668 struct cxd *ci = i2c_get_clientdata(client); local [all...] |
/linux-master/arch/microblaze/kernel/cpu/ |
H A D | cpuinfo-static.c | 23 void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu) argument 27 ci->use_instr = 40 if (ci->use_instr != i) 43 ci->use_mult = fcpu(cpu, "xlnx,use-hw-mul"); 44 if (ci->use_mult != CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL) 46 ci->use_mult = 47 (ci->use_mult > 1 ? 49 (ci->use_mult == 1 ? PVR0_USE_HW_MUL_MASK : 0)); 51 ci->use_fpu = fcpu(cpu, "xlnx,use-fpu"); 52 if (ci [all...] |
/linux-master/drivers/media/pci/ddbridge/ |
H A D | ddbridge-ci.c | 3 * ddbridge-ci.c: Digital Devices bridge CI (DuoFlex, CI Bridge) support 12 #include "ddbridge-ci.h" 20 static int wait_ci_ready(struct ddb_ci *ci) argument 26 if (ddbreadl(ci->port->dev, 27 CI_CONTROL(ci->nr)) & CI_READY) 39 struct ddb_ci *ci = ca->data; local 44 ddbwritel(ci->port->dev, CI_READ_CMD | (1 << 16) | address, 45 CI_DO_READ_ATTRIBUTES(ci->nr)); 46 wait_ci_ready(ci); 47 val = 0xff & ddbreadl(ci 54 struct ddb_ci *ci = ca->data; local 66 struct ddb_ci *ci = ca->data; local 86 struct ddb_ci *ci = ca->data; local 96 struct ddb_ci *ci = ca->data; local 113 struct ddb_ci *ci = ca->data; local 122 struct ddb_ci *ci = ca->data; local 132 struct ddb_ci *ci = ca->data; local 156 struct ddb_ci *ci; local 171 write_creg(struct ddb_ci *ci, u8 data, u8 mask) argument 183 struct ddb_ci *ci = ca->data; local 196 struct ddb_ci *ci = ca->data; local 206 struct ddb_ci *ci = ca->data; local 219 struct ddb_ci *ci = ca->data; local 228 struct ddb_ci *ci = ca->data; local 242 struct ddb_ci *ci = ca->data; local 252 struct ddb_ci *ci = ca->data; local 261 struct ddb_ci *ci = ca->data; local 289 struct ddb_ci *ci; local [all...] |
/linux-master/fs/ceph/ |
H A D | cache.c | 17 struct ceph_inode_info *ci = ceph_inode(inode); local 32 WARN_ON_ONCE(ci->netfs.cache); 34 ci->netfs.cache = 36 &ci->i_vino, sizeof(ci->i_vino), 37 &ci->i_version, sizeof(ci->i_version), 39 if (ci->netfs.cache) 43 void ceph_fscache_unregister_inode_cookie(struct ceph_inode_info *ci) argument 45 fscache_relinquish_cookie(ceph_fscache_cookie(ci), fals 50 struct ceph_inode_info *ci = ceph_inode(inode); local 57 struct ceph_inode_info *ci = ceph_inode(inode); local 71 struct ceph_inode_info *ci = ceph_inode(inode); local 79 struct ceph_inode_info *ci = ceph_inode(inode); local [all...] |
H A D | io.c | 22 static void ceph_block_o_direct(struct ceph_inode_info *ci, struct inode *inode) argument 26 if (READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT) { 27 spin_lock(&ci->i_ceph_lock); 28 ci->i_ceph_flags &= ~CEPH_I_ODIRECT; 29 spin_unlock(&ci->i_ceph_lock); 53 struct ceph_inode_info *ci = ceph_inode(inode); local 57 if (!(READ_ONCE(ci->i_ceph_flags) & CEPH_I_ODIRECT)) 62 ceph_block_o_direct(ci, inode); 107 static void ceph_block_buffered(struct ceph_inode_info *ci, struct inode *inode) argument 111 if (!(READ_ONCE(ci 139 struct ceph_inode_info *ci = ceph_inode(inode); local [all...] |
H A D | caps.c | 50 struct ceph_inode_info *ci, 440 struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) argument 443 struct rb_node *n = ci->i_caps.rb_node; 457 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) argument 461 spin_lock(&ci->i_ceph_lock); 462 cap = __get_cap_for_mds(ci, mds); 463 spin_unlock(&ci->i_ceph_lock); 470 static void __insert_cap_node(struct ceph_inode_info *ci, argument 473 struct rb_node **p = &ci->i_caps.rb_node; 489 rb_insert_color(&new->ci_node, &ci 496 __cap_set_timeouts(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) argument 516 __cap_delay_requeue(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) argument 543 __cap_delay_requeue_front(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) argument 562 __cap_delay_cancel(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) argument 576 __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap, unsigned issued) argument 624 change_auth_cap_ses(struct ceph_inode_info *ci, struct ceph_mds_session *session) argument 657 struct ceph_inode_info *ci = ceph_inode(inode); local 811 __ceph_caps_issued(struct ceph_inode_info *ci, int *implemented) argument 846 __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap) argument 890 __ceph_caps_issued_mask(struct ceph_inode_info *ci, int mask, int touch) argument 948 __ceph_caps_issued_mask_metric(struct ceph_inode_info *ci, int mask, int touch) argument 965 __ceph_caps_revoking_other(struct ceph_inode_info *ci, struct ceph_cap *ocap, int mask) argument 980 ceph_caps_revoking(struct ceph_inode_info *ci, int mask) argument 994 __ceph_caps_used(struct ceph_inode_info *ci) argument 1019 __ceph_caps_file_wanted(struct ceph_inode_info *ci) argument 1080 __ceph_caps_wanted(struct ceph_inode_info *ci) argument 1098 __ceph_caps_mds_wanted(struct ceph_inode_info *ci, bool check) argument 1118 struct ceph_inode_info *ci = ceph_inode(inode); local 1138 struct ceph_inode_info *ci = cap->ci; local 1213 struct ceph_inode_info *ci = cap->ci; local 1377 __ceph_remove_caps(struct ceph_inode_info *ci) argument 1407 struct ceph_inode_info *ci = cap->ci; local 1533 __send_cap(struct cap_msg_args *arg, struct ceph_inode_info *ci) argument 1729 ceph_flush_snaps(struct ceph_inode_info *ci, struct ceph_mds_session **psession) argument 1795 __ceph_mark_dirty_caps(struct ceph_inode_info *ci, int mask, struct ceph_cap_flush **pcf) argument 1900 __detach_cap_flush_from_ci(struct ceph_inode_info *ci, struct ceph_cap_flush *cf) argument 1927 struct ceph_inode_info *ci = ceph_inode(inode); local 1975 struct ceph_inode_info *ci = ceph_inode(inode); variable in typeref:struct:ceph_inode_info 1996 __ceph_should_report_size(struct ceph_inode_info *ci) argument 2020 ceph_check_caps(struct ceph_inode_info *ci, int flags) argument 2289 struct ceph_inode_info *ci = ceph_inode(inode); local 2346 struct ceph_inode_info *ci = ceph_inode(inode); local 2368 struct ceph_inode_info *ci = ceph_inode(inode); local 2484 struct ceph_inode_info *ci = ceph_inode(inode); local 2536 struct ceph_inode_info *ci = ceph_inode(inode); local 2652 struct ceph_inode_info *ci; local 2704 struct ceph_inode_info *ci; local 2736 ceph_kick_flushing_inode_caps(struct ceph_mds_session *session, struct ceph_inode_info *ci) argument 2766 ceph_take_cap_refs(struct ceph_inode_info *ci, int got, bool snap_rwsem_locked) argument 2821 struct ceph_inode_info *ci = ceph_inode(inode); local 2981 struct ceph_inode_info *ci = ceph_inode(inode); local 3047 struct ceph_inode_info *ci = ceph_inode(inode); local 3184 ceph_get_cap_refs(struct ceph_inode_info *ci, int caps) argument 3196 ceph_try_drop_cap_snap(struct ceph_inode_info *ci, struct ceph_cap_snap *capsnap) argument 3231 __ceph_put_cap_refs(struct ceph_inode_info *ci, int had, enum put_cap_refs_mode mode) argument 3324 ceph_put_cap_refs(struct ceph_inode_info *ci, int had) argument 3329 ceph_put_cap_refs_async(struct ceph_inode_info *ci, int had) argument 3341 ceph_put_wrbuffer_cap_refs(struct ceph_inode_info *ci, int nr, struct ceph_snap_context *snapc) argument 3493 struct ceph_inode_info *ci = ceph_inode(inode); variable in typeref:struct:ceph_inode_info 3810 struct ceph_inode_info *ci = ceph_inode(inode); variable in typeref:struct:ceph_inode_info 3920 struct ceph_inode_info *ci = ceph_inode(inode); local 3948 struct ceph_inode_info *ci = ceph_inode(inode); local 3966 struct ceph_inode_info *ci = ceph_inode(inode); local 4019 struct ceph_inode_info *ci = ceph_inode(inode); local 4066 struct ceph_inode_info *ci = ceph_inode(inode); local 4199 struct ceph_inode_info *ci = ceph_inode(inode); local 4326 struct ceph_inode_info *ci; local 4606 struct ceph_inode_info *ci; local 4659 struct ceph_inode_info *ci; local 4685 __ceph_touch_fmode(struct ceph_inode_info *ci, struct ceph_mds_client *mdsc, int fmode) argument 4700 ceph_get_fmode(struct ceph_inode_info *ci, int fmode, int count) argument 4734 ceph_put_fmode(struct ceph_inode_info *ci, int fmode, int count) argument 4773 struct ceph_inode_info *ci = ceph_inode(inode); local 4816 struct ceph_inode_info *ci = ceph_inode(inode); local 4959 struct ceph_inode_info *ci = ceph_inode(inode); local 4987 struct ceph_inode_info *ci = ceph_inode(inode); local [all...] |
H A D | xattr.c | 18 static int __remove_xattr(struct ceph_inode_info *ci, 36 ssize_t (*getxattr_cb)(struct ceph_inode_info *ci, char *val, 38 bool (*exists_cb)(struct ceph_inode_info *ci); 49 static bool ceph_vxattrcb_layout_exists(struct ceph_inode_info *ci) argument 51 struct ceph_file_layout *fl = &ci->i_layout; 57 static ssize_t ceph_vxattrcb_layout(struct ceph_inode_info *ci, char *val, argument 60 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); 64 s64 pool = ci->i_layout.pool_id; 71 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); 73 doutc(cl, "%p\n", &ci 143 ceph_vxattrcb_layout_stripe_unit(struct ceph_inode_info *ci, char *val, size_t size) argument 149 ceph_vxattrcb_layout_stripe_count(struct ceph_inode_info *ci, char *val, size_t size) argument 155 ceph_vxattrcb_layout_object_size(struct ceph_inode_info *ci, char *val, size_t size) argument 161 ceph_vxattrcb_layout_pool(struct ceph_inode_info *ci, char *val, size_t size) argument 183 ceph_vxattrcb_layout_pool_namespace(struct ceph_inode_info *ci, char *val, size_t size) argument 200 ceph_vxattrcb_dir_entries(struct ceph_inode_info *ci, char *val, size_t size) argument 206 ceph_vxattrcb_dir_files(struct ceph_inode_info *ci, char *val, size_t size) argument 212 ceph_vxattrcb_dir_subdirs(struct ceph_inode_info *ci, char *val, size_t size) argument 218 ceph_vxattrcb_dir_rentries(struct ceph_inode_info *ci, char *val, size_t size) argument 225 ceph_vxattrcb_dir_rfiles(struct ceph_inode_info *ci, char *val, size_t size) argument 231 ceph_vxattrcb_dir_rsubdirs(struct ceph_inode_info *ci, char *val, size_t size) argument 237 ceph_vxattrcb_dir_rsnaps(struct ceph_inode_info *ci, char *val, size_t size) argument 243 ceph_vxattrcb_dir_rbytes(struct ceph_inode_info *ci, char *val, size_t size) argument 249 ceph_vxattrcb_dir_rctime(struct ceph_inode_info *ci, char *val, size_t size) argument 257 ceph_vxattrcb_dir_pin_exists(struct ceph_inode_info *ci) argument 262 ceph_vxattrcb_dir_pin(struct ceph_inode_info *ci, char *val, size_t size) argument 269 ceph_vxattrcb_quota_exists(struct ceph_inode_info *ci) argument 282 ceph_vxattrcb_quota(struct ceph_inode_info *ci, char *val, size_t size) argument 289 ceph_vxattrcb_quota_max_bytes(struct ceph_inode_info *ci, char *val, size_t size) argument 295 ceph_vxattrcb_quota_max_files(struct ceph_inode_info *ci, char *val, size_t size) argument 302 ceph_vxattrcb_snap_btime_exists(struct ceph_inode_info *ci) argument 307 ceph_vxattrcb_snap_btime(struct ceph_inode_info *ci, char *val, size_t size) argument 314 ceph_vxattrcb_cluster_fsid(struct ceph_inode_info *ci, char *val, size_t size) argument 322 ceph_vxattrcb_client_id(struct ceph_inode_info *ci, char *val, size_t size) argument 331 ceph_vxattrcb_caps(struct ceph_inode_info *ci, char *val, size_t size) argument 344 ceph_vxattrcb_auth_mds(struct ceph_inode_info *ci, char *val, size_t size) argument 357 ceph_vxattrcb_fscrypt_auth_exists(struct ceph_inode_info *ci) argument 362 ceph_vxattrcb_fscrypt_auth(struct ceph_inode_info *ci, char *val, size_t size) argument 568 __set_xattr(struct ceph_inode_info *ci, const char *name, int name_len, const char *val, int val_len, int flags, int update_xattr, struct ceph_inode_xattr **newxattr) argument 671 __get_xattr(struct ceph_inode_info *ci, const char *name) argument 718 __remove_xattr(struct ceph_inode_info *ci, struct ceph_inode_xattr *xattr) argument 739 __copy_xattr_names(struct ceph_inode_info *ci, char *dest) argument 764 __ceph_destroy_xattrs(struct ceph_inode_info *ci) argument 801 struct ceph_inode_info *ci = ceph_inode(inode); variable in typeref:struct:ceph_inode_info 880 __get_required_blob_size(struct ceph_inode_info *ci, int name_size, int val_size) argument 907 __ceph_build_xattrs_blob(struct ceph_inode_info *ci) argument 975 struct ceph_inode_info *ci = ceph_inode(inode); local 1069 struct ceph_inode_info *ci = ceph_inode(inode); local 1113 struct ceph_inode_info *ci = ceph_inode(inode); local 1182 struct ceph_inode_info *ci = ceph_inode(inode); local 1363 struct ceph_inode_info *ci; local [all...] |
/linux-master/fs/crypto/ |
H A D | keysetup_v1.c | 182 const struct fscrypt_inode_info *ci) 194 memcpy(&hash_key, ci->ci_policy.v1.master_key_descriptor, 199 if (memcmp(ci->ci_policy.v1.master_key_descriptor, 202 if (ci->ci_mode != dk->dk_mode) 204 if (!fscrypt_is_key_prepared(&dk->dk_key, ci)) 206 if (crypto_memneq(raw_key, dk->dk_raw, ci->ci_mode->keysize)) 222 fscrypt_get_direct_key(const struct fscrypt_inode_info *ci, const u8 *raw_key) argument 228 dk = find_or_insert_direct_key(NULL, raw_key, ci); 236 dk->dk_sb = ci->ci_inode->i_sb; 238 dk->dk_mode = ci 180 find_or_insert_direct_key(struct fscrypt_direct_key *to_insert, const u8 *raw_key, const struct fscrypt_inode_info *ci) argument 254 setup_v1_file_key_direct(struct fscrypt_inode_info *ci, const u8 *raw_master_key) argument 268 setup_v1_file_key_derived(struct fscrypt_inode_info *ci, const u8 *raw_master_key) argument 293 fscrypt_setup_v1_file_key(struct fscrypt_inode_info *ci, const u8 *raw_master_key) argument 303 fscrypt_setup_v1_file_key_via_subscribed_keyrings(struct fscrypt_inode_info *ci) argument [all...] |