| /linux/arch/arm/mach-omap2/ |
| H A D | omap_device.c | 44 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() 98 * @od: struct omap_device *od [all …]
|
| /linux/drivers/dma/ti/ |
| H A D | omap-dma.c | 253 struct omap_dmadev *od = to_omap_dma_dev(vd->tx.chan->device); in omap_dma_desc_free() local 258 dma_pool_free(od->desc_pool, d->sg[i].t2_desc, in omap_dma_desc_free() 351 static void omap_dma_glbl_write(struct omap_dmadev *od, unsigned reg, unsigned val) in omap_dma_glbl_write() argument 353 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_write() 357 omap_dma_write(val, r->type, od->base + r->offset); in omap_dma_glbl_write() 360 static unsigned omap_dma_glbl_read(struct omap_dmadev *od, unsigned reg) in omap_dma_glbl_read() argument 362 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_read() 366 return omap_dma_read(r->type, od->base + r->offset); in omap_dma_glbl_read() 401 static void omap_dma_clear_lch(struct omap_dmadev *od, int lch) in omap_dma_clear_lch() argument 406 c = od->lch_map[lch]; in omap_dma_clear_lch() [all …]
|
| /linux/drivers/dma/ |
| H A D | owl-dma.c | 266 static void dma_update(struct owl_dma *od, u32 reg, u32 val, bool state) in dma_update() argument 270 regval = readl(od->base + reg); in dma_update() 277 writel(regval, od->base + reg); in dma_update() 280 static void dma_writel(struct owl_dma *od, u32 reg, u32 data) in dma_writel() argument 282 writel(data, od->base + reg); in dma_writel() 285 static u32 dma_readl(struct owl_dma *od, u32 reg) in dma_readl() argument 287 return readl(od->base + reg); in dma_readl() 342 static void owl_dma_free_lli(struct owl_dma *od, in owl_dma_free_lli() argument 346 dma_pool_free(od->lli_pool, lli, lli->phys); in owl_dma_free_lli() 349 static struct owl_dma_lli *owl_dma_alloc_lli(struct owl_dma *od) in owl_dma_alloc_lli() argument [all …]
|
| H A D | bcm2835-dma.c | 680 struct bcm2835_dmadev *od = to_bcm2835_dma_dev(chan->device); in bcm2835_dma_prep_dma_cyclic() local 733 if (buf_addr == od->zero_page && !c->is_lite_channel) in bcm2835_dma_prep_dma_cyclic() 825 static void bcm2835_dma_free(struct bcm2835_dmadev *od) in bcm2835_dma_free() argument 829 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_free() 835 dma_unmap_page_attrs(od->ddev.dev, od->zero_page, PAGE_SIZE, in bcm2835_dma_free() 863 struct bcm2835_dmadev *od = dev_get_drvdata(dev); in bcm2835_dma_suspend_late() local 866 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_suspend_late() 884 struct bcm2835_dmadev *od; in bcm2835_dma_probe() local 902 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in bcm2835_dma_probe() 903 if (!od) in bcm2835_dma_probe() [all …]
|
| /linux/fs/orangefs/ |
| H A D | dir.c | 62 static int do_readdir(struct orangefs_dir *od, struct inode *inode, in do_readdir() argument 77 op->upcall.req.readdir.token = od->token; in do_readdir() 84 od->error = bufi; in do_readdir() 101 od->error = r; in do_readdir() 108 od->error = r; in do_readdir() 112 od->error = op->downcall.status; in do_readdir() 122 od->error = -EIO; in do_readdir() 128 od->token = resp->token; in do_readdir() 132 static int parse_readdir(struct orangefs_dir *od, in parse_readdir() argument 139 part = od->part; in parse_readdir() [all …]
|
| /linux/fs/overlayfs/ |
| H A D | readdir.c | 295 static void ovl_cache_put(struct ovl_dir_file *od, struct inode *inode) in ovl_cache_put() argument 297 struct ovl_dir_cache *cache = od->cache; in ovl_cache_put() 403 struct ovl_dir_file *od = file->private_data; in ovl_dir_reset() local 404 struct ovl_dir_cache *cache = od->cache; in ovl_dir_reset() 409 ovl_cache_put(od, inode); in ovl_dir_reset() 410 od->cache = NULL; in ovl_dir_reset() 411 od->cursor = NULL; in ovl_dir_reset() 414 if (od->is_real != is_real) { in ovl_dir_reset() 418 od->is_real = false; in ovl_dir_reset() 468 static void ovl_seek_cursor(struct ovl_dir_file *od, loff_t pos) in ovl_seek_cursor() argument [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | st-pincfg.h | 19 #define OD (1 << 25) macro 30 /* oe = 0, pu = 0, od = 0 */ 32 /* oe = 0, pu = 1, od = 0 */ 34 /* oe = 1, pu = 0, od = 0 */ 36 /* oe = 1, pu = 0, od = 1 */ 37 #define BIDIR (OE | OD) 38 /* oe = 1, pu = 1, od = 1 */ 39 #define BIDIR_PU (OE | PU | OD)
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_host_smp.c | 53 * to_sas_gpio_gp_bit - given the gpio frame data find the byte/bit position of 'od' 54 * @od: od bit to find 58 * @bit: bit position of 'od' in the returned byte 60 * returns NULL if 'od' is not in 'data' 70 * although 'od' is renamed 'id' for 'input data'. 72 * SFF-8489 defines the behavior of the LEDs in response to the 'od' values. 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() [all …]
|
| /linux/drivers/usb/serial/ |
| H A D | omninet.c | 114 struct omninet_data *od; in omninet_port_probe() local 116 od = kzalloc_obj(*od); 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/drivers/video/fbdev/kyro/ |
| H A D | STG4000InitDevice.c | 121 u32 R = 0, F = 0, OD = 0, ODIndex = 0; in ProgramClock() local 144 OD = ODValues[ODIndex]; in ProgramClock() 150 ulTmp = R * (ulScaleClockReq << OD); in ProgramClock() 152 /* F = ClkRequired * R * (2^OD) / Fref */ in ProgramClock() 162 * achievable with current OD & R) let's iterate in ProgramClock() 181 ulTmp = (ulVCO >> OD); /* Clock = VCO / (2^OD) */ in ProgramClock() 192 ulBestOD = OD; in ProgramClock() 207 if ((ulScore >= ulBestScore) && (OD > 0)) { in ProgramClock() 208 ulBestOD = OD; in ProgramClock()
|
| /linux/drivers/clk/ingenic/ |
| H A D | cgu.c | 86 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() 118 /* if od_max = 0, od_bits should be 0 and od is fixed to 1. */ 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() [all …]
|
| H A D | jz4760-cgu.c | 61 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()
|
| /linux/drivers/gpu/drm/meson/ |
| H A D | meson_vclk.c | 473 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() 701 unsigned int *od) in meson_hdmi_pll_find_params() argument 704 for (*od = 16 ; *od > 1 ; *od >>= 1) { in meson_hdmi_pll_find_params() 705 *m = meson_hdmi_pll_get_m(priv, freq * *od); in meson_hdmi_pll_find_params() 708 *frac = meson_hdmi_pll_get_frac(priv, *m, freq * *od); in meson_hdmi_pll_find_params() 710 DRM_DEBUG_DRIVER("PLL params for %lluHz: m=%x frac=%x od=%d\n", in meson_hdmi_pll_find_params() 711 freq, *m, *frac, *od); in meson_hdmi_pll_find_params() 720 /* pll_freq is the frequency after the OD dividers */ 724 unsigned int od, m, frac; in meson_vclk_dmt_supported_freq() local [all …]
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | vega20_pptable.h | 79 UCHAR ODFeatureCapabilities[ATOM_VEGA20_ODFEATURE_MAX_COUNT]; //OD feature support flags 81 ULONG ODSettingsMax[ATOM_VEGA20_ODSETTING_MAX_COUNT]; //Upper Limit for each OD Setting 82 ULONG ODSettingsMin[ATOM_VEGA20_ODSETTING_MAX_COUNT]; //Lower Limit for each OD Setting
|
| /linux/drivers/clk/versatile/ |
| H A D | clk-icst.h | 12 ICST_INTEGRATOR_CP_CM_CORE, /* Only 8 bits of VDW and 3 bits of OD */ 13 ICST_INTEGRATOR_CP_CM_MEM, /* Only 8 bits of VDW and 3 bits of OD */
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_uvc.c | 903 struct uvc_output_terminal_descriptor *od; in uvc_alloc_inst() local 942 od = &opts->uvc_output_terminal; in uvc_alloc_inst() 943 od->bLength = UVC_DT_OUTPUT_TERMINAL_SIZE; in uvc_alloc_inst() 944 od->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst() 945 od->bDescriptorSubType = UVC_VC_OUTPUT_TERMINAL; in uvc_alloc_inst() 946 od->bTerminalID = 3; in uvc_alloc_inst() 947 od->wTerminalType = cpu_to_le16(0x0101); in uvc_alloc_inst() 948 od->bAssocTerminal = 0; in uvc_alloc_inst() 949 od->bSourceID = 2; in uvc_alloc_inst() 950 od->iTerminal = 0; in uvc_alloc_inst() [all …]
|
| /linux/drivers/macintosh/ |
| H A D | windfarm_pm121.c | 31 * OD Fan control correction. 86 * dependencies, we must trigger HD loop before OD loop before CPU 113 * OD Fan control loop. 248 /* All sys loops. Note the HD before the OD loop in order to have it 254 LOOP_KODIAK, /* control = hd or od */ 255 LOOP_OD, /* control = od */ 263 "OD", 406 /* OD Fan control loop */
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | arm,syscon-icst.yaml | 27 therefore have special compatible strings as per this table (the OD value is 35 Hardware variant RDW OD VDW
|
| /linux/arch/mips/alchemy/common/ |
| H A D | setup.c | 61 set_c0_config(1 << 19); /* Set Config[OD] */ in plat_mem_setup() 64 clear_c0_config(1 << 19); /* Clear Config[OD] */ in plat_mem_setup()
|
| /linux/sound/usb/usx2y/ |
| H A D | usb_stream.c | 285 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/drivers/gpu/drm/amd/pm/swsmu/inc/ |
| H A D | smu_v11_0_pptable.h | 78 #define SMU_11_0_MAX_ODFEATURE 32 //Maximum Number of OD Features 109 uint8_t cap[SMU_11_0_MAX_ODFEATURE]; //OD feature support flags
|
| H A D | smu_v13_0_pptable.h | 79 #define SMU_13_0_MAX_ODFEATURE 32 //Maximum Number of OD Features 111 uint8_t cap[SMU_13_0_MAX_ODFEATURE]; //OD feature support flags
|
| H A D | smu_v13_0_7_pptable.h | 84 #define SMU_13_0_7_MAX_ODFEATURE 32 //Maximum Number of OD Features 148 uint8_t cap[SMU_13_0_7_MAX_ODFEATURE]; //OD feature support flags
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H 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/scripts/ |
| H A D | gen-randstruct-seed.sh | 4 SEED=$(od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n')
|