Home
last modified time | relevance | path

Searched refs:cd (Results 51 – 75 of 1928) sorted by relevance

12345678910>>...78

/openbmc/linux/drivers/clk/sprd/
H A Ddiv.c15 struct sprd_div *cd = hw_to_sprd_div(hw); in sprd_div_round_rate() local
17 return divider_round_rate(&cd->common.hw, rate, parent_rate, NULL, in sprd_div_round_rate()
18 cd->div.width, 0); in sprd_div_round_rate()
40 struct sprd_div *cd = hw_to_sprd_div(hw); in sprd_div_recalc_rate() local
42 return sprd_div_helper_recalc_rate(&cd->common, &cd->div, parent_rate); in sprd_div_recalc_rate()
70 struct sprd_div *cd = hw_to_sprd_div(hw); in sprd_div_set_rate() local
72 return sprd_div_helper_set_rate(&cd->common, &cd->div, in sprd_div_set_rate()
/openbmc/linux/arch/mips/loongson2ef/common/cs5536/
H A Dcs5536_mfgpt.c110 struct clock_event_device *cd = &mfgpt_clockevent; in setup_mfgpt0_timer() local
113 cd->cpumask = cpumask_of(cpu); in setup_mfgpt0_timer()
114 clockevent_set_clock(cd, MFGPT_TICK_RATE); in setup_mfgpt0_timer()
115 cd->max_delta_ns = clockevent_delta2ns(0xffff, cd); in setup_mfgpt0_timer()
116 cd->max_delta_ticks = 0xffff; in setup_mfgpt0_timer()
117 cd->min_delta_ns = clockevent_delta2ns(0xf, cd); in setup_mfgpt0_timer()
118 cd->min_delta_ticks = 0xf; in setup_mfgpt0_timer()
129 clockevents_register_device(cd); in setup_mfgpt0_timer()
/openbmc/linux/lib/reed_solomon/
H A Dreed_solomon.c178 struct rs_codec *cd; in free_rs() local
183 cd = rs->codec; in free_rs()
185 cd->users--; in free_rs()
186 if(!cd->users) { in free_rs()
187 list_del(&cd->list); in free_rs()
188 kfree(cd->alpha_to); in free_rs()
190 kfree(cd->genpoly); in free_rs()
191 kfree(cd); in free_rs()
253 if (fcr != cd->fcr) in init_rs_internal()
260 cd->users++; in init_rs_internal()
[all …]
/openbmc/linux/fs/smb/client/
H A Dfscache.h50 struct cifs_fscache_inode_coherency_data *cd) in cifs_fscache_fill_coherency() argument
55 memset(cd, 0, sizeof(*cd)); in cifs_fscache_fill_coherency()
56 cd->last_write_time_sec = cpu_to_le64(mtime.tv_sec); in cifs_fscache_fill_coherency()
57 cd->last_write_time_nsec = cpu_to_le32(mtime.tv_nsec); in cifs_fscache_fill_coherency()
58 cd->last_change_time_sec = cpu_to_le64(ctime.tv_sec); in cifs_fscache_fill_coherency()
59 cd->last_change_time_nsec = cpu_to_le32(ctime.tv_nsec); in cifs_fscache_fill_coherency()
70 struct cifs_fscache_inode_coherency_data cd; in cifs_invalidate_cache() local
72 cifs_fscache_fill_coherency(inode, &cd); in cifs_invalidate_cache()
73 fscache_invalidate(cifs_inode_cookie(inode), &cd, in cifs_invalidate_cache()
120 struct cifs_fscache_inode_coherency_data *cd) in cifs_fscache_fill_coherency() argument
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ruli/files/
H A D0001-Make-space-for-flags-from-environment.patch36 - cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 smtpsearch.1
37 - cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 httpsearch.1
38 - cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 sync_srvsearch.1
39 - cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 sync_smtpsearch.1
40 - cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 sync_httpsearch.1
42 - cd $(INSTALL_MAN_DIR)/man1 && ln -s srvsearch.1 getaddrinfo.1
43 + cd $(INSTALL_MAN_DIR)/man1 && ln -sf srvsearch.1 smtpsearch.1
44 + cd $(INSTALL_MAN_DIR)/man1 && ln -sf srvsearch.1 httpsearch.1
49 + cd $(INSTALL_MAN_DIR)/man1 && ln -sf srvsearch.1 getaddrinfo.1
88 - cd $(INSTALL_LIB_DIR) && ln -s $(SONAME) libruli.so
[all …]
/openbmc/linux/drivers/zorro/
H A Dzorro-sysfs.c88 struct ConfigDev cd; in zorro_read_config() local
91 memset(&cd, 0, sizeof(cd)); in zorro_read_config()
92 cd.cd_Rom = z->rom; in zorro_read_config()
93 cd.cd_SlotAddr = cpu_to_be16(z->slotaddr); in zorro_read_config()
94 cd.cd_SlotSize = cpu_to_be16(z->slotsize); in zorro_read_config()
95 cd.cd_BoardAddr = cpu_to_be32(zorro_resource_start(z)); in zorro_read_config()
96 cd.cd_BoardSize = cpu_to_be32(zorro_resource_len(z)); in zorro_read_config()
98 return memory_read_from_buffer(buf, count, &off, &cd, sizeof(cd)); in zorro_read_config()
H A Dproc.c34 struct ConfigDev cd; in proc_bus_zorro_read() local
45 memset(&cd, 0, sizeof(cd)); in proc_bus_zorro_read()
46 cd.cd_Rom = z->rom; in proc_bus_zorro_read()
47 cd.cd_SlotAddr = cpu_to_be16(z->slotaddr); in proc_bus_zorro_read()
48 cd.cd_SlotSize = cpu_to_be16(z->slotsize); in proc_bus_zorro_read()
49 cd.cd_BoardAddr = cpu_to_be32(zorro_resource_start(z)); in proc_bus_zorro_read()
50 cd.cd_BoardSize = cpu_to_be32(zorro_resource_len(z)); in proc_bus_zorro_read()
52 if (copy_to_user(buf, (void *)&cd + pos, nbytes)) in proc_bus_zorro_read()
/openbmc/linux/drivers/clk/microchip/
H A Dclk-pic32mzda.c137 struct pic32mzda_clk_data *cd; in pic32_fscm_nmi() local
142 if (readl(cd->core.iobase) & BIT(2)) in pic32_fscm_nmi()
154 struct pic32mzda_clk_data *cd; in pic32mzda_clk_probe() local
160 cd = devm_kzalloc(&pdev->dev, sizeof(*cd), GFP_KERNEL); in pic32mzda_clk_probe()
161 if (!cd) in pic32mzda_clk_probe()
164 core = &cd->core; in pic32mzda_clk_probe()
173 clks = &cd->clks[0]; in pic32mzda_clk_probe()
227 cd->onecell_data.clks = clks; in pic32mzda_clk_probe()
228 cd->onecell_data.clk_num = MAXCLKS; in pic32mzda_clk_probe()
230 &cd->onecell_data); in pic32mzda_clk_probe()
[all …]
/openbmc/linux/net/sunrpc/
H A Dsvcauth_unix.c324 cache_put(ch, cd); in __ip_map_update()
548 cache_put(ch, cd); in unix_gid_parse()
603 struct cache_detail *cd; in unix_gid_cache_create() local
607 if (IS_ERR(cd)) in unix_gid_cache_create()
608 return PTR_ERR(cd); in unix_gid_cache_create()
614 sn->unix_gid_cache = cd; in unix_gid_cache_create()
624 cache_purge(cd); in unix_gid_cache_destroy()
1041 if (IS_ERR(cd)) in ip_map_cache_create()
1042 return PTR_ERR(cd); in ip_map_cache_create()
1048 sn->ip_map_cache = cd; in ip_map_cache_create()
[all …]
/openbmc/linux/drivers/clocksource/
H A Dmips-gic-timer.c72 struct clock_event_device *cd = dev_id; in gic_compare_interrupt() local
75 cd->event_handler(cd); in gic_compare_interrupt()
87 struct clock_event_device *cd) in gic_clockevent_cpu_init() argument
89 cd->name = "MIPS GIC"; in gic_clockevent_cpu_init()
90 cd->features = CLOCK_EVT_FEAT_ONESHOT | in gic_clockevent_cpu_init()
93 cd->rating = 350; in gic_clockevent_cpu_init()
94 cd->irq = gic_timer_irq; in gic_clockevent_cpu_init()
95 cd->cpumask = cpumask_of(cpu); in gic_clockevent_cpu_init()
96 cd->set_next_event = gic_next_event; in gic_clockevent_cpu_init()
98 clockevents_config_and_register(cd, gic_frequency, 0x300, 0x7fffffff); in gic_clockevent_cpu_init()
[all …]
/openbmc/estoraged/src/test/include/
H A Destoraged_test.hpp47 (struct crypt_device * cd, const char* type, const char* cipher,
53 (struct crypt_device * cd, int keyslot, const char* volume_key,
59 (struct crypt_device * cd, const char* requested_type,
64 (struct crypt_device * cd, int keyslotOld, int keyslotNew,
70 (struct crypt_device * cd, const char* name, int keyslot,
76 (struct crypt_device * cd, const char* name), (override));
79 (struct crypt_device * cd, const int slot), (override));
84 (struct crypt_device * cd, int keyslot), (override));
/openbmc/obmc-ikvm/
H A Dikvm_server.cpp114 if (!cd) in sendFrame()
119 if (cd->skipFrame) in sendFrame()
121 cd->skipFrame--; in sendFrame()
125 if (!cd->needUpdate) in sendFrame()
141 if (cd->last_crc == frame_crc) in sendFrame()
146 cd->last_crc = frame_crc; in sendFrame()
149 cd->needUpdate = false; in sendFrame()
197 if (!cd) in clientFramebufferUpdateRequest()
203 cd->needUpdate = true; in clientFramebufferUpdateRequest()
258 if (!cd) in doResize()
[all …]
/openbmc/u-boot/post/lib_powerpc/
H A Db.c131 ulong cc, cd; in cpu_post_test_b() local
140 for (cd = 0; cd < 4 && ret == 0; cd++) in cpu_post_test_b()
148 int decr = cd < 2; in cpu_post_test_b()
153 int jumpd = cd >= 2 || in cpu_post_test_b()
154 (cd == 0 && ctr != 1) || in cpu_post_test_b()
155 (cd == 1 && ctr == 1); in cpu_post_test_b()
159 (cc << 3) + (cd << 1), 0, jump, decr, link, in cpu_post_test_b()
/openbmc/linux/kernel/time/
H A Dtimeconst.bc76 cd=gcd(hz,1000)
77 print "#define HZ_TO_MSEC_NUM\t\t", 1000/cd, "\n"
78 print "#define HZ_TO_MSEC_DEN\t\t", hz/cd, "\n"
79 print "#define MSEC_TO_HZ_NUM\t\t", hz/cd, "\n"
80 print "#define MSEC_TO_HZ_DEN\t\t", 1000/cd, "\n"
98 cd=gcd(hz,1000000)
100 print "#define HZ_TO_USEC_DEN\t\t", hz/cd, "\n"
101 print "#define USEC_TO_HZ_NUM\t\t", hz/cd, "\n"
104 cd=gcd(hz,1000000000)
106 print "#define HZ_TO_NSEC_DEN\t\t", hz/cd, "\n"
[all …]
/openbmc/linux/arch/arm/mach-spear/
H A Dpl080.c28 int pl080_get_signal(const struct pl08x_channel_data *cd) in pl080_get_signal() argument
30 unsigned int signal = cd->min_signal, val; in pl080_get_signal()
37 (signals[signal].val != cd->muxval)) { in pl080_get_signal()
52 val |= cd->muxval << (signal * 2); in pl080_get_signal()
57 signals[signal].val = cd->muxval; in pl080_get_signal()
63 void pl080_put_signal(const struct pl08x_channel_data *cd, int signal) in pl080_put_signal() argument
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/mime-support/
H A Dmime-support_3.62.bb50 cd ${D}${mandir}; gzip -9fv */*
51 cd ${D}${docdir}; gzip -9v *
52 cd ${D}${docdir}; gunzip copyright.gz
53 cd ${D}${bindir}; ln -s run-mailcap see
54 cd ${D}${bindir}; ln -s run-mailcap edit
55 cd ${D}${bindir}; ln -s run-mailcap compose
56 cd ${D}${bindir}; ln -s run-mailcap print
57 cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz see.1.gz
58 cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz edit.1.gz
59 cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz compose.1.gz
[all …]
/openbmc/qemu/include/qemu/
H A Dxxhash.h51 static inline uint32_t qemu_xxhash8(uint64_t ab, uint64_t cd, uint64_t ef, in qemu_xxhash8() argument
60 uint32_t c = cd; in qemu_xxhash8()
61 uint32_t d = cd >> 32; in qemu_xxhash8()
111 static inline uint32_t qemu_xxhash4(uint64_t ab, uint64_t cd) in qemu_xxhash4() argument
113 return qemu_xxhash8(ab, cd, 0, 0, 0); in qemu_xxhash4()
116 static inline uint32_t qemu_xxhash5(uint64_t ab, uint64_t cd, uint32_t e) in qemu_xxhash5() argument
118 return qemu_xxhash8(ab, cd, 0, e, 0); in qemu_xxhash5()
121 static inline uint32_t qemu_xxhash6(uint64_t ab, uint64_t cd, uint32_t e, in qemu_xxhash6() argument
124 return qemu_xxhash8(ab, cd, 0, e, f); in qemu_xxhash6()
127 static inline uint32_t qemu_xxhash7(uint64_t ab, uint64_t cd, uint64_t ef, in qemu_xxhash7() argument
[all …]
/openbmc/linux/fs/nfs/
H A Dcache_lib.h22 extern int nfs_cache_upcall(struct cache_detail *cd, char *entry_name);
27 extern int nfs_cache_register_net(struct net *net, struct cache_detail *cd);
28 extern void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd);
30 struct cache_detail *cd);
32 struct cache_detail *cd);
/openbmc/linux/include/linux/sunrpc/
H A Dcache.h82 void (*cache_request)(struct cache_detail *cd,
90 struct cache_detail *cd,
92 void (*warn_no_listener)(struct cache_detail *cd,
208 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put() argument
211 h->expiry_time < cd->nextcheck) in cache_put()
212 cd->nextcheck = h->expiry_time; in cache_put()
213 kref_put(&h->ref, cd->cache_put); in cache_put()
231 extern int cache_register_net(struct cache_detail *cd, struct net *net);
235 extern void cache_destroy_net(struct cache_detail *cd, struct net *net);
237 extern void sunrpc_init_cache_detail(struct cache_detail *cd);
[all …]
/openbmc/linux/arch/mips/sni/
H A Dtime.c48 struct clock_event_device *cd = dev_id; in a20r_interrupt() local
53 cd->event_handler(cd); in a20r_interrupt()
64 struct clock_event_device *cd = &a20r_clockevent_device; in sni_a20r_timer_setup() local
67 cd->cpumask = cpumask_of(cpu); in sni_a20r_timer_setup()
68 clockevents_register_device(cd); in sni_a20r_timer_setup()
70 IRQF_PERCPU | IRQF_TIMER, "a20r-timer", cd)) in sni_a20r_timer_setup()
/openbmc/linux/arch/mips/jazz/
H A Dirq.c122 struct clock_event_device *cd = dev_id; in r4030_timer_interrupt() local
124 cd->event_handler(cd); in r4030_timer_interrupt()
130 struct clock_event_device *cd = &r4030_clockevent; in plat_time_init() local
135 cd->cpumask = cpumask_of(cpu); in plat_time_init()
136 clockevents_register_device(cd); in plat_time_init()
138 "R4030 timer", cd)) in plat_time_init()
/openbmc/linux/drivers/net/ethernet/renesas/
H A Dsh_eth.c503 if (mdp->cd->csmr) in sh_eth_soft_reset_gether()
1844 struct sh_eth_cpu_data *cd = mdp->cd; in sh_eth_interrupt() local
2060 struct sh_eth_cpu_data *cd = mdp->cd; in __sh_eth_get_regs() local
2121 if (cd->rpadir) in __sh_eth_get_regs()
2134 if (cd->apr) in __sh_eth_get_regs()
2136 if (cd->mpr) in __sh_eth_get_regs()
2143 if (cd->gecmr) in __sh_eth_get_regs()
2145 if (cd->bculr) in __sh_eth_get_regs()
2164 if (cd->rtrate) in __sh_eth_get_regs()
2166 if (cd->csmr) in __sh_eth_get_regs()
[all …]
/openbmc/linux/drivers/iio/light/
H A Drohm-bu27008.c365 const struct bu27_chip_data *cd; member
798 val &= data->cd->int_time_mask; in bu27008_get_int_time_sel()
951 data->cd->meas_en_mask); in bu27008_meas_set()
1215 data->cd->drdy_en_mask); in bu27008_trigger_set_state()
1362 if (!data->cd) in bu27008_probe()
1380 ret = devm_iio_init_iio_gts(dev, data->cd->scale1x, 0, data->cd->gains, in bu27008_probe()
1381 data->cd->num_gains, data->cd->itimes, in bu27008_probe()
1386 ret = devm_iio_init_iio_gts(dev, data->cd->scale1x, 0, data->cd->gains_ir, in bu27008_probe()
1387 data->cd->num_gains_ir, data->cd->itimes, in bu27008_probe()
1399 idev->name = data->cd->name; in bu27008_probe()
[all …]
/openbmc/linux/lib/
H A Dearlycpio.c63 struct cpio_data cd = { NULL, 0, "" }; in find_cpio_data() local
129 strscpy(cd.name, p + mypathsize, MAX_CPIO_FILE_NAME); in find_cpio_data()
131 cd.data = (void *)dptr; in find_cpio_data()
132 cd.size = ch[C_FILESIZE]; in find_cpio_data()
133 return cd; /* Found it! */ in find_cpio_data()
140 return cd; in find_cpio_data()
/openbmc/linux/arch/arm/mach-omap2/
H A Dprm2xxx_3xxx.c221 struct clkdm_dep *cd; in omap2_clkdm_clear_all_wkdeps() local
224 for (cd = clkdm->wkdep_srcs; cd && cd->clkdm_name; cd++) { in omap2_clkdm_clear_all_wkdeps()
225 if (!cd->clkdm) in omap2_clkdm_clear_all_wkdeps()
229 mask |= 1 << cd->clkdm->dep_bit; in omap2_clkdm_clear_all_wkdeps()
230 cd->wkdep_usecount = 0; in omap2_clkdm_clear_all_wkdeps()

12345678910>>...78