Home
last modified time | relevance | path

Searched refs:od (Results 1 – 25 of 58) sorted by relevance

123

/linux/arch/arm/mach-omap2/
H A Domap_device.c44 static void omap_device_delete(struct omap_device *od);
50 static void _add_clkdev(struct omap_device *od, const char *clk_alias, in _add_clkdev() argument
59 dev_dbg(&od->pdev->dev, "Creating %s -> %s\n", clk_alias, clk_name); in _add_clkdev()
61 r = clk_get_sys(dev_name(&od->pdev->dev), clk_alias); in _add_clkdev()
63 dev_dbg(&od->pdev->dev, in _add_clkdev()
79 dev_name(&od->pdev->dev)); in _add_clkdev()
81 rc = clk_add_alias(clk_alias, dev_name(&od->pdev->dev), in _add_clkdev()
87 dev_err(&od->pdev->dev, in _add_clkdev()
90 dev_err(&od->pdev->dev, in _add_clkdev()
111 static void _add_hwmod_clocks_clkdev(struct omap_device *od, in _add_hwmod_clocks_clkdev() argument
[all …]
H A Domap_device.h76 return pdev ? pdev->archdata.od : NULL; in to_omap_device()
/linux/fs/orangefs/
H A Ddir.c61 static int do_readdir(struct orangefs_dir *od, struct inode *inode, in do_readdir() argument
76 op->upcall.req.readdir.token = od->token; in do_readdir()
83 od->error = bufi; in do_readdir()
100 od->error = r; in do_readdir()
107 od->error = r; in do_readdir()
111 od->error = op->downcall.status; in do_readdir()
121 od->error = -EIO; in do_readdir()
127 od->token = resp->token; in do_readdir()
131 static int parse_readdir(struct orangefs_dir *od, in parse_readdir() argument
138 part = od->part; in parse_readdir()
[all …]
/linux/drivers/usb/serial/
H A Domninet.c114 struct omninet_data *od; in omninet_port_probe() local
116 od = kzalloc(sizeof(*od), GFP_KERNEL); in omninet_port_probe()
117 if (!od) in omninet_port_probe()
120 usb_set_serial_port_data(port, od); in omninet_port_probe()
127 struct omninet_data *od; in omninet_port_remove() local
129 od = usb_get_serial_port_data(port); in omninet_port_remove()
130 kfree(od); in omninet_port_remove()
157 struct omninet_data *od = usb_get_serial_port_data(port); in omninet_prepare_write_buffer() local
165 header->oh_seq = od->od_outseq++; in omninet_prepare_write_buffer()
/linux/arch/arm64/crypto/
H A Dsha1-ce-core.S96 add_update c, od, k0, 9, 10, 11, 8
98 add_update c, od, k0, 11, 8, 9, 10
101 add_update p, od, k1, 9, 10, 11, 8
103 add_update p, od, k1, 11, 8, 9, 10
105 add_update p, od, k2, 9, 10, 11, 8
108 add_update m, od, k2, 11, 8, 9, 10
110 add_update m, od, k2, 9, 10, 11, 8
113 add_update p, od, k3, 11, 8, 9, 10
115 add_only p, od, k3, 10
117 add_only p, od
/linux/drivers/clk/baikal-t1/
H A Dccu-pll.c77 unsigned long od) in ccu_pll_calc_freq() argument
83 do_div(tmp, od); in ccu_pll_calc_freq()
156 unsigned long nr, nf, od; in ccu_pll_recalc_rate() local
162 od = FIELD_GET(CCU_PLL_CTL_CLKOD_MASK, val) + 1; in ccu_pll_recalc_rate()
164 return ccu_pll_calc_freq(parent_rate, nr, nf, od); in ccu_pll_recalc_rate()
169 unsigned long *od) in ccu_pll_calc_factors() argument
226 *od = CCU_PLL_CLKOD_FACTOR * d1; in ccu_pll_calc_factors()
234 unsigned long nr = 1, nf = 1, od = 1; in ccu_pll_round_rate() local
236 ccu_pll_calc_factors(rate, *parent_rate, &nr, &nf, &od); in ccu_pll_round_rate()
238 return ccu_pll_calc_freq(*parent_rate, nr, nf, od); in ccu_pll_round_rate()
[all …]
/linux/drivers/scsi/libsas/
H A Dsas_host_smp.c74 static u8 *to_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count, u8 *bit) in to_sas_gpio_gp_bit() argument
84 if (od < index * 32) in to_sas_gpio_gp_bit()
87 od -= index * 32; in to_sas_gpio_gp_bit()
88 reg = od >> 5; in to_sas_gpio_gp_bit()
93 od &= (1 << 5) - 1; in to_sas_gpio_gp_bit()
94 byte = 3 - (od >> 3); in to_sas_gpio_gp_bit()
95 *bit = od & ((1 << 3) - 1); in to_sas_gpio_gp_bit()
100 int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count) in try_test_sas_gpio_gp_bit() argument
105 byte = to_sas_gpio_gp_bit(od, data, index, count, &bit); in try_test_sas_gpio_gp_bit()
/linux/drivers/clk/ingenic/
H A Dcgu.c86 unsigned m, n, od, od_enc = 0; in ingenic_pll_recalc_rate() local
114 for (od = 0; od < pll_info->od_max; od++) in ingenic_pll_recalc_rate()
115 if (pll_info->od_encoding[od] == od_enc) in ingenic_pll_recalc_rate()
122 BUG_ON(od == pll_info->od_max); in ingenic_pll_recalc_rate()
123 od++; in ingenic_pll_recalc_rate()
126 n * od); in ingenic_pll_recalc_rate()
134 unsigned int m, n, od = 1; in ingenic_pll_calc_m_n_od() local
144 m = (rate / MHZ) * od * n / (parent_rate / MHZ); in ingenic_pll_calc_m_n_od()
150 *pod = od; in ingenic_pll_calc_m_n_od()
159 unsigned int m, n, od; in ingenic_pll_calc() local
[all …]
H A Djz4760-cgu.c61 unsigned int m, n, od, m_max = (1 << pll_info->m_bits) - 1; in jz4760_cgu_calc_m_n_od() local
74 od = m & 1; in jz4760_cgu_calc_m_n_od()
75 m <<= od; in jz4760_cgu_calc_m_n_od()
80 *pod = 1 << od; in jz4760_cgu_calc_m_n_od()
H A Dcgu.h65 unsigned int *m, unsigned int *n, unsigned int *od);
/linux/fs/ocfs2/
H A Dquota_local.c875 struct ocfs2_dquot *od = private; in olq_set_dquot() local
877 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot()
880 + ol_dqblk_block_offset(sb, od->dq_local_off)); in olq_set_dquot()
883 od->dq_dquot.dq_id)); in olq_set_dquot()
884 spin_lock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
885 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
886 od->dq_origspace); in olq_set_dquot()
887 dqblk->dqb_inodemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curinodes - in olq_set_dquot()
888 od->dq_originodes); in olq_set_dquot()
889 spin_unlock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
[all …]
/linux/drivers/gpu/drm/meson/
H A Dmeson_vclk.c473 static inline unsigned int pll_od_to_reg(unsigned int od) in pll_od_to_reg() argument
475 switch (od) { in pll_od_to_reg()
700 unsigned int *od) in meson_hdmi_pll_find_params() argument
703 for (*od = 16 ; *od > 1 ; *od >>= 1) { in meson_hdmi_pll_find_params()
704 *m = meson_hdmi_pll_get_m(priv, freq * *od); in meson_hdmi_pll_find_params()
707 *frac = meson_hdmi_pll_get_frac(priv, *m, freq * *od); in meson_hdmi_pll_find_params()
710 freq, *m, *frac, *od); in meson_hdmi_pll_find_params()
723 unsigned int od, m, frac; in meson_vclk_dmt_supported_freq() local
735 if (meson_hdmi_pll_find_params(priv, freq, &m, &frac, &od)) in meson_vclk_dmt_supported_freq()
746 unsigned int od, m, frac, od1, od2, od3; in meson_hdmi_pll_generic_set() local
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dopfn.c113 struct hfi1_opfn_data *od; in opfn_send_conn_request() local
116 od = container_of(work, struct hfi1_opfn_data, opfn_work); in opfn_send_conn_request()
117 qpriv = container_of(od, struct hfi1_qp_priv, opfn); in opfn_send_conn_request()
/linux/scripts/
H A Dgen-randstruct-seed.sh4 SEED=$(od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n')
/linux/sound/usb/usx2y/
H A Dusb_stream.c285 struct usb_iso_packet_descriptor *id, *od; in usb_stream_prepare_playback() local
289 od = io->iso_frame_desc; in usb_stream_prepare_playback()
298 od[p].length = l; in usb_stream_prepare_playback()
299 od[p].offset = lb; in usb_stream_prepare_playback()
311 od[p].length = l; in usb_stream_prepare_playback()
312 od[p].offset = lb; in usb_stream_prepare_playback()
/linux/arch/arm/include/asm/
H A Ddevice.h19 struct omap_device *od; member
/linux/arch/mips/include/asm/
H A Dtxx9pio.h18 __u32 od; member
/linux/drivers/ata/pata_parport/
H A Dbpck.c384 int i, j, k, p, v, f, om, od; in bpck_read_eeprom() local
388 om = pi->mode; od = pi->delay; in bpck_read_eeprom()
430 pi->mode = om; pi->delay = od; in bpck_read_eeprom()
/linux/drivers/pinctrl/
H A Dpinctrl-st.c233 struct regmap_field *alt, *oe, *pu, *od; member
248 const int alt, oe, pu, od, rt; member
350 .alt = 0, .oe = 40, .pu = 50, .od = 60, .rt = 100,
362 .od = 60,
392 struct regmap_field *open_drain = pc->od; in st_pinconf_set_config()
594 if (pc->od) { in st_pinconf_get_direction()
595 regmap_field_read(pc->od, &od_value); in st_pinconf_get_direction()
1151 pc->od = st_pc_get_value(dev, regmap, bank/4, data->od, lsb, msb); in st_parse_syscfgs()
/linux/drivers/clk/
H A Dclk-k210.c311 u32 od; member
409 reg |= FIELD_PREP(K210_PLL_CLKOD, pll_cfg->od); in k210_pll_enable_hw()
485 u32 r, f, od; in k210_pll_get_rate() local
495 od = FIELD_GET(K210_PLL_CLKOD, reg) + 1; in k210_pll_get_rate()
497 return div_u64((u64)parent_rate * f, r * od); in k210_pll_get_rate()
/linux/io_uring/
H A Dio-wq.c1288 struct online_data *od = data; in io_wq_worker_affinity() local
1290 if (od->online) in io_wq_worker_affinity()
1291 cpumask_set_cpu(od->cpu, worker->wq->cpu_mask); in io_wq_worker_affinity()
1293 cpumask_clear_cpu(od->cpu, worker->wq->cpu_mask); in io_wq_worker_affinity()
1299 struct online_data od = { in __io_wq_cpu_online() local
1305 io_wq_for_each_worker(wq, io_wq_worker_affinity, &od); in __io_wq_cpu_online()
/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_core.c220 .od = {
336 .od = {
502 .od = {
698 .od = {
947 .od = {
1160 .od = {
1335 .od = {
1515 .od = {
2554 reg = &hw->settings->irq_config.od; in st_lsm6dsx_irq_setup()
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-gru-bob.dts86 h1_int_od_l: h1-int-od-l {
/linux/Documentation/spi/
H A Dspi-sc18is602.rst36 means that programs such as "cp" or "od", which automatically use large block
/linux/drivers/cpufreq/
H A Dcpufreq_ondemand.c321 gov_show_one(od, powersave_bias);
339 ATTRIBUTE_GROUPS(od);

123