Searched refs:share_count (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/arch/arm/mach-imx/
H A Dclk-gate2.c36 unsigned int *share_count; member in struct:clk_gate2
49 if (gate->share_count && (*gate->share_count)++ > 0) clk_gate2_enable()
70 if (gate->share_count) { clk_gate2_disable()
71 if (WARN_ON(*gate->share_count == 0)) clk_gate2_disable()
73 else if (--(*gate->share_count) > 0) clk_gate2_disable()
110 if (!gate->share_count || *gate->share_count == 0) { clk_gate2_disable_unused()
130 unsigned int *share_count) clk_register_gate2()
145 gate->share_count = share_count; clk_register_gate2()
126 clk_register_gate2(struct device *dev, const char *name, const char *parent_name, unsigned long flags, void __iomem *reg, u8 bit_idx, u8 clk_gate2_flags, spinlock_t *lock, unsigned int *share_count) clk_register_gate2() argument
H A Dclk.h35 unsigned int *share_count);
52 unsigned int *share_count) imx_clk_gate2_shared()
55 shift, 0, &imx_ccm_lock, share_count); imx_clk_gate2_shared()
50 imx_clk_gate2_shared(const char *name, const char *parent, void __iomem *reg, u8 shift, unsigned int *share_count) imx_clk_gate2_shared() argument
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd.c250 int *port, int *conn_count, int *share_count) ksocknal_get_peer_info()
280 *share_count = 0; ksocknal_get_peer_info()
294 *share_count = 0; ksocknal_get_peer_info()
311 *share_count = route->ksnr_share_count; ksocknal_get_peer_info()
2121 int share_count = 0; ksocknal_ctl() local
2125 &conn_count, &share_count); ksocknal_ctl()
2130 data->ioc_count = share_count; ksocknal_ctl()
248 ksocknal_get_peer_info(lnet_ni_t *ni, int index, lnet_process_id_t *id, __u32 *myip, __u32 *peer_ip, int *port, int *conn_count, int *share_count) ksocknal_get_peer_info() argument

Completed in 157 milliseconds