/linux/arch/arm/mach-omap2/ |
A D | omap_device.c | 233 if (od) { in _omap_device_notifier_call() 248 if (od) in _omap_device_notifier_call() 339 if (!od) in omap_device_alloc() 350 pdev->archdata.od = od; in omap_device_alloc() 353 hwmods[i]->od = od; in omap_device_alloc() 357 return od; in omap_device_alloc() 360 kfree(od); in omap_device_alloc() 369 if (!od) in omap_device_delete() 372 od->pdev->archdata.od = NULL; in omap_device_delete() 374 kfree(od); in omap_device_delete() [all …]
|
A D | omap_device.h | 73 void omap_device_delete(struct omap_device *od); 91 return pdev ? pdev->archdata.od : NULL; in to_omap_device()
|
/linux/drivers/dma/ti/ |
A D | omap-dma.c | 417 c->channel_base = od->base + od->plat->channel_stride * lch; in omap_dma_assign() 1576 od->context.gcr = omap_dma_glbl_read(od, GCR); in omap_dma_context_save() 1583 omap_dma_glbl_write(od, GCR, od->context.gcr); in omap_dma_context_restore() 1660 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in omap_dma_probe() 1661 if (!od) in omap_dma_probe() 1685 od->reg_map = od->plat->reg_map; in omap_dma_probe() 1731 od->lch_count = od->plat->dma_attr->lch_count; in omap_dma_probe() 1748 bitmap_from_arr32(od->lch_bitmap, &val, od->lch_count); in omap_dma_probe() 1753 od->lch_map = devm_kcalloc(&pdev->dev, od->lch_count, in omap_dma_probe() 1787 od->ddev.filter.map = od->plat->slave_map; in omap_dma_probe() [all …]
|
/linux/fs/orangefs/ |
A D | dir.c | 100 od->error = r; in do_readdir() 107 od->error = r; in do_readdir() 138 part = od->part; in parse_readdir() 151 if (!od->part) in parse_readdir() 174 od->error = r; in orangefs_dir_more() 179 od->error = r; in orangefs_dir_more() 183 od->error = 0; in orangefs_dir_more() 316 if (od->error) in orangefs_dir_iterate() 349 if (od->token == ORANGEFS_ITERATE_END && ctx->pos > od->end) in orangefs_dir_iterate() 381 od->error = 0; in orangefs_dir_open() [all …]
|
/linux/drivers/dma/ |
A D | owl-dma.c | 1093 struct owl_dma *od; in owl_dma_probe() local 1096 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in owl_dma_probe() 1097 if (!od) in owl_dma_probe() 1171 od->pchans = devm_kcalloc(&pdev->dev, od->nr_pchans, in owl_dma_probe() 1173 if (!od->pchans) in owl_dma_probe() 1184 od->vchans = devm_kcalloc(&pdev->dev, od->nr_vchans, in owl_dma_probe() 1186 if (!od->vchans) in owl_dma_probe() 1197 od->lli_pool = dma_pool_create(dev_name(od->dma.dev), od->dma.dev, in owl_dma_probe() 1201 if (!od->lli_pool) { in owl_dma_probe() 1244 devm_free_irq(od->dma.dev, od->irq, od); in owl_dma_remove() [all …]
|
A D | bcm2835-dma.c | 852 dma_unmap_page_attrs(od->ddev.dev, od->zero_page, PAGE_SIZE, in bcm2835_dma_free() 880 struct bcm2835_dmadev *od; in bcm2835_dma_probe() local 899 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in bcm2835_dma_probe() 900 if (!od) in bcm2835_dma_probe() 910 od->base = base; in bcm2835_dma_probe() 932 od->ddev.dev = &pdev->dev; in bcm2835_dma_probe() 937 od->zero_page = dma_map_page_attrs(od->ddev.dev, ZERO_PAGE(0), 0, in bcm2835_dma_probe() 940 if (dma_mapping_error(od->ddev.dev, od->zero_page)) { in bcm2835_dma_probe() 1002 bcm2835_dma_xlate, od); in bcm2835_dma_probe() 1020 bcm2835_dma_free(od); in bcm2835_dma_probe() [all …]
|
/linux/fs/overlayfs/ |
A D | readdir.c | 331 od->cache = NULL; in ovl_dir_reset() 332 od->cursor = NULL; in ovl_dir_reset() 390 od->cursor = p; in ovl_seek_cursor() 744 if (od->is_real) { in ovl_iterate() 761 if (!od->cache) { in ovl_iterate() 773 while (od->cursor != &od->cache->entries) { in ovl_iterate() 825 if (od->cache) in ovl_dir_llseek() 914 if (od->cache) { in ovl_dir_release() 922 kfree(od); in ovl_dir_release() 935 if (!od) in ovl_dir_open() [all …]
|
/linux/drivers/usb/serial/ |
A D | omninet.c | 115 struct omninet_data *od; in omninet_port_probe() local 117 od = kzalloc(sizeof(*od), GFP_KERNEL); in omninet_port_probe() 118 if (!od) in omninet_port_probe() 121 usb_set_serial_port_data(port, od); in omninet_port_probe() 128 struct omninet_data *od; in omninet_port_remove() local 130 od = usb_get_serial_port_data(port); in omninet_port_remove() 131 kfree(od); in omninet_port_remove() 158 struct omninet_data *od = usb_get_serial_port_data(port); in omninet_prepare_write_buffer() local 166 header->oh_seq = od->od_outseq++; in omninet_prepare_write_buffer()
|
/linux/arch/arm64/crypto/ |
A D | sha1-ce-core.S | 96 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/ |
A D | ccu-pll.c | 77 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 249 unsigned long nr, nf, od; in ccu_pll_set_rate_reset() local 260 FIELD_PREP(CCU_PLL_CTL_CLKOD_MASK, od - 1); in ccu_pll_set_rate_reset() [all …]
|
/linux/drivers/scsi/libsas/ |
A D | sas_host_smp.c | 74 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/ |
A D | cgu.c | 86 unsigned m, n, od_enc, od; in ingenic_pll_recalc_rate() local 111 for (od = 0; od < pll_info->od_max; od++) { in ingenic_pll_recalc_rate() 116 od++; in ingenic_pll_recalc_rate() 119 n * od); in ingenic_pll_recalc_rate() 127 unsigned int m, n, od = 1; in ingenic_pll_calc_m_n_od() local 143 *pod = od; in ingenic_pll_calc_m_n_od() 152 unsigned int m, n, od; in ingenic_pll_calc() local 164 *pod = od; in ingenic_pll_calc() 167 n * od); in ingenic_pll_calc() 199 unsigned int m, n, od; in ingenic_pll_set_rate() local [all …]
|
A D | jz4760-cgu.c | 61 unsigned int m, n, od, m_max = (1 << pll_info->m_bits) - 2; in jz4760_cgu_calc_m_n_od() local 70 od = (unsigned int)-1; in jz4760_cgu_calc_m_n_od() 73 m = (rate / MHZ) * (1 << ++od) * n / (parent_rate / MHZ); in jz4760_cgu_calc_m_n_od() 74 } while ((m > m_max || m & 1) && (od < 4)); in jz4760_cgu_calc_m_n_od() 76 if (od < 4 && m >= 4 && m <= m_max) in jz4760_cgu_calc_m_n_od() 82 *pod = 1 << od; in jz4760_cgu_calc_m_n_od()
|
/linux/fs/ocfs2/ |
A D | quota_local.c | 873 struct ocfs2_dquot *od = private; in olq_set_dquot() local 881 od->dq_dquot.dq_id)); in olq_set_dquot() 882 spin_lock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot() 884 od->dq_origspace); in olq_set_dquot() 886 od->dq_originodes); in olq_set_dquot() 887 spin_unlock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot() 1242 od->dq_chunk = chunk; in ocfs2_create_local_dquot() 1245 &od->dq_local_phys_blk, in ocfs2_create_local_dquot() 1289 od->dq_local_off); in ocfs2_local_release_dquot() 1291 (od->dq_chunk->qc_headerbh->b_data); in ocfs2_local_release_dquot() [all …]
|
/linux/drivers/gpu/drm/meson/ |
A D | meson_vclk.c | 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 746 unsigned int od, m, frac, od1, od2, od3; in meson_hdmi_pll_generic_set() local 751 if (od < 4) { in meson_hdmi_pll_generic_set() 755 od2 = od / 4; in meson_hdmi_pll_generic_set() [all …]
|
/linux/drivers/usb/gadget/function/ |
A D | f_uvc.c | 789 struct uvc_output_terminal_descriptor *od; in uvc_alloc_inst() local 829 od = &opts->uvc_output_terminal; in uvc_alloc_inst() 830 od->bLength = UVC_DT_OUTPUT_TERMINAL_SIZE; in uvc_alloc_inst() 831 od->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst() 833 od->bTerminalID = 3; in uvc_alloc_inst() 834 od->wTerminalType = cpu_to_le16(0x0101); in uvc_alloc_inst() 835 od->bAssocTerminal = 0; in uvc_alloc_inst() 836 od->bSourceID = 2; in uvc_alloc_inst() 837 od->iTerminal = 0; in uvc_alloc_inst() 852 ctl_cls[3] = (struct uvc_descriptor_header *)od; in uvc_alloc_inst() [all …]
|
/linux/tools/testing/selftests/kexec/ |
A D | kexec_common_lib.sh | 83 secureboot_mode=`od -An -t u1 "$secure_boot_file/data"` 84 setup_mode=`od -An -t u1 "$setup_mode_file/data"`
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | opfn.c | 113 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/sound/usb/usx2y/ |
A D | usb_stream.c | 287 struct usb_iso_packet_descriptor *id, *od; in usb_stream_prepare_playback() local 291 od = io->iso_frame_desc; in usb_stream_prepare_playback() 300 od[p].length = l; in usb_stream_prepare_playback() 301 od[p].offset = lb; in usb_stream_prepare_playback() 313 od[p].length = l; in usb_stream_prepare_playback() 314 od[p].offset = lb; in usb_stream_prepare_playback()
|
/linux/scripts/gcc-plugins/ |
A D | gen-random-seed.sh | 5 SEED=`od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n'`
|
/linux/arch/arm/include/asm/ |
A D | device.h | 23 struct omap_device *od; member
|
/linux/arch/mips/include/asm/ |
A D | txx9pio.h | 18 __u32 od; member
|
/linux/drivers/block/paride/ |
A D | bpck.c | 350 { int i, j, k, p, v, f, om, od; in bpck_read_eeprom() local 354 om = pi->mode; od = pi->delay; in bpck_read_eeprom() 396 pi->mode = om; pi->delay = od; in bpck_read_eeprom()
|
/linux/drivers/pinctrl/ |
A D | pinctrl-st.c | 229 struct regmap_field *alt, *oe, *pu, *od; member 244 const int alt, oe, pu, od, rt; member 346 .alt = 0, .oe = 40, .pu = 50, .od = 60, .rt = 100, 358 .od = 60, 388 struct regmap_field *open_drain = pc->od; in st_pinconf_set_config() 590 if (pc->od) { in st_pinconf_get_direction() 591 regmap_field_read(pc->od, &od_value); in st_pinconf_get_direction() 1156 pc->od = st_pc_get_value(dev, regmap, bank/4, data->od, lsb, msb); in st_parse_syscfgs()
|
/linux/drivers/clk/ |
A D | clk-k210.c | 312 u32 od; member 410 reg |= FIELD_PREP(K210_PLL_CLKOD, pll_cfg->od); in k210_pll_enable_hw() 486 u32 r, f, od; in k210_pll_get_rate() local 496 od = FIELD_GET(K210_PLL_CLKOD, reg) + 1; in k210_pll_get_rate() 498 return (u64)parent_rate * f / (r * od); in k210_pll_get_rate()
|