Home
last modified time | relevance | path

Searched refs:ci (Results 1 - 25 of 504) sorted by relevance

12345678910>>...21

/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
H A Dcxd2099.c62 static int read_block(struct cxd *ci, u8 adr, u8 *data, u16 n) in read_block() argument
66 if (ci->lastaddress != adr) in read_block()
67 status = regmap_write(ci->regmap, 0, adr); in read_block()
69 ci->lastaddress = adr; in read_block()
74 if (ci->cfg.max_i2c && len > ci->cfg.max_i2c) in read_block()
75 len = ci->cfg.max_i2c; in read_block()
76 status = regmap_raw_read(ci->regmap, 1, data, len); in read_block()
86 static int read_reg(struct cxd *ci, u8 reg, u8 *val) in read_reg() argument
88 return read_block(ci, re in read_reg()
91 read_pccard(struct cxd *ci, u16 address, u8 *data, u8 n) read_pccard() argument
102 write_pccard(struct cxd *ci, u16 address, u8 *data, u8 n) write_pccard() argument
117 read_io(struct cxd *ci, u16 address, unsigned int *val) read_io() argument
128 write_io(struct cxd *ci, u16 address, u8 val) write_io() argument
139 write_regm(struct cxd *ci, u8 reg, u8 val, u8 mask) write_regm() argument
159 write_reg(struct cxd *ci, u8 reg, u8 val) write_reg() argument
164 write_block(struct cxd *ci, u8 adr, u8 *data, u16 n) write_block() argument
190 set_mode(struct cxd *ci, int mode) set_mode() argument
208 cam_mode(struct cxd *ci, int mode) cam_mode() argument
236 init(struct cxd *ci) init() argument
388 struct cxd *ci = ca->data; read_attribute_mem() local
401 struct cxd *ci = ca->data; write_attribute_mem() local
413 struct cxd *ci = ca->data; read_cam_control() local
426 struct cxd *ci = ca->data; write_cam_control() local
437 struct cxd *ci = ca->data; slot_reset() local
466 struct cxd *ci = ca->data; slot_shutdown() local
488 struct cxd *ci = ca->data; slot_ts_enable() local
498 campoll(struct cxd *ci) campoll() argument
542 struct cxd *ci = ca->data; poll_slot_status() local
555 struct cxd *ci = ca->data; read_data() local
584 struct cxd *ci = ca->data; write_data() local
613 struct cxd *ci; cxd2099_probe() local
678 struct cxd *ci = i2c_get_clientdata(client); cxd2099_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Dcxd2099.c53 static int read_block(struct cxd *ci, u8 adr, u8 *data, u16 n) in read_block() argument
57 if (ci->lastaddress != adr) in read_block()
58 status = regmap_write(ci->regmap, 0, adr); in read_block()
60 ci->lastaddress = adr; in read_block()
65 if (ci->cfg.max_i2c && len > ci->cfg.max_i2c) in read_block()
66 len = ci->cfg.max_i2c; in read_block()
67 status = regmap_raw_read(ci->regmap, 1, data, len); in read_block()
77 static int read_reg(struct cxd *ci, u8 reg, u8 *val) in read_reg() argument
79 return read_block(ci, re in read_reg()
82 read_pccard(struct cxd *ci, u16 address, u8 *data, u8 n) read_pccard() argument
93 write_pccard(struct cxd *ci, u16 address, u8 *data, u8 n) write_pccard() argument
108 read_io(struct cxd *ci, u16 address, unsigned int *val) read_io() argument
119 write_io(struct cxd *ci, u16 address, u8 val) write_io() argument
130 write_regm(struct cxd *ci, u8 reg, u8 val, u8 mask) write_regm() argument
150 write_reg(struct cxd *ci, u8 reg, u8 val) write_reg() argument
155 write_block(struct cxd *ci, u8 adr, u8 *data, u16 n) write_block() argument
181 set_mode(struct cxd *ci, int mode) set_mode() argument
199 cam_mode(struct cxd *ci, int mode) cam_mode() argument
227 init(struct cxd *ci) init() argument
379 struct cxd *ci = ca->data; read_attribute_mem() local
392 struct cxd *ci = ca->data; write_attribute_mem() local
404 struct cxd *ci = ca->data; read_cam_control() local
417 struct cxd *ci = ca->data; write_cam_control() local
428 struct cxd *ci = ca->data; slot_reset() local
457 struct cxd *ci = ca->data; slot_shutdown() local
479 struct cxd *ci = ca->data; slot_ts_enable() local
489 campoll(struct cxd *ci) campoll() argument
533 struct cxd *ci = ca->data; poll_slot_status() local
546 struct cxd *ci = ca->data; read_data() local
575 struct cxd *ci = ca->data; write_data() local
603 struct cxd *ci; cxd2099_probe() local
668 struct cxd *ci = i2c_get_clientdata(client); cxd2099_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/chipidea/
H A Dotg_fsm.c25 #include "ci.h"
36 struct ci_hdrc *ci = dev_get_drvdata(dev); in a_bus_req_show() local
40 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_req); in a_bus_req_show()
51 struct ci_hdrc *ci = dev_get_drvdata(dev); in a_bus_req_store() local
56 mutex_lock(&ci->fsm.lock); in a_bus_req_store()
58 ci->fsm.a_bus_req = 0; in a_bus_req_store()
61 if (ci->fsm.a_bus_drop) { in a_bus_req_store()
62 mutex_unlock(&ci->fsm.lock); in a_bus_req_store()
65 ci->fsm.a_bus_req = 1; in a_bus_req_store()
66 if (ci in a_bus_req_store()
85 struct ci_hdrc *ci = dev_get_drvdata(dev); a_bus_drop_show() local
100 struct ci_hdrc *ci = dev_get_drvdata(dev); a_bus_drop_store() local
125 struct ci_hdrc *ci = dev_get_drvdata(dev); b_bus_req_show() local
140 struct ci_hdrc *ci = dev_get_drvdata(dev); b_bus_req_store() local
168 struct ci_hdrc *ci = dev_get_drvdata(dev); a_clr_err_store() local
219 ci_otg_add_timer(struct ci_hdrc *ci, enum otg_fsm_timer t) ci_otg_add_timer() argument
246 ci_otg_del_timer(struct ci_hdrc *ci, enum otg_fsm_timer t) ci_otg_del_timer() argument
286 a_wait_vrise_tmout(struct ci_hdrc *ci) a_wait_vrise_tmout() argument
292 a_wait_vfall_tmout(struct ci_hdrc *ci) a_wait_vfall_tmout() argument
298 a_wait_bcon_tmout(struct ci_hdrc *ci) a_wait_bcon_tmout() argument
304 a_aidl_bdis_tmout(struct ci_hdrc *ci) a_aidl_bdis_tmout() argument
310 b_ase0_brst_tmout(struct ci_hdrc *ci) b_ase0_brst_tmout() argument
316 a_bidl_adis_tmout(struct ci_hdrc *ci) a_bidl_adis_tmout() argument
322 b_aidl_bdis_tmout(struct ci_hdrc *ci) b_aidl_bdis_tmout() argument
328 b_se0_srp_tmout(struct ci_hdrc *ci) b_se0_srp_tmout() argument
334 b_srp_fail_tmout(struct ci_hdrc *ci) b_srp_fail_tmout() argument
340 b_data_pls_tmout(struct ci_hdrc *ci) b_data_pls_tmout() argument
351 b_ssend_srp_tmout(struct ci_hdrc *ci) b_ssend_srp_tmout() argument
385 struct ci_hdrc *ci = container_of(t, struct ci_hdrc, otg_fsm_hrtimer); ci_otg_hrtimer_func() local
425 ci_otg_init_timers(struct ci_hdrc *ci) ci_otg_init_timers() argument
438 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_fsm_add_timer() local
447 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_fsm_del_timer() local
461 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_drv_vbus() local
502 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_loc_conn() local
544 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_start_pulse() local
555 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_start_host() local
569 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_start_gadget() local
590 ci_otg_fsm_work(struct ci_hdrc *ci) ci_otg_fsm_work() argument
646 ci_otg_fsm_event(struct ci_hdrc *ci) ci_otg_fsm_event() argument
741 ci_otg_fsm_irq(struct ci_hdrc *ci) ci_otg_fsm_irq() argument
793 ci_hdrc_otg_fsm_start(struct ci_hdrc *ci) ci_hdrc_otg_fsm_start() argument
798 ci_hdrc_otg_fsm_init(struct ci_hdrc *ci) ci_hdrc_otg_fsm_init() argument
850 ci_hdrc_otg_fsm_remove(struct ci_hdrc *ci) ci_hdrc_otg_fsm_remove() argument
[all...]
H A Dcore.c40 #include "ci.h"
100 static void hw_alloc_regmap(struct ci_hdrc *ci, bool is_lpm) in hw_alloc_regmap() argument
105 ci->hw_bank.regmap[i] = in hw_alloc_regmap()
106 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap()
110 ci->hw_bank.regmap[i] = ci->hw_bank.op + in hw_alloc_regmap()
118 static enum ci_revision ci_get_revision(struct ci_hdrc *ci) in ci_get_revision() argument
120 int ver = hw_read_id_reg(ci, ID_ID, VERSION) >> __ffs(VERSION); in ci_get_revision()
124 rev = hw_read_id_reg(ci, ID_I in ci_get_revision()
141 hw_read_intr_enable(struct ci_hdrc *ci) hw_read_intr_enable() argument
153 hw_read_intr_status(struct ci_hdrc *ci) hw_read_intr_status() argument
165 hw_port_test_set(struct ci_hdrc *ci, u8 mode) hw_port_test_set() argument
183 hw_port_test_get(struct ci_hdrc *ci) hw_port_test_get() argument
200 ci_hdrc_enter_lpm_common(struct ci_hdrc *ci, bool enable) ci_hdrc_enter_lpm_common() argument
213 ci_hdrc_enter_lpm(struct ci_hdrc *ci, bool enable) ci_hdrc_enter_lpm() argument
218 hw_device_init(struct ci_hdrc *ci, void __iomem *base) hw_device_init() argument
269 hw_phymode_configure(struct ci_hdrc *ci) hw_phymode_configure() argument
318 _ci_usb_phy_init(struct ci_hdrc *ci) _ci_usb_phy_init() argument
344 ci_usb_phy_exit(struct ci_hdrc *ci) ci_usb_phy_exit() argument
363 ci_usb_phy_init(struct ci_hdrc *ci) ci_usb_phy_init() argument
403 ci_platform_configure(struct ci_hdrc *ci) ci_platform_configure() argument
460 hw_controller_reset(struct ci_hdrc *ci) hw_controller_reset() argument
480 hw_device_reset(struct ci_hdrc *ci) hw_device_reset() argument
521 struct ci_hdrc *ci = data; ci_irq_handler() local
579 ci_irq(struct ci_hdrc *ci) ci_irq() argument
592 struct ci_hdrc *ci = cbl->ci; ci_cable_notifier() local
603 struct ci_hdrc *ci = usb_role_switch_get_drvdata(sw); ci_usb_role_switch_get() local
617 struct ci_hdrc *ci = usb_role_switch_get_drvdata(sw); ci_usb_role_switch_set() local
647 ci_get_role(struct ci_hdrc *ci) ci_get_role() argument
829 ci_extcon_register(struct ci_hdrc *ci) ci_extcon_register() argument
861 struct ci_hdrc *ci = container_of(work, struct ci_hdrc, power_lost_work); ci_power_lost_work() local
948 struct ci_hdrc *ci = platform_get_drvdata(pdev); ci_hdrc_query_available_role() local
963 ci_role_destroy(struct ci_hdrc *ci) ci_role_destroy() argument
971 ci_get_otg_capable(struct ci_hdrc *ci) ci_get_otg_capable() argument
990 struct ci_hdrc *ci = dev_get_drvdata(dev); role_show() local
1001 struct ci_hdrc *ci = dev_get_drvdata(dev); role_store() local
1043 ATTRIBUTE_GROUPS(ci); global() variable
1048 struct ci_hdrc *ci; ci_hdrc_probe() local
1263 struct ci_hdrc *ci = platform_get_drvdata(pdev); ci_hdrc_remove() local
1283 ci_otg_fsm_suspend_for_srp(struct ci_hdrc *ci) ci_otg_fsm_suspend_for_srp() argument
1295 ci_otg_fsm_wakeup_by_srp(struct ci_hdrc *ci) ci_otg_fsm_wakeup_by_srp() argument
1309 ci_controller_suspend(struct ci_hdrc *ci) ci_controller_suspend() argument
1327 ci_extcon_wakeup_int(struct ci_hdrc *ci) ci_extcon_wakeup_int() argument
1348 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_controller_resume() local
1387 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_suspend() local
1424 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_resume() local
1467 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_runtime_suspend() local
[all...]
H A Dotg.c19 #include "ci.h"
26 * @ci: the controller
29 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask) in hw_read_otgsc() argument
32 u32 val = hw_read(ci, OP_OTGSC, mask); in hw_read_otgsc()
38 cable = &ci->platdata->vbus_extcon; in hw_read_otgsc()
39 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc()
56 cable = &ci->platdata->id_extcon; in hw_read_otgsc()
57 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc()
79 * @ci: the controller
83 void hw_write_otgsc(struct ci_hdrc *ci, u3 argument
122 ci_otg_role(struct ci_hdrc *ci) ci_otg_role() argument
131 ci_handle_vbus_change(struct ci_hdrc *ci) ci_handle_vbus_change() argument
151 hw_wait_vbus_lower_bsv(struct ci_hdrc *ci) hw_wait_vbus_lower_bsv() argument
168 ci_handle_id_switch(struct ci_hdrc *ci) ci_handle_id_switch() argument
211 struct ci_hdrc *ci = container_of(work, struct ci_hdrc, work); ci_otg_work() local
240 ci_hdrc_otg_init(struct ci_hdrc *ci) ci_hdrc_otg_init() argument
259 ci_hdrc_otg_destroy(struct ci_hdrc *ci) ci_hdrc_otg_destroy() argument
[all...]
H A Dudc.c24 #include "ci.h"
52 static int reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep,
66 static inline int ep_to_bit(struct ci_hdrc *ci, int n) in ep_to_bit() argument
68 int fill = 16 - ci->hw_ep_max / 2; in ep_to_bit()
70 if (n >= ci->hw_ep_max / 2) in ep_to_bit()
78 * @ci: the controller
83 static int hw_device_state(struct ci_hdrc *ci, u32 dma) in hw_device_state() argument
86 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); in hw_device_state()
88 hw_write(ci, OP_USBINTR, ~0, in hw_device_state()
91 hw_write(ci, OP_USBINT in hw_device_state()
104 hw_ep_flush(struct ci_hdrc *ci, int num, int dir) hw_ep_flush() argument
126 hw_ep_disable(struct ci_hdrc *ci, int num, int dir) hw_ep_disable() argument
142 hw_ep_enable(struct ci_hdrc *ci, int num, int dir, int type) hw_ep_enable() argument
177 hw_ep_get_halt(struct ci_hdrc *ci, int num, int dir) hw_ep_get_halt() argument
193 hw_ep_prime(struct ci_hdrc *ci, int num, int dir, int is_ctrl) hw_ep_prime() argument
224 hw_ep_set_halt(struct ci_hdrc *ci, int num, int dir, int value) hw_ep_set_halt() argument
248 hw_port_is_high_speed(struct ci_hdrc *ci) hw_port_is_high_speed() argument
262 hw_test_and_clear_complete(struct ci_hdrc *ci, int n) hw_test_and_clear_complete() argument
275 hw_test_and_clear_intr_active(struct ci_hdrc *ci) hw_test_and_clear_intr_active() argument
290 hw_test_and_clear_setup_guard(struct ci_hdrc *ci) hw_test_and_clear_setup_guard() argument
302 hw_test_and_set_setup_guard(struct ci_hdrc *ci) hw_test_and_set_setup_guard() argument
315 hw_usb_set_address(struct ci_hdrc *ci, u8 value) hw_usb_set_address() argument
328 hw_usb_reset(struct ci_hdrc *ci) hw_usb_reset() argument
552 struct ci_hdrc *ci = hwep->ci; _hardware_enqueue() local
654 reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, struct td_node *node) reprime_dtd() argument
678 struct ci_hdrc *ci = hwep->ci; _hardware_dequeue() local
836 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); _gadget_stop_activity() local
933 struct ci_hdrc *ci = hwep->ci; _ep_queue() local
1048 struct ci_hdrc *ci = req->context; isr_setup_status_complete() local
1073 isr_setup_status_phase(struct ci_hdrc *ci) isr_setup_status_phase() argument
1130 otg_a_alt_hnp_support(struct ci_hdrc *ci) otg_a_alt_hnp_support() argument
1161 hw_test_and_set_setup_guard(ci); global() variable
1238 isr_setup_status_phase(ci); global() variable
1344 isr_setup_packet_handler(ci); global() variable
1660 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_get_frame() local
1675 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_hdrc_gadget_connect() local
1705 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_vbus_session() local
1736 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_wakeup() local
1761 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_vbus_draw() local
1770 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_selfpowered() local
1786 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_pullup() local
1814 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); ci_udc_match_ep() local
1844 init_eps(struct ci_hdrc *ci) init_eps() argument
1909 destroy_eps(struct ci_hdrc *ci) destroy_eps() argument
1932 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); ci_udc_start() local
1964 ci_udc_stop_for_otg_fsm(struct ci_hdrc *ci) ci_udc_stop_for_otg_fsm() argument
1985 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); ci_udc_stop() local
2017 udc_irq(struct ci_hdrc *ci) udc_irq() argument
2087 udc_start(struct ci_hdrc *ci) udc_start() argument
2151 ci_hdrc_gadget_destroy(struct ci_hdrc *ci) ci_hdrc_gadget_destroy() argument
2164 udc_id_switch_for_device(struct ci_hdrc *ci) udc_id_switch_for_device() argument
2178 udc_id_switch_for_host(struct ci_hdrc *ci) udc_id_switch_for_host() argument
2195 udc_suspend(struct ci_hdrc *ci) udc_suspend() argument
2206 udc_resume(struct ci_hdrc *ci, bool power_lost) udc_resume() argument
2228 ci_hdrc_gadget_init(struct ci_hdrc *ci) ci_hdrc_gadget_init() argument
[all...]
H A Dhost.c20 #include "ci.h"
42 struct ci_hdrc *ci = dev_get_drvdata(dev); in ehci_ci_portpower() local
65 if (ci->platdata->flags & CI_HDRC_PHY_VBUS_CONTROL) { in ehci_ci_portpower()
67 usb_phy_vbus_on(ci->usb_phy); in ehci_ci_portpower()
69 usb_phy_vbus_off(ci->usb_phy); in ehci_ci_portpower()
72 if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) { in ehci_ci_portpower()
77 hw_port_test_set(ci, 5); in ehci_ci_portpower()
78 hw_port_test_set(ci, 0); in ehci_ci_portpower()
86 struct ci_hdrc *ci = dev_get_drvdata(dev); in ehci_ci_reset() local
96 if (ci in ehci_ci_reset()
114 host_irq(struct ci_hdrc *ci) host_irq() argument
119 host_start(struct ci_hdrc *ci) host_start() argument
208 host_stop(struct ci_hdrc *ci) host_stop() argument
233 ci_hdrc_host_destroy(struct ci_hdrc *ci) ci_hdrc_host_destroy() argument
257 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_ehci_hub_control() local
333 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_ehci_bus_suspend() local
456 ci_hdrc_host_suspend(struct ci_hdrc *ci) ci_hdrc_host_suspend() argument
461 ci_hdrc_host_resume(struct ci_hdrc *ci, bool power_lost) ci_hdrc_host_resume() argument
467 ci_hdrc_host_init(struct ci_hdrc *ci) ci_hdrc_host_init() argument
[all...]
H A Dci.h3 * ci.h - common structures, functions, and macros of the ChipIdea driver
84 * @ci: pointer to the controller
102 struct ci_hdrc *ci; member
138 void (*suspend)(struct ci_hdrc *ci);
139 void (*resume)(struct ci_hdrc *ci, bool power_lost);
270 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() argument
272 BUG_ON(ci->role >= CI_ROLE_END || !ci->roles[ci->role]); in ci_role()
273 return ci in ci_role()
276 ci_role_start(struct ci_hdrc *ci, enum ci_role role) ci_role_start() argument
303 ci_role_stop(struct ci_hdrc *ci) ci_role_stop() argument
318 ci_role_to_usb_role(struct ci_hdrc *ci) ci_role_to_usb_role() argument
346 hw_read_id_reg(struct ci_hdrc *ci, u32 offset, u32 mask) hw_read_id_reg() argument
358 hw_write_id_reg(struct ci_hdrc *ci, u32 offset, u32 mask, u32 data) hw_write_id_reg() argument
376 hw_read(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) hw_read() argument
392 __hw_write(struct ci_hdrc *ci, u32 val, void __iomem *addr) __hw_write() argument
408 hw_write(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask, u32 data) hw_write() argument
426 hw_test_and_clear(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) hw_test_and_clear() argument
444 hw_test_and_write(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask, u32 data) hw_test_and_write() argument
459 ci_otg_is_fsm_mode(struct ci_hdrc *ci) ci_otg_is_fsm_mode() argument
[all...]
H A Ddebug.c16 #include "ci.h"
26 struct ci_hdrc *ci = s->private; in ci_device_show() local
27 struct usb_gadget *gadget = &ci->gadget; in ci_device_show()
39 if (!ci->driver) in ci_device_show()
43 (ci->driver->function ? ci->driver->function : "")); in ci_device_show()
44 seq_printf(s, "gadget max speed = %d\n", ci->driver->max_speed); in ci_device_show()
55 struct ci_hdrc *ci = s->private; in ci_port_test_show() local
59 pm_runtime_get_sync(ci->dev); in ci_port_test_show()
60 spin_lock_irqsave(&ci in ci_port_test_show()
77 struct ci_hdrc *ci = s->private; ci_port_test_write() local
123 struct ci_hdrc *ci = s->private; ci_qheads_show() local
155 struct ci_hdrc *ci = s->private; ci_requests_show() local
189 struct ci_hdrc *ci = s->private; ci_otg_show() local
252 struct ci_hdrc *ci = s->private; ci_registers_show() local
289 dbg_create_files(struct ci_hdrc *ci) dbg_create_files() argument
310 dbg_remove_files(struct ci_hdrc *ci) dbg_remove_files() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/chipidea/
H A Dotg_fsm.c25 #include "ci.h"
36 struct ci_hdrc *ci = dev_get_drvdata(dev); in a_bus_req_show() local
40 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_req); in a_bus_req_show()
51 struct ci_hdrc *ci = dev_get_drvdata(dev); in a_bus_req_store() local
56 mutex_lock(&ci->fsm.lock); in a_bus_req_store()
58 ci->fsm.a_bus_req = 0; in a_bus_req_store()
61 if (ci->fsm.a_bus_drop) { in a_bus_req_store()
62 mutex_unlock(&ci->fsm.lock); in a_bus_req_store()
65 ci->fsm.a_bus_req = 1; in a_bus_req_store()
66 if (ci in a_bus_req_store()
85 struct ci_hdrc *ci = dev_get_drvdata(dev); a_bus_drop_show() local
100 struct ci_hdrc *ci = dev_get_drvdata(dev); a_bus_drop_store() local
125 struct ci_hdrc *ci = dev_get_drvdata(dev); b_bus_req_show() local
140 struct ci_hdrc *ci = dev_get_drvdata(dev); b_bus_req_store() local
168 struct ci_hdrc *ci = dev_get_drvdata(dev); a_clr_err_store() local
219 ci_otg_add_timer(struct ci_hdrc *ci, enum otg_fsm_timer t) ci_otg_add_timer() argument
246 ci_otg_del_timer(struct ci_hdrc *ci, enum otg_fsm_timer t) ci_otg_del_timer() argument
286 a_wait_vrise_tmout(struct ci_hdrc *ci) a_wait_vrise_tmout() argument
292 a_wait_vfall_tmout(struct ci_hdrc *ci) a_wait_vfall_tmout() argument
298 a_wait_bcon_tmout(struct ci_hdrc *ci) a_wait_bcon_tmout() argument
304 a_aidl_bdis_tmout(struct ci_hdrc *ci) a_aidl_bdis_tmout() argument
310 b_ase0_brst_tmout(struct ci_hdrc *ci) b_ase0_brst_tmout() argument
316 a_bidl_adis_tmout(struct ci_hdrc *ci) a_bidl_adis_tmout() argument
322 b_aidl_bdis_tmout(struct ci_hdrc *ci) b_aidl_bdis_tmout() argument
328 b_se0_srp_tmout(struct ci_hdrc *ci) b_se0_srp_tmout() argument
334 b_srp_fail_tmout(struct ci_hdrc *ci) b_srp_fail_tmout() argument
340 b_data_pls_tmout(struct ci_hdrc *ci) b_data_pls_tmout() argument
351 b_ssend_srp_tmout(struct ci_hdrc *ci) b_ssend_srp_tmout() argument
385 struct ci_hdrc *ci = container_of(t, struct ci_hdrc, otg_fsm_hrtimer); ci_otg_hrtimer_func() local
425 ci_otg_init_timers(struct ci_hdrc *ci) ci_otg_init_timers() argument
438 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_fsm_add_timer() local
447 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_fsm_del_timer() local
461 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_drv_vbus() local
495 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_loc_conn() local
537 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_start_pulse() local
548 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_start_host() local
562 struct ci_hdrc *ci = container_of(fsm, struct ci_hdrc, fsm); ci_otg_start_gadget() local
583 ci_otg_fsm_work(struct ci_hdrc *ci) ci_otg_fsm_work() argument
639 ci_otg_fsm_event(struct ci_hdrc *ci) ci_otg_fsm_event() argument
734 ci_otg_fsm_irq(struct ci_hdrc *ci) ci_otg_fsm_irq() argument
786 ci_hdrc_otg_fsm_start(struct ci_hdrc *ci) ci_hdrc_otg_fsm_start() argument
791 ci_hdrc_otg_fsm_init(struct ci_hdrc *ci) ci_hdrc_otg_fsm_init() argument
843 ci_hdrc_otg_fsm_remove(struct ci_hdrc *ci) ci_hdrc_otg_fsm_remove() argument
[all...]
H A Dcore.c40 #include "ci.h"
98 static void hw_alloc_regmap(struct ci_hdrc *ci, bool is_lpm) in hw_alloc_regmap() argument
103 ci->hw_bank.regmap[i] = in hw_alloc_regmap()
104 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap()
108 ci->hw_bank.regmap[i] = ci->hw_bank.op + in hw_alloc_regmap()
116 static enum ci_revision ci_get_revision(struct ci_hdrc *ci) in ci_get_revision() argument
118 int ver = hw_read_id_reg(ci, ID_ID, VERSION) >> __ffs(VERSION); in ci_get_revision()
122 rev = hw_read_id_reg(ci, ID_I in ci_get_revision()
139 hw_read_intr_enable(struct ci_hdrc *ci) hw_read_intr_enable() argument
151 hw_read_intr_status(struct ci_hdrc *ci) hw_read_intr_status() argument
163 hw_port_test_set(struct ci_hdrc *ci, u8 mode) hw_port_test_set() argument
181 hw_port_test_get(struct ci_hdrc *ci) hw_port_test_get() argument
198 ci_hdrc_enter_lpm(struct ci_hdrc *ci, bool enable) ci_hdrc_enter_lpm() argument
211 hw_device_init(struct ci_hdrc *ci, void __iomem *base) hw_device_init() argument
262 hw_phymode_configure(struct ci_hdrc *ci) hw_phymode_configure() argument
311 _ci_usb_phy_init(struct ci_hdrc *ci) _ci_usb_phy_init() argument
337 ci_usb_phy_exit(struct ci_hdrc *ci) ci_usb_phy_exit() argument
356 ci_usb_phy_init(struct ci_hdrc *ci) ci_usb_phy_init() argument
396 ci_platform_configure(struct ci_hdrc *ci) ci_platform_configure() argument
453 hw_controller_reset(struct ci_hdrc *ci) hw_controller_reset() argument
473 hw_device_reset(struct ci_hdrc *ci) hw_device_reset() argument
514 struct ci_hdrc *ci = data; ci_irq_handler() local
572 ci_irq(struct ci_hdrc *ci) ci_irq() argument
585 struct ci_hdrc *ci = cbl->ci; ci_cable_notifier() local
596 struct ci_hdrc *ci = usb_role_switch_get_drvdata(sw); ci_usb_role_switch_get() local
610 struct ci_hdrc *ci = usb_role_switch_get_drvdata(sw); ci_usb_role_switch_set() local
812 ci_extcon_register(struct ci_hdrc *ci) ci_extcon_register() argument
909 struct ci_hdrc *ci = platform_get_drvdata(pdev); ci_hdrc_query_available_role() local
924 ci_role_destroy(struct ci_hdrc *ci) ci_role_destroy() argument
932 ci_get_otg_capable(struct ci_hdrc *ci) ci_get_otg_capable() argument
951 struct ci_hdrc *ci = dev_get_drvdata(dev); role_show() local
962 struct ci_hdrc *ci = dev_get_drvdata(dev); role_store() local
1004 ATTRIBUTE_GROUPS(ci); global() variable
1009 struct ci_hdrc *ci; ci_hdrc_probe() local
1239 struct ci_hdrc *ci = platform_get_drvdata(pdev); ci_hdrc_remove() local
1261 ci_otg_fsm_suspend_for_srp(struct ci_hdrc *ci) ci_otg_fsm_suspend_for_srp() argument
1273 ci_otg_fsm_wakeup_by_srp(struct ci_hdrc *ci) ci_otg_fsm_wakeup_by_srp() argument
1287 ci_controller_suspend(struct ci_hdrc *ci) ci_controller_suspend() argument
1305 ci_extcon_wakeup_int(struct ci_hdrc *ci) ci_extcon_wakeup_int() argument
1324 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_controller_resume() local
1363 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_suspend() local
1396 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_resume() local
1418 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_runtime_suspend() local
[all...]
H A Dotg.c19 #include "ci.h"
26 * @ci: the controller
29 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask) in hw_read_otgsc() argument
32 u32 val = hw_read(ci, OP_OTGSC, mask); in hw_read_otgsc()
38 cable = &ci->platdata->vbus_extcon; in hw_read_otgsc()
39 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc()
56 cable = &ci->platdata->id_extcon; in hw_read_otgsc()
57 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc()
79 * @ci: the controller
83 void hw_write_otgsc(struct ci_hdrc *ci, u3 argument
122 ci_otg_role(struct ci_hdrc *ci) ci_otg_role() argument
131 ci_handle_vbus_change(struct ci_hdrc *ci) ci_handle_vbus_change() argument
150 hw_wait_vbus_lower_bsv(struct ci_hdrc *ci) hw_wait_vbus_lower_bsv() argument
167 ci_handle_id_switch(struct ci_hdrc *ci) ci_handle_id_switch() argument
210 struct ci_hdrc *ci = container_of(work, struct ci_hdrc, work); ci_otg_work() local
239 ci_hdrc_otg_init(struct ci_hdrc *ci) ci_hdrc_otg_init() argument
258 ci_hdrc_otg_destroy(struct ci_hdrc *ci) ci_hdrc_otg_destroy() argument
[all...]
H A Dudc.c24 #include "ci.h"
63 static inline int ep_to_bit(struct ci_hdrc *ci, int n) in ep_to_bit() argument
65 int fill = 16 - ci->hw_ep_max / 2; in ep_to_bit()
67 if (n >= ci->hw_ep_max / 2) in ep_to_bit()
75 * @ci: the controller
80 static int hw_device_state(struct ci_hdrc *ci, u32 dma) in hw_device_state() argument
83 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); in hw_device_state()
85 hw_write(ci, OP_USBINTR, ~0, in hw_device_state()
88 hw_write(ci, OP_USBINTR, ~0, 0); in hw_device_state()
95 * @ci
101 hw_ep_flush(struct ci_hdrc *ci, int num, int dir) hw_ep_flush() argument
123 hw_ep_disable(struct ci_hdrc *ci, int num, int dir) hw_ep_disable() argument
139 hw_ep_enable(struct ci_hdrc *ci, int num, int dir, int type) hw_ep_enable() argument
174 hw_ep_get_halt(struct ci_hdrc *ci, int num, int dir) hw_ep_get_halt() argument
190 hw_ep_prime(struct ci_hdrc *ci, int num, int dir, int is_ctrl) hw_ep_prime() argument
221 hw_ep_set_halt(struct ci_hdrc *ci, int num, int dir, int value) hw_ep_set_halt() argument
245 hw_port_is_high_speed(struct ci_hdrc *ci) hw_port_is_high_speed() argument
259 hw_test_and_clear_complete(struct ci_hdrc *ci, int n) hw_test_and_clear_complete() argument
272 hw_test_and_clear_intr_active(struct ci_hdrc *ci) hw_test_and_clear_intr_active() argument
287 hw_test_and_clear_setup_guard(struct ci_hdrc *ci) hw_test_and_clear_setup_guard() argument
299 hw_test_and_set_setup_guard(struct ci_hdrc *ci) hw_test_and_set_setup_guard() argument
312 hw_usb_set_address(struct ci_hdrc *ci, u8 value) hw_usb_set_address() argument
325 hw_usb_reset(struct ci_hdrc *ci) hw_usb_reset() argument
549 struct ci_hdrc *ci = hwep->ci; _hardware_enqueue() local
641 reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, struct td_node *node) reprime_dtd() argument
665 struct ci_hdrc *ci = hwep->ci; _hardware_dequeue() local
822 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); _gadget_stop_activity() local
919 struct ci_hdrc *ci = hwep->ci; _ep_queue() local
1034 struct ci_hdrc *ci = req->context; isr_setup_status_complete() local
1059 isr_setup_status_phase(struct ci_hdrc *ci) isr_setup_status_phase() argument
1116 otg_a_alt_hnp_support(struct ci_hdrc *ci) otg_a_alt_hnp_support() argument
1147 hw_test_and_set_setup_guard(ci); global() variable
1224 isr_setup_status_phase(ci); global() variable
1330 isr_setup_packet_handler(ci); global() variable
1648 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_hdrc_gadget_connect() local
1678 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_vbus_session() local
1702 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_wakeup() local
1727 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_vbus_draw() local
1736 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_selfpowered() local
1752 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); ci_udc_pullup() local
1780 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); ci_udc_match_ep() local
1809 init_eps(struct ci_hdrc *ci) init_eps() argument
1874 destroy_eps(struct ci_hdrc *ci) destroy_eps() argument
1897 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); ci_udc_start() local
1929 ci_udc_stop_for_otg_fsm(struct ci_hdrc *ci) ci_udc_stop_for_otg_fsm() argument
1950 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); ci_udc_stop() local
1982 udc_irq(struct ci_hdrc *ci) udc_irq() argument
2049 udc_start(struct ci_hdrc *ci) udc_start() argument
2113 ci_hdrc_gadget_destroy(struct ci_hdrc *ci) ci_hdrc_gadget_destroy() argument
2126 udc_id_switch_for_device(struct ci_hdrc *ci) udc_id_switch_for_device() argument
2140 udc_id_switch_for_host(struct ci_hdrc *ci) udc_id_switch_for_host() argument
2162 ci_hdrc_gadget_init(struct ci_hdrc *ci) ci_hdrc_gadget_init() argument
[all...]
H A Dhost.c20 #include "ci.h"
37 struct ci_hdrc *ci = dev_get_drvdata(dev); in ehci_ci_portpower() local
60 if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) { in ehci_ci_portpower()
65 hw_port_test_set(ci, 5); in ehci_ci_portpower()
66 hw_port_test_set(ci, 0); in ehci_ci_portpower()
74 struct ci_hdrc *ci = dev_get_drvdata(dev); in ehci_ci_reset() local
84 if (ci->platdata->notify_event) { in ehci_ci_reset()
85 ret = ci->platdata->notify_event(ci, in ehci_ci_reset()
91 ci_platform_configure(ci); in ehci_ci_reset()
102 host_irq(struct ci_hdrc *ci) host_irq() argument
107 host_start(struct ci_hdrc *ci) host_start() argument
194 host_stop(struct ci_hdrc *ci) host_stop() argument
219 ci_hdrc_host_destroy(struct ci_hdrc *ci) ci_hdrc_host_destroy() argument
242 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_ehci_hub_control() local
311 struct ci_hdrc *ci = dev_get_drvdata(dev); ci_ehci_bus_suspend() local
360 ci_hdrc_host_init(struct ci_hdrc *ci) ci_hdrc_host_init() argument
[all...]
H A Ddebug.c16 #include "ci.h"
26 struct ci_hdrc *ci = s->private; in ci_device_show() local
27 struct usb_gadget *gadget = &ci->gadget; in ci_device_show()
39 if (!ci->driver) in ci_device_show()
43 (ci->driver->function ? ci->driver->function : "")); in ci_device_show()
44 seq_printf(s, "gadget max speed = %d\n", ci->driver->max_speed); in ci_device_show()
55 struct ci_hdrc *ci = s->private; in ci_port_test_show() local
59 pm_runtime_get_sync(ci->dev); in ci_port_test_show()
60 spin_lock_irqsave(&ci in ci_port_test_show()
77 struct ci_hdrc *ci = s->private; ci_port_test_write() local
123 struct ci_hdrc *ci = s->private; ci_qheads_show() local
155 struct ci_hdrc *ci = s->private; ci_requests_show() local
189 struct ci_hdrc *ci = s->private; ci_otg_show() local
252 struct ci_hdrc *ci = s->private; ci_role_show() local
264 struct ci_hdrc *ci = s->private; ci_role_write() local
306 struct ci_hdrc *ci = s->private; ci_registers_show() local
343 dbg_create_files(struct ci_hdrc *ci) dbg_create_files() argument
371 dbg_remove_files(struct ci_hdrc *ci) dbg_remove_files() argument
[all...]
H A Dci.h3 * ci.h - common structures, functions, and macros of the ChipIdea driver
83 * @ci: pointer to the controller
101 struct ci_hdrc *ci; member
264 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() argument
266 BUG_ON(ci->role >= CI_ROLE_END || !ci->roles[ci->role]); in ci_role()
267 return ci->roles[ci->role]; in ci_role()
270 static inline int ci_role_start(struct ci_hdrc *ci, enu argument
286 ci_role_stop(struct ci_hdrc *ci) ci_role_stop() argument
298 ci_role_to_usb_role(struct ci_hdrc *ci) ci_role_to_usb_role() argument
326 hw_read_id_reg(struct ci_hdrc *ci, u32 offset, u32 mask) hw_read_id_reg() argument
338 hw_write_id_reg(struct ci_hdrc *ci, u32 offset, u32 mask, u32 data) hw_write_id_reg() argument
356 hw_read(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) hw_read() argument
372 __hw_write(struct ci_hdrc *ci, u32 val, void __iomem *addr) __hw_write() argument
388 hw_write(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask, u32 data) hw_write() argument
406 hw_test_and_clear(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) hw_test_and_clear() argument
424 hw_test_and_write(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask, u32 data) hw_test_and_write() argument
439 ci_otg_is_fsm_mode(struct ci_hdrc *ci) ci_otg_is_fsm_mode() argument
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/
H A Duptodate.c58 u64 ocfs2_metadata_cache_owner(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_owner() argument
60 BUG_ON(!ci || !ci->ci_ops); in ocfs2_metadata_cache_owner()
62 return ci->ci_ops->co_owner(ci); in ocfs2_metadata_cache_owner()
65 struct super_block *ocfs2_metadata_cache_get_super(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_get_super() argument
67 BUG_ON(!ci || !ci->ci_ops); in ocfs2_metadata_cache_get_super()
69 return ci->ci_ops->co_get_super(ci); in ocfs2_metadata_cache_get_super()
72 ocfs2_metadata_cache_lock(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_lock() argument
79 ocfs2_metadata_cache_unlock(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_unlock() argument
86 ocfs2_metadata_cache_io_lock(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_io_lock() argument
93 ocfs2_metadata_cache_io_unlock(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_io_unlock() argument
101 ocfs2_metadata_cache_reset(struct ocfs2_caching_info *ci, int clear) ocfs2_metadata_cache_reset() argument
113 ocfs2_metadata_cache_init(struct ocfs2_caching_info *ci, const struct ocfs2_caching_operations *ops) ocfs2_metadata_cache_init() argument
122 ocfs2_metadata_cache_exit(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_exit() argument
157 ocfs2_metadata_cache_purge(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_purge() argument
193 ocfs2_search_cache_array(struct ocfs2_caching_info *ci, sector_t item) ocfs2_search_cache_array() argument
209 ocfs2_search_cache_tree(struct ocfs2_caching_info *ci, sector_t block) ocfs2_search_cache_tree() argument
229 ocfs2_buffer_cached(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_buffer_cached() argument
259 ocfs2_buffer_uptodate(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_buffer_uptodate() argument
282 ocfs2_buffer_read_ahead(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_buffer_read_ahead() argument
289 ocfs2_append_cache_array(struct ocfs2_caching_info *ci, sector_t block) ocfs2_append_cache_array() argument
305 __ocfs2_insert_cache_tree(struct ocfs2_caching_info *ci, struct ocfs2_meta_cache_item *new) __ocfs2_insert_cache_tree() argument
340 ocfs2_insert_can_use_array(struct ocfs2_caching_info *ci) ocfs2_insert_can_use_array() argument
351 ocfs2_expand_cache(struct ocfs2_caching_info *ci, struct ocfs2_meta_cache_item **tree) ocfs2_expand_cache() argument
386 __ocfs2_set_buffer_uptodate(struct ocfs2_caching_info *ci, sector_t block, int expand_tree) __ocfs2_set_buffer_uptodate() argument
469 ocfs2_set_buffer_uptodate(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_set_buffer_uptodate() argument
507 ocfs2_set_new_buffer_uptodate(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_set_new_buffer_uptodate() argument
521 ocfs2_remove_metadata_array(struct ocfs2_caching_info *ci, int index) ocfs2_remove_metadata_array() argument
546 ocfs2_remove_metadata_tree(struct ocfs2_caching_info *ci, struct ocfs2_meta_cache_item *item) ocfs2_remove_metadata_tree() argument
557 ocfs2_remove_block_from_cache(struct ocfs2_caching_info *ci, sector_t block) ocfs2_remove_block_from_cache() argument
589 ocfs2_remove_from_cache(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_remove_from_cache() argument
598 ocfs2_remove_xattr_clusters_from_cache(struct ocfs2_caching_info *ci, sector_t block, u32 c_len) ocfs2_remove_xattr_clusters_from_cache() argument
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Duptodate.c56 u64 ocfs2_metadata_cache_owner(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_owner() argument
58 BUG_ON(!ci || !ci->ci_ops); in ocfs2_metadata_cache_owner()
60 return ci->ci_ops->co_owner(ci); in ocfs2_metadata_cache_owner()
63 struct super_block *ocfs2_metadata_cache_get_super(struct ocfs2_caching_info *ci) in ocfs2_metadata_cache_get_super() argument
65 BUG_ON(!ci || !ci->ci_ops); in ocfs2_metadata_cache_get_super()
67 return ci->ci_ops->co_get_super(ci); in ocfs2_metadata_cache_get_super()
70 ocfs2_metadata_cache_lock(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_lock() argument
77 ocfs2_metadata_cache_unlock(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_unlock() argument
84 ocfs2_metadata_cache_io_lock(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_io_lock() argument
91 ocfs2_metadata_cache_io_unlock(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_io_unlock() argument
99 ocfs2_metadata_cache_reset(struct ocfs2_caching_info *ci, int clear) ocfs2_metadata_cache_reset() argument
111 ocfs2_metadata_cache_init(struct ocfs2_caching_info *ci, const struct ocfs2_caching_operations *ops) ocfs2_metadata_cache_init() argument
120 ocfs2_metadata_cache_exit(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_exit() argument
155 ocfs2_metadata_cache_purge(struct ocfs2_caching_info *ci) ocfs2_metadata_cache_purge() argument
191 ocfs2_search_cache_array(struct ocfs2_caching_info *ci, sector_t item) ocfs2_search_cache_array() argument
207 ocfs2_search_cache_tree(struct ocfs2_caching_info *ci, sector_t block) ocfs2_search_cache_tree() argument
227 ocfs2_buffer_cached(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_buffer_cached() argument
257 ocfs2_buffer_uptodate(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_buffer_uptodate() argument
280 ocfs2_buffer_read_ahead(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_buffer_read_ahead() argument
287 ocfs2_append_cache_array(struct ocfs2_caching_info *ci, sector_t block) ocfs2_append_cache_array() argument
303 __ocfs2_insert_cache_tree(struct ocfs2_caching_info *ci, struct ocfs2_meta_cache_item *new) __ocfs2_insert_cache_tree() argument
338 ocfs2_insert_can_use_array(struct ocfs2_caching_info *ci) ocfs2_insert_can_use_array() argument
349 ocfs2_expand_cache(struct ocfs2_caching_info *ci, struct ocfs2_meta_cache_item **tree) ocfs2_expand_cache() argument
384 __ocfs2_set_buffer_uptodate(struct ocfs2_caching_info *ci, sector_t block, int expand_tree) __ocfs2_set_buffer_uptodate() argument
467 ocfs2_set_buffer_uptodate(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_set_buffer_uptodate() argument
505 ocfs2_set_new_buffer_uptodate(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_set_new_buffer_uptodate() argument
519 ocfs2_remove_metadata_array(struct ocfs2_caching_info *ci, int index) ocfs2_remove_metadata_array() argument
544 ocfs2_remove_metadata_tree(struct ocfs2_caching_info *ci, struct ocfs2_meta_cache_item *item) ocfs2_remove_metadata_tree() argument
555 ocfs2_remove_block_from_cache(struct ocfs2_caching_info *ci, sector_t block) ocfs2_remove_block_from_cache() argument
587 ocfs2_remove_from_cache(struct ocfs2_caching_info *ci, struct buffer_head *bh) ocfs2_remove_from_cache() argument
596 ocfs2_remove_xattr_clusters_from_cache(struct ocfs2_caching_info *ci, sector_t block, u32 c_len) ocfs2_remove_xattr_clusters_from_cache() argument
[all...]
/kernel/linux/linux-5.10/arch/microblaze/kernel/cpu/
H A Dcpuinfo-static.c23 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 in set_cpuinfo_static()
[all...]
/kernel/linux/linux-6.6/arch/microblaze/kernel/cpu/
H A Dcpuinfo-static.c23 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 in set_cpuinfo_static()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
H A Dddbridge-ci.c3 * ddbridge-ci.c: Digital Devices bridge CI (DuoFlex, CI Bridge) support
21 #include "ddbridge-ci.h"
29 static int wait_ci_ready(struct ddb_ci *ci) in wait_ci_ready() argument
35 if (ddbreadl(ci->port->dev, in wait_ci_ready()
36 CI_CONTROL(ci->nr)) & CI_READY) in wait_ci_ready()
48 struct ddb_ci *ci = ca->data; in read_attribute_mem() local
53 ddbwritel(ci->port->dev, CI_READ_CMD | (1 << 16) | address, in read_attribute_mem()
54 CI_DO_READ_ATTRIBUTES(ci->nr)); in read_attribute_mem()
55 wait_ci_ready(ci); in read_attribute_mem()
56 val = 0xff & ddbreadl(ci in read_attribute_mem()
63 struct ddb_ci *ci = ca->data; write_attribute_mem() local
75 struct ddb_ci *ci = ca->data; read_cam_control() local
95 struct ddb_ci *ci = ca->data; write_cam_control() local
105 struct ddb_ci *ci = ca->data; slot_reset() local
122 struct ddb_ci *ci = ca->data; slot_shutdown() local
131 struct ddb_ci *ci = ca->data; slot_ts_enable() local
141 struct ddb_ci *ci = ca->data; poll_slot_status() local
165 struct ddb_ci *ci; ci_attach() local
180 write_creg(struct ddb_ci *ci, u8 data, u8 mask) write_creg() argument
192 struct ddb_ci *ci = ca->data; read_attribute_mem_xo2() local
205 struct ddb_ci *ci = ca->data; write_attribute_mem_xo2() local
215 struct ddb_ci *ci = ca->data; read_cam_control_xo2() local
228 struct ddb_ci *ci = ca->data; write_cam_control_xo2() local
237 struct ddb_ci *ci = ca->data; slot_reset_xo2() local
251 struct ddb_ci *ci = ca->data; slot_shutdown_xo2() local
261 struct ddb_ci *ci = ca->data; slot_ts_enable_xo2() local
270 struct ddb_ci *ci = ca->data; poll_slot_status_xo2() local
298 struct ddb_ci *ci; ci_xo2_attach() local
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/ddbridge/
H A Dddbridge-ci.c3 * 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) in wait_ci_ready() argument
26 if (ddbreadl(ci->port->dev, in wait_ci_ready()
27 CI_CONTROL(ci->nr)) & CI_READY) in wait_ci_ready()
39 struct ddb_ci *ci = ca->data; in read_attribute_mem() local
44 ddbwritel(ci->port->dev, CI_READ_CMD | (1 << 16) | address, in read_attribute_mem()
45 CI_DO_READ_ATTRIBUTES(ci->nr)); in read_attribute_mem()
46 wait_ci_ready(ci); in read_attribute_mem()
47 val = 0xff & ddbreadl(ci in read_attribute_mem()
54 struct ddb_ci *ci = ca->data; write_attribute_mem() local
66 struct ddb_ci *ci = ca->data; read_cam_control() local
86 struct ddb_ci *ci = ca->data; write_cam_control() local
96 struct ddb_ci *ci = ca->data; slot_reset() local
113 struct ddb_ci *ci = ca->data; slot_shutdown() local
122 struct ddb_ci *ci = ca->data; slot_ts_enable() local
132 struct ddb_ci *ci = ca->data; poll_slot_status() local
156 struct ddb_ci *ci; ci_attach() local
171 write_creg(struct ddb_ci *ci, u8 data, u8 mask) write_creg() argument
183 struct ddb_ci *ci = ca->data; read_attribute_mem_xo2() local
196 struct ddb_ci *ci = ca->data; write_attribute_mem_xo2() local
206 struct ddb_ci *ci = ca->data; read_cam_control_xo2() local
219 struct ddb_ci *ci = ca->data; write_cam_control_xo2() local
228 struct ddb_ci *ci = ca->data; slot_reset_xo2() local
242 struct ddb_ci *ci = ca->data; slot_shutdown_xo2() local
252 struct ddb_ci *ci = ca->data; slot_ts_enable_xo2() local
261 struct ddb_ci *ci = ca->data; poll_slot_status_xo2() local
289 struct ddb_ci *ci; ci_xo2_attach() local
[all...]
/kernel/linux/linux-5.10/fs/ceph/
H A Dxattr.c18 static int __remove_xattr(struct ceph_inode_info *ci,
36 ssize_t (*getxattr_cb)(struct ceph_inode_info *ci, char *val,
38 bool (*exists_cb)(struct ceph_inode_info *ci);
48 static bool ceph_vxattrcb_layout_exists(struct ceph_inode_info *ci) in ceph_vxattrcb_layout_exists() argument
50 struct ceph_file_layout *fl = &ci->i_layout; in ceph_vxattrcb_layout_exists()
56 static ssize_t ceph_vxattrcb_layout(struct ceph_inode_info *ci, char *val, in ceph_vxattrcb_layout() argument
59 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in ceph_vxattrcb_layout()
62 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout()
69 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout()
71 dout("ceph_vxattrcb_layout %p\n", &ci in ceph_vxattrcb_layout()
141 ceph_vxattrcb_layout_stripe_unit(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_layout_stripe_unit() argument
147 ceph_vxattrcb_layout_stripe_count(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_layout_stripe_count() argument
153 ceph_vxattrcb_layout_object_size(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_layout_object_size() argument
159 ceph_vxattrcb_layout_pool(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_layout_pool() argument
181 ceph_vxattrcb_layout_pool_namespace(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_layout_pool_namespace() argument
198 ceph_vxattrcb_dir_entries(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_dir_entries() argument
204 ceph_vxattrcb_dir_files(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_dir_files() argument
210 ceph_vxattrcb_dir_subdirs(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_dir_subdirs() argument
216 ceph_vxattrcb_dir_rentries(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_dir_rentries() argument
223 ceph_vxattrcb_dir_rfiles(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_dir_rfiles() argument
229 ceph_vxattrcb_dir_rsubdirs(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_dir_rsubdirs() argument
235 ceph_vxattrcb_dir_rbytes(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_dir_rbytes() argument
241 ceph_vxattrcb_dir_rctime(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_dir_rctime() argument
249 ceph_vxattrcb_dir_pin_exists(struct ceph_inode_info *ci) ceph_vxattrcb_dir_pin_exists() argument
254 ceph_vxattrcb_dir_pin(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_dir_pin() argument
261 ceph_vxattrcb_quota_exists(struct ceph_inode_info *ci) ceph_vxattrcb_quota_exists() argument
274 ceph_vxattrcb_quota(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_quota() argument
281 ceph_vxattrcb_quota_max_bytes(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_quota_max_bytes() argument
287 ceph_vxattrcb_quota_max_files(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_quota_max_files() argument
294 ceph_vxattrcb_snap_btime_exists(struct ceph_inode_info *ci) ceph_vxattrcb_snap_btime_exists() argument
299 ceph_vxattrcb_snap_btime(struct ceph_inode_info *ci, char *val, size_t size) ceph_vxattrcb_snap_btime() argument
442 __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) __set_xattr() argument
541 __get_xattr(struct ceph_inode_info *ci, const char *name) __get_xattr() argument
585 __remove_xattr(struct ceph_inode_info *ci, struct ceph_inode_xattr *xattr) __remove_xattr() argument
606 __copy_xattr_names(struct ceph_inode_info *ci, char *dest) __copy_xattr_names() argument
630 __ceph_destroy_xattrs(struct ceph_inode_info *ci) __ceph_destroy_xattrs() argument
666 struct ceph_inode_info *ci = ceph_inode(inode); global() variable
745 __get_required_blob_size(struct ceph_inode_info *ci, int name_size, int val_size) __get_required_blob_size() argument
771 __ceph_build_xattrs_blob(struct ceph_inode_info *ci) __ceph_build_xattrs_blob() argument
836 struct ceph_inode_info *ci = ceph_inode(inode); __ceph_getxattr() local
916 struct ceph_inode_info *ci = ceph_inode(inode); ceph_listxattr() local
958 struct ceph_inode_info *ci = ceph_inode(inode); ceph_sync_setxattr() local
1023 struct ceph_inode_info *ci = ceph_inode(inode); __ceph_setxattr() local
1197 struct ceph_inode_info *ci; ceph_security_xattr_deadlock() local
[all...]
H A Dcaps.c48 struct ceph_inode_info *ci,
433 static struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() argument
436 struct rb_node *n = ci->i_caps.rb_node; in __get_cap_for_mds()
450 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds() argument
454 spin_lock(&ci->i_ceph_lock); in ceph_get_cap_for_mds()
455 cap = __get_cap_for_mds(ci, mds); in ceph_get_cap_for_mds()
456 spin_unlock(&ci->i_ceph_lock); in ceph_get_cap_for_mds()
463 static void __insert_cap_node(struct ceph_inode_info *ci, in __insert_cap_node() argument
466 struct rb_node **p = &ci->i_caps.rb_node; in __insert_cap_node()
482 rb_insert_color(&new->ci_node, &ci in __insert_cap_node()
489 __cap_set_timeouts(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) __cap_set_timeouts() argument
507 __cap_delay_requeue(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) __cap_delay_requeue() argument
531 __cap_delay_requeue_front(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) __cap_delay_requeue_front() argument
548 __cap_delay_cancel(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) __cap_delay_cancel() argument
560 __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap, unsigned issued) __check_cap_issue() argument
605 change_auth_cap_ses(struct ceph_inode_info *ci, struct ceph_mds_session *session) change_auth_cap_ses() argument
637 struct ceph_inode_info *ci = ceph_inode(inode); ceph_add_cap() local
808 __ceph_caps_issued(struct ceph_inode_info *ci, int *implemented) __ceph_caps_issued() argument
841 __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap) __ceph_caps_issued_other() argument
883 __ceph_caps_issued_mask(struct ceph_inode_info *ci, int mask, int touch) __ceph_caps_issued_mask() argument
940 __ceph_caps_issued_mask_metric(struct ceph_inode_info *ci, int mask, int touch) __ceph_caps_issued_mask_metric() argument
957 __ceph_caps_revoking_other(struct ceph_inode_info *ci, struct ceph_cap *ocap, int mask) __ceph_caps_revoking_other() argument
972 ceph_caps_revoking(struct ceph_inode_info *ci, int mask) ceph_caps_revoking() argument
985 __ceph_caps_used(struct ceph_inode_info *ci) __ceph_caps_used() argument
1010 __ceph_caps_file_wanted(struct ceph_inode_info *ci) __ceph_caps_file_wanted() argument
1071 __ceph_caps_wanted(struct ceph_inode_info *ci) __ceph_caps_wanted() argument
1089 __ceph_caps_mds_wanted(struct ceph_inode_info *ci, bool check) __ceph_caps_mds_wanted() argument
1109 struct ceph_inode_info *ci = ceph_inode(inode); ceph_is_any_caps() local
1119 drop_inode_snap_realm(struct ceph_inode_info *ci) drop_inode_snap_realm() argument
1142 struct ceph_inode_info *ci = cap->ci; __ceph_remove_cap() local
1329 __ceph_remove_caps(struct ceph_inode_info *ci) __ceph_remove_caps() argument
1357 struct ceph_inode_info *ci = cap->ci; __prep_cap() local
1452 __send_cap(struct cap_msg_args *arg, struct ceph_inode_info *ci) __send_cap() argument
1634 ceph_flush_snaps(struct ceph_inode_info *ci, struct ceph_mds_session **psession) ceph_flush_snaps() argument
1706 __ceph_mark_dirty_caps(struct ceph_inode_info *ci, int mask, struct ceph_cap_flush **pcf) __ceph_mark_dirty_caps() argument
1808 __detach_cap_flush_from_ci(struct ceph_inode_info *ci, struct ceph_cap_flush *cf) __detach_cap_flush_from_ci() argument
1834 struct ceph_inode_info *ci = ceph_inode(inode); __mark_caps_flushing() local
1881 struct ceph_inode_info *ci = ceph_inode(inode); global() variable
1901 __ceph_should_report_size(struct ceph_inode_info *ci) __ceph_should_report_size() argument
1925 ceph_check_caps(struct ceph_inode_info *ci, int flags, struct ceph_mds_session *session) ceph_check_caps() argument
2215 struct ceph_inode_info *ci = ceph_inode(inode); try_flush_caps() local
2284 struct ceph_inode_info *ci = ceph_inode(inode); caps_are_flushed() local
2305 struct ceph_inode_info *ci = ceph_inode(inode); unsafe_request_wait() local
2420 struct ceph_inode_info *ci = ceph_inode(inode); ceph_fsync() local
2469 struct ceph_inode_info *ci = ceph_inode(inode); ceph_write_inode() local
2574 struct ceph_inode_info *ci; ceph_early_kick_flushing_caps() local
2622 struct ceph_inode_info *ci; ceph_kick_flushing_caps() local
2651 ceph_kick_flushing_inode_caps(struct ceph_mds_session *session, struct ceph_inode_info *ci) ceph_kick_flushing_inode_caps() argument
2679 ceph_take_cap_refs(struct ceph_inode_info *ci, int got, bool snap_rwsem_locked) ceph_take_cap_refs() argument
2731 struct ceph_inode_info *ci = ceph_inode(inode); try_get_cap_refs() local
2884 struct ceph_inode_info *ci = ceph_inode(inode); check_max_size() local
2951 struct ceph_inode_info *ci = ceph_inode(inode); ceph_get_caps() local
3084 ceph_get_cap_refs(struct ceph_inode_info *ci, int caps) ceph_get_cap_refs() argument
3096 ceph_try_drop_cap_snap(struct ceph_inode_info *ci, struct ceph_cap_snap *capsnap) ceph_try_drop_cap_snap() argument
3124 __ceph_put_cap_refs(struct ceph_inode_info *ci, int had, bool skip_checking_caps) __ceph_put_cap_refs() argument
3193 ceph_put_cap_refs(struct ceph_inode_info *ci, int had) ceph_put_cap_refs() argument
3198 ceph_put_cap_refs_no_check_caps(struct ceph_inode_info *ci, int had) ceph_put_cap_refs_no_check_caps() argument
3210 ceph_put_wrbuffer_cap_refs(struct ceph_inode_info *ci, int nr, struct ceph_snap_context *snapc) ceph_put_wrbuffer_cap_refs() argument
3360 struct ceph_inode_info *ci = ceph_inode(inode); global() variable
3653 struct ceph_inode_info *ci = ceph_inode(inode); global() variable
3759 struct ceph_inode_info *ci = ceph_inode(inode); __ceph_remove_capsnap() local
3785 struct ceph_inode_info *ci = ceph_inode(inode); ceph_remove_capsnap() local
3803 struct ceph_inode_info *ci = ceph_inode(inode); handle_cap_flushsnap_ack() local
3854 struct ceph_inode_info *ci = ceph_inode(inode); handle_cap_trunc() local
3891 struct ceph_inode_info *ci = ceph_inode(inode); handle_cap_export() local
4019 struct ceph_inode_info *ci = ceph_inode(inode); handle_cap_import() local
4098 struct ceph_inode_info *ci; ceph_handle_caps() local
4341 struct ceph_inode_info *ci; ceph_check_delayed_caps() local
4384 struct ceph_inode_info *ci; flush_dirty_session_caps() local
4409 __ceph_touch_fmode(struct ceph_inode_info *ci, struct ceph_mds_client *mdsc, int fmode) __ceph_touch_fmode() argument
4424 ceph_get_fmode(struct ceph_inode_info *ci, int fmode, int count) ceph_get_fmode() argument
4458 ceph_put_fmode(struct ceph_inode_info *ci, int fmode, int count) ceph_put_fmode() argument
4497 struct ceph_inode_info *ci = ceph_inode(inode); ceph_drop_caps_for_unlink() local
4525 struct ceph_inode_info *ci = ceph_inode(inode); ceph_encode_inode_release() local
[all...]
/kernel/linux/linux-6.6/fs/ceph/
H A Dcaps.c50 struct ceph_inode_info *ci,
435 struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() argument
438 struct rb_node *n = ci->i_caps.rb_node; in __get_cap_for_mds()
452 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds() argument
456 spin_lock(&ci->i_ceph_lock); in ceph_get_cap_for_mds()
457 cap = __get_cap_for_mds(ci, mds); in ceph_get_cap_for_mds()
458 spin_unlock(&ci->i_ceph_lock); in ceph_get_cap_for_mds()
465 static void __insert_cap_node(struct ceph_inode_info *ci, in __insert_cap_node() argument
468 struct rb_node **p = &ci->i_caps.rb_node; in __insert_cap_node()
484 rb_insert_color(&new->ci_node, &ci in __insert_cap_node()
491 __cap_set_timeouts(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) __cap_set_timeouts() argument
509 __cap_delay_requeue(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) __cap_delay_requeue() argument
533 __cap_delay_requeue_front(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) __cap_delay_requeue_front() argument
550 __cap_delay_cancel(struct ceph_mds_client *mdsc, struct ceph_inode_info *ci) __cap_delay_cancel() argument
562 __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap, unsigned issued) __check_cap_issue() argument
607 change_auth_cap_ses(struct ceph_inode_info *ci, struct ceph_mds_session *session) change_auth_cap_ses() argument
639 struct ceph_inode_info *ci = ceph_inode(inode); ceph_add_cap() local
790 __ceph_caps_issued(struct ceph_inode_info *ci, int *implemented) __ceph_caps_issued() argument
823 __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap) __ceph_caps_issued_other() argument
865 __ceph_caps_issued_mask(struct ceph_inode_info *ci, int mask, int touch) __ceph_caps_issued_mask() argument
922 __ceph_caps_issued_mask_metric(struct ceph_inode_info *ci, int mask, int touch) __ceph_caps_issued_mask_metric() argument
939 __ceph_caps_revoking_other(struct ceph_inode_info *ci, struct ceph_cap *ocap, int mask) __ceph_caps_revoking_other() argument
954 ceph_caps_revoking(struct ceph_inode_info *ci, int mask) ceph_caps_revoking() argument
967 __ceph_caps_used(struct ceph_inode_info *ci) __ceph_caps_used() argument
992 __ceph_caps_file_wanted(struct ceph_inode_info *ci) __ceph_caps_file_wanted() argument
1053 __ceph_caps_wanted(struct ceph_inode_info *ci) __ceph_caps_wanted() argument
1071 __ceph_caps_mds_wanted(struct ceph_inode_info *ci, bool check) __ceph_caps_mds_wanted() argument
1091 struct ceph_inode_info *ci = ceph_inode(inode); ceph_is_any_caps() local
1110 struct ceph_inode_info *ci = cap->ci; __ceph_remove_cap() local
1183 struct ceph_inode_info *ci = cap->ci; ceph_remove_cap() local
1343 __ceph_remove_caps(struct ceph_inode_info *ci) __ceph_remove_caps() argument
1371 struct ceph_inode_info *ci = cap->ci; __prep_cap() local
1496 __send_cap(struct cap_msg_args *arg, struct ceph_inode_info *ci) __send_cap() argument
1685 ceph_flush_snaps(struct ceph_inode_info *ci, struct ceph_mds_session **psession) ceph_flush_snaps() argument
1750 __ceph_mark_dirty_caps(struct ceph_inode_info *ci, int mask, struct ceph_cap_flush **pcf) __ceph_mark_dirty_caps() argument
1852 __detach_cap_flush_from_ci(struct ceph_inode_info *ci, struct ceph_cap_flush *cf) __detach_cap_flush_from_ci() argument
1878 struct ceph_inode_info *ci = ceph_inode(inode); __mark_caps_flushing() local
1925 struct ceph_inode_info *ci = ceph_inode(inode); global() variable
1945 __ceph_should_report_size(struct ceph_inode_info *ci) __ceph_should_report_size() argument
1969 ceph_check_caps(struct ceph_inode_info *ci, int flags) ceph_check_caps() argument
2237 struct ceph_inode_info *ci = ceph_inode(inode); try_flush_caps() local
2294 struct ceph_inode_info *ci = ceph_inode(inode); caps_are_flushed() local
2315 struct ceph_inode_info *ci = ceph_inode(inode); flush_mdlog_and_wait_inode_unsafe_requests() local
2430 struct ceph_inode_info *ci = ceph_inode(inode); ceph_fsync() local
2479 struct ceph_inode_info *ci = ceph_inode(inode); ceph_write_inode() local
2592 struct ceph_inode_info *ci; ceph_early_kick_flushing_caps() local
2640 struct ceph_inode_info *ci; ceph_kick_flushing_caps() local
2669 ceph_kick_flushing_inode_caps(struct ceph_mds_session *session, struct ceph_inode_info *ci) ceph_kick_flushing_inode_caps() argument
2697 ceph_take_cap_refs(struct ceph_inode_info *ci, int got, bool snap_rwsem_locked) ceph_take_cap_refs() argument
2749 struct ceph_inode_info *ci = ceph_inode(inode); try_get_cap_refs() local
2902 struct ceph_inode_info *ci = ceph_inode(inode); check_max_size() local
2967 struct ceph_inode_info *ci = ceph_inode(inode); __ceph_get_caps() local
3104 ceph_get_cap_refs(struct ceph_inode_info *ci, int caps) ceph_get_cap_refs() argument
3116 ceph_try_drop_cap_snap(struct ceph_inode_info *ci, struct ceph_cap_snap *capsnap) ceph_try_drop_cap_snap() argument
3150 __ceph_put_cap_refs(struct ceph_inode_info *ci, int had, enum put_cap_refs_mode mode) __ceph_put_cap_refs() argument
3242 ceph_put_cap_refs(struct ceph_inode_info *ci, int had) ceph_put_cap_refs() argument
3247 ceph_put_cap_refs_async(struct ceph_inode_info *ci, int had) ceph_put_cap_refs_async() argument
3252 ceph_put_cap_refs_no_check_caps(struct ceph_inode_info *ci, int had) ceph_put_cap_refs_no_check_caps() argument
3264 ceph_put_wrbuffer_cap_refs(struct ceph_inode_info *ci, int nr, struct ceph_snap_context *snapc) ceph_put_wrbuffer_cap_refs() argument
3415 struct ceph_inode_info *ci = ceph_inode(inode); global() variable
3730 struct ceph_inode_info *ci = ceph_inode(inode); global() variable
3836 struct ceph_inode_info *ci = ceph_inode(inode); __ceph_remove_capsnap() local
3862 struct ceph_inode_info *ci = ceph_inode(inode); ceph_remove_capsnap() local
3880 struct ceph_inode_info *ci = ceph_inode(inode); handle_cap_flushsnap_ack() local
3931 struct ceph_inode_info *ci = ceph_inode(inode); handle_cap_trunc() local
3976 struct ceph_inode_info *ci = ceph_inode(inode); handle_cap_export() local
4107 struct ceph_inode_info *ci = ceph_inode(inode); handle_cap_import() local
4232 struct ceph_inode_info *ci; ceph_handle_caps() local
4511 struct ceph_inode_info *ci; ceph_check_delayed_caps() local
4553 struct ceph_inode_info *ci; flush_dirty_session_caps() local
4579 __ceph_touch_fmode(struct ceph_inode_info *ci, struct ceph_mds_client *mdsc, int fmode) __ceph_touch_fmode() argument
4594 ceph_get_fmode(struct ceph_inode_info *ci, int fmode, int count) ceph_get_fmode() argument
4628 ceph_put_fmode(struct ceph_inode_info *ci, int fmode, int count) ceph_put_fmode() argument
4667 struct ceph_inode_info *ci = ceph_inode(inode); ceph_drop_caps_for_unlink() local
4695 struct ceph_inode_info *ci = ceph_inode(inode); ceph_encode_inode_release() local
4833 struct ceph_inode_info *ci = ceph_inode(inode); remove_capsnaps() local
4858 struct ceph_inode_info *ci = ceph_inode(inode); ceph_purge_inode_cap() local
[all...]

Completed in 20 milliseconds

12345678910>>...21