Home
last modified time | relevance | path

Searched defs:cg (Results 1 – 25 of 49) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Drk818_charger.c183 static int rk818_reg_read(struct rk818_charger *cg, u8 reg) in rk818_reg_read()
194 static int rk818_reg_write(struct rk818_charger *cg, u8 reg, u8 buf) in rk818_reg_write()
205 static int rk818_reg_set_bits(struct rk818_charger *cg, u8 reg, u8 mask, u8 buf) in rk818_reg_set_bits()
216 static int rk818_reg_clear_bits(struct rk818_charger *cg, u8 reg, u8 mask) in rk818_reg_clear_bits()
227 static int rk818_cg_online(struct rk818_charger *cg) in rk818_cg_online()
232 static int rk818_cg_get_dsoc(struct rk818_charger *cg) in rk818_cg_get_dsoc()
237 static int rk818_cg_get_avg_current(struct rk818_charger *cg) in rk818_cg_get_avg_current()
251 static int rk818_cg_get_ts2_voltage(struct rk818_charger *cg) in rk818_cg_get_ts2_voltage()
276 static int rk818_cg_lowpwr_check(struct rk818_charger *cg) in rk818_cg_lowpwr_check()
309 struct rk818_charger *cg = data; in rk818_cg_get_bat_psy() local
[all …]
/OK3568_Linux_fs/kernel/drivers/power/
H A Duniversal_charger.c60 struct universal_charger *cg = in universal_cg_bc_evt_worker() local
89 struct universal_charger *cg = in universal_cg_charger_evt_notifier() local
100 struct universal_charger *cg = container_of(work, in universal_cg_discnt_evt_worker() local
112 struct universal_charger *cg = in universal_cg_discnt_evt_notfier() local
121 static int universal_cg_init_usb(struct universal_charger *cg) in universal_cg_init_usb()
199 struct universal_charger *cg = power_supply_get_drvdata(psy); in universal_cg_usb_get_property() local
238 static int universal_cg_init_power_supply(struct universal_charger *cg) in universal_cg_init_power_supply()
253 static int universal_charger_parse_dt(struct universal_charger *cg) in universal_charger_parse_dt()
269 static int universal_charger_parse_dt(struct universal_charger *cg) in universal_charger_parse_dt()
276 charger_t universal_charger_get_dc_state(struct universal_charger *cg) in universal_charger_get_dc_state()
[all …]
H A Dsy6982c_charger.c61 struct sy6982c_charger *cg = container_of(work, in sy6982c_cg_bc_evt_worker() local
90 struct sy6982c_charger *cg = in sy6982c_cg_charger_evt_notifier() local
101 struct sy6982c_charger *cg = container_of(work, in sy6982c_cg_discnt_evt_worker() local
113 struct sy6982c_charger *cg = in sy6982c_cg_discnt_evt_notfier() local
122 static int sy6982c_cg_init_usb(struct sy6982c_charger *cg) in sy6982c_cg_init_usb()
197 struct sy6982c_charger *cg = power_supply_get_drvdata(psy); in sy6982c_cg_usb_get_property() local
236 static int sy6982c_cg_init_power_supply(struct sy6982c_charger *cg) in sy6982c_cg_init_power_supply()
251 static int sy6982c_charger_parse_dt(struct sy6982c_charger *cg) in sy6982c_charger_parse_dt()
267 static int sy6982c_charger_parse_dt(struct sy6982c_charger *cg) in sy6982c_charger_parse_dt()
273 static enum charger_t sy6982c_charger_get_dc_state(struct sy6982c_charger *cg) in sy6982c_charger_get_dc_state()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-crystalcove.c113 static void crystalcove_update_irq_mask(struct crystalcove_gpio *cg, in crystalcove_update_irq_mask()
125 static void crystalcove_update_irq_ctrl(struct crystalcove_gpio *cg, int gpio) in crystalcove_update_irq_ctrl()
134 struct crystalcove_gpio *cg = gpiochip_get_data(chip); in crystalcove_gpio_dir_in() local
146 struct crystalcove_gpio *cg = gpiochip_get_data(chip); in crystalcove_gpio_dir_out() local
157 struct crystalcove_gpio *cg = gpiochip_get_data(chip); in crystalcove_gpio_get() local
174 struct crystalcove_gpio *cg = gpiochip_get_data(chip); in crystalcove_gpio_set() local
188 struct crystalcove_gpio *cg = in crystalcove_irq_type() local
218 struct crystalcove_gpio *cg = in crystalcove_bus_lock() local
226 struct crystalcove_gpio *cg = in crystalcove_bus_sync_unlock() local
241 struct crystalcove_gpio *cg = in crystalcove_irq_unmask() local
[all …]
/OK3568_Linux_fs/kernel/kernel/cgroup/
H A Drdma.c72 static struct rdma_cgroup *parent_rdmacg(struct rdma_cgroup *cg) in parent_rdmacg()
113 find_cg_rpool_locked(struct rdma_cgroup *cg, in find_cg_rpool_locked()
129 get_cg_rpool_locked(struct rdma_cgroup *cg, struct rdmacg_device *device) in get_cg_rpool_locked()
162 uncharge_cg_locked(struct rdma_cgroup *cg, in uncharge_cg_locked()
205 static void rdmacg_uncharge_hierarchy(struct rdma_cgroup *cg, in rdmacg_uncharge_hierarchy()
227 void rdmacg_uncharge(struct rdma_cgroup *cg, in rdmacg_uncharge()
263 struct rdma_cgroup *cg, *p; in rdmacg_try_charge() local
428 struct rdma_cgroup *cg = css_rdmacg(of_css(of)); in rdmacg_resource_set_max() local
528 struct rdma_cgroup *cg = css_rdmacg(seq_css(sf)); in rdmacg_resource_read() local
565 struct rdma_cgroup *cg; in rdmacg_css_alloc() local
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/mediatek/
H A Dclk-gate.c20 struct mtk_clk_gate *cg = to_mtk_clk_gate(hw); in mtk_cg_bit_is_cleared() local
32 struct mtk_clk_gate *cg = to_mtk_clk_gate(hw); in mtk_cg_bit_is_set() local
44 struct mtk_clk_gate *cg = to_mtk_clk_gate(hw); in mtk_cg_set_bit() local
51 struct mtk_clk_gate *cg = to_mtk_clk_gate(hw); in mtk_cg_clr_bit() local
58 struct mtk_clk_gate *cg = to_mtk_clk_gate(hw); in mtk_cg_set_bit_no_setclr() local
66 struct mtk_clk_gate *cg = to_mtk_clk_gate(hw); in mtk_cg_clr_bit_no_setclr() local
156 struct mtk_clk_gate *cg; in mtk_clk_register_gate() local
/OK3568_Linux_fs/kernel/drivers/clk/
H A Dclk-qoriq.c100 static void cg_out(struct clockgen *cg, u32 val, u32 __iomem *reg) in cg_out()
108 static u32 cg_in(struct clockgen *cg, u32 __iomem *reg) in cg_in()
467 static void __init p2041_init_periph(struct clockgen *cg) in p2041_init_periph()
479 static void __init p4080_init_periph(struct clockgen *cg) in p4080_init_periph()
496 static void __init p5020_init_periph(struct clockgen *cg) in p5020_init_periph()
511 static void __init p5040_init_periph(struct clockgen *cg) in p5040_init_periph()
531 static void __init t1023_init_periph(struct clockgen *cg) in t1023_init_periph()
536 static void __init t1040_init_periph(struct clockgen *cg) in t1040_init_periph()
541 static void __init t2080_init_periph(struct clockgen *cg) in t2080_init_periph()
546 static void __init t4240_init_periph(struct clockgen *cg) in t4240_init_periph()
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/sunxi-ng/
H A Dccu_gate.c30 struct ccu_gate *cg = hw_to_ccu_gate(hw); in ccu_gate_disable() local
55 struct ccu_gate *cg = hw_to_ccu_gate(hw); in ccu_gate_enable() local
70 struct ccu_gate *cg = hw_to_ccu_gate(hw); in ccu_gate_is_enabled() local
78 struct ccu_gate *cg = hw_to_ccu_gate(hw); in ccu_gate_recalc_rate() local
90 struct ccu_gate *cg = hw_to_ccu_gate(hw); in ccu_gate_round_rate() local
/OK3568_Linux_fs/kernel/fs/ufs/
H A Dialloc.c64 unsigned ino, cg, bit; in ufs_free_inode() local
181 unsigned cg, bit, i, j, start; in ufs_new_inode() local
H A Dcylinder.c133 unsigned cg, i, j; in ufs_load_cylinder() local
H A Dsuper.c230 struct ufs_cylinder_group *cg) in ufs_print_cylinder_stuff()
267 # define ufs_print_cylinder_stuff(sb, cg) /**/ argument
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx5/
H A Dclock.c90 unsigned int cg = enable ? MXC_CCM_CCGR_CG_ON : MXC_CCM_CCGR_CG_OFF; in enable_usboh3_clk() local
127 unsigned int cg = enable ? MXC_CCM_CCGR_CG_ON : MXC_CCM_CCGR_CG_OFF; in enable_usb_phy1_clk() local
141 unsigned int cg = enable ? MXC_CCM_CCGR_CG_ON : MXC_CCM_CCGR_CG_OFF; in enable_usb_phy1_clk() local
150 unsigned int cg = enable ? MXC_CCM_CCGR_CG_ON : MXC_CCM_CCGR_CG_OFF; in enable_usb_phy2_clk() local
745 unsigned int cg = enable ? MXC_CCM_CCGR_CG_ON : MXC_CCM_CCGR_CG_OFF; in enable_nfc_clk() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/cgroup/
H A Dtest_kmem.c55 char *cg = NULL; in test_kmem_basic() local
277 char *cg = NULL; in test_kmem_kernel_stacks() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_attach_autodetach.c30 int cg = 0, i; in test_cgroup_attach_autodetach() local
/OK3568_Linux_fs/kernel/include/linux/
H A Dblktrace_api.h52 #define blk_add_cgroup_trace_msg(q, cg, fmt, ...) \ argument
98 # define blk_add_cgroup_trace_msg(q, cg, fmt, ...) do { } while (0) argument
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/database/
H A Dbookdelegate.cpp70 QPalette::ColorGroup cg = (option.state & QStyle::State_Enabled) ? in paint() local
/OK3568_Linux_fs/kernel/tools/power/pm-graph/
H A Dbootgraph.py252 def deviceMatch(self, pid, cg): argument
497 def cgOverview(cg, minlen): argument
/OK3568_Linux_fs/kernel/samples/vfio-mdev/
H A Dmdpy-fb.c63 u32 cg = green >> (16 - info->var.green.length); in mdpy_fb_setcolreg() local
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_gator_api.c182 uint32_t cg, j; in kbase_gator_hwcnt_init() local
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dcgroup.c531 struct cgroup *cg; in replace_effective_prog() local
674 struct cgroup *cg; in purge_effective_progs() local
869 struct cgroup *cg; in bpf_cgroup_link_release() local
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Dsimplefb.c49 u32 cg = green >> (16 - info->var.green.length); in simplefb_setcolreg() local
H A Doffb.c104 u32 cg = green >> (16 - info->var.green.length); in offb_setcolreg() local
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dov02k10.c989 static int ov02k10_set_conversion_gain(struct ov02k10 *ov02k10, u32 *cg) in ov02k10_set_conversion_gain()
1172 u32 cg = 0; in ov02k10_compat_ioctl32() local
H A Dimx327.c998 static int imx327_set_conversion_gain(struct imx327 *imx327, u32 *cg) in imx327_set_conversion_gain()
1181 u32 cg = 0; in imx327_compat_ioctl32() local
H A Dar0822.c4466 static int ar0822_set_conversion_gain(struct ar0822 *ar0822, u32 *cg) in ar0822_set_conversion_gain()
4614 u32 cg = 0; in ar0822_compat_ioctl32() local

12