/drivers/dma/ |
D | omap-dma.c | 229 struct omap_dmadev *od = to_omap_dma_dev(vd->tx.chan->device); in omap_dma_desc_free() local 234 dma_pool_free(od->desc_pool, d->sg[i].t2_desc, in omap_dma_desc_free() 327 static void omap_dma_glbl_write(struct omap_dmadev *od, unsigned reg, unsigned val) in omap_dma_glbl_write() argument 329 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_write() 333 omap_dma_write(val, r->type, od->base + r->offset); in omap_dma_glbl_write() 336 static unsigned omap_dma_glbl_read(struct omap_dmadev *od, unsigned reg) in omap_dma_glbl_read() argument 338 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_read() 342 return omap_dma_read(r->type, od->base + r->offset); in omap_dma_glbl_read() 377 static void omap_dma_assign(struct omap_dmadev *od, struct omap_chan *c, in omap_dma_assign() argument 380 c->channel_base = od->base + od->plat->channel_stride * lch; in omap_dma_assign() [all …]
|
D | bcm2835-dma.c | 865 static void bcm2835_dma_free(struct bcm2835_dmadev *od) in bcm2835_dma_free() argument 869 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_free() 900 struct bcm2835_dmadev *od; in bcm2835_dma_probe() local 917 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in bcm2835_dma_probe() 918 if (!od) in bcm2835_dma_probe() 921 pdev->dev.dma_parms = &od->dma_parms; in bcm2835_dma_probe() 929 od->base = base; in bcm2835_dma_probe() 931 dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); in bcm2835_dma_probe() 932 dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask); in bcm2835_dma_probe() 933 dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask); in bcm2835_dma_probe() [all …]
|
/drivers/scsi/osd/ |
D | osd_uld.c | 87 struct osd_dev od; member 93 struct osd_dev od; member 203 ret = do_test(&oud->od, cmd, arg); in osd_uld_ioctl() 248 odh->od = oud->od; in osduld_path_lookup() 252 return &odh->od; in osduld_path_lookup() 310 odh->od = oud->od; in osduld_info_lookup() 313 return &odh->od; in osduld_info_lookup() 320 void osduld_put_device(struct osd_dev *od) in osduld_put_device() argument 322 if (od && !IS_ERR(od)) { in osduld_put_device() 324 container_of(od, struct osd_dev_handle, od); in osduld_put_device() [all …]
|
D | osd_initiator.c | 79 static int _osd_get_print_system_info(struct osd_dev *od, in _osd_get_print_system_info() argument 101 or = osd_start_request(od, GFP_KERNEL); in _osd_get_print_system_info() 198 int osd_auto_detect_ver(struct osd_dev *od, in osd_auto_detect_ver() argument 204 ret = _osd_get_print_system_info(od, caps, odi); in osd_auto_detect_ver() 206 osd_dev_set_ver(od, OSD_VER1); in osd_auto_detect_ver() 208 ret = _osd_get_print_system_info(od, caps, odi); in osd_auto_detect_ver() 2005 cap->od.obj_desc.policy_access_tag = 0; in osd_sec_init_nosec_doall_caps() 2006 cap->od.obj_desc.allowed_partition_id = cpu_to_be64(obj->partition); in osd_sec_init_nosec_doall_caps() 2007 cap->od.obj_desc.allowed_object_id = cpu_to_be64(obj->id); in osd_sec_init_nosec_doall_caps()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_dev.c | 200 struct osc_device *od = lu2osc_dev(d); in osc_device_free() local 203 kfree(od); in osc_device_free() 212 struct osc_device *od; in osc_device_alloc() local 216 od = kzalloc(sizeof(*od), GFP_NOFS); in osc_device_alloc() 217 if (!od) in osc_device_alloc() 220 cl_device_init(&od->od_cl, t); in osc_device_alloc() 221 d = osc2lu_dev(od); in osc_device_alloc() 223 od->od_cl.cd_ops = &osc_cl_ops; in osc_device_alloc() 233 od->od_exp = obd->obd_self_export; in osc_device_alloc()
|
D | lproc_osc.c | 481 struct osc_device *od = obd2osc_dev(obd); in contention_seconds_show() local 483 return sprintf(buf, "%u\n", od->od_contention_time); in contention_seconds_show() 493 struct osc_device *od = obd2osc_dev(obd); in contention_seconds_store() local 504 od->od_contention_time = val; in contention_seconds_store() 516 struct osc_device *od = obd2osc_dev(obd); in lockless_truncate_show() local 518 return sprintf(buf, "%u\n", od->od_lockless_truncate); in lockless_truncate_show() 528 struct osc_device *od = obd2osc_dev(obd); in lockless_truncate_store() local 536 od->od_lockless_truncate = val; in lockless_truncate_store()
|
/drivers/usb/serial/ |
D | omninet.c | 122 struct omninet_data *od; in omninet_port_probe() local 124 od = kzalloc(sizeof(*od), GFP_KERNEL); in omninet_port_probe() 125 if (!od) in omninet_port_probe() 128 usb_set_serial_port_data(port, od); in omninet_port_probe() 135 struct omninet_data *od; in omninet_port_remove() local 137 od = usb_get_serial_port_data(port); in omninet_port_remove() 138 kfree(od); in omninet_port_remove() 175 struct omninet_data *od = usb_get_serial_port_data(port); in omninet_write() local 199 header->oh_seq = od->od_outseq++; in omninet_write()
|
/drivers/clk/ingenic/ |
D | cgu.c | 84 unsigned m, n, od_enc, od; in ingenic_pll_recalc_rate() local 112 for (od = 0; od < pll_info->od_max; od++) { in ingenic_pll_recalc_rate() 113 if (pll_info->od_encoding[od] == od_enc) in ingenic_pll_recalc_rate() 116 BUG_ON(od == pll_info->od_max); in ingenic_pll_recalc_rate() 117 od++; in ingenic_pll_recalc_rate() 119 return div_u64((u64)parent_rate * m, n * od); in ingenic_pll_recalc_rate() 128 unsigned m, n, od; in ingenic_pll_calc() local 131 od = 1; in ingenic_pll_calc() 141 m = (rate / MHZ) * od * n / (parent_rate / MHZ); in ingenic_pll_calc() 150 *pod = od; in ingenic_pll_calc() [all …]
|
/drivers/scsi/libsas/ |
D | sas_host_smp.c | 77 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 87 if (od < index * 32) in to_sas_gpio_gp_bit() 90 od -= index * 32; in to_sas_gpio_gp_bit() 91 reg = od >> 5; in to_sas_gpio_gp_bit() 96 od &= (1 << 5) - 1; in to_sas_gpio_gp_bit() 97 byte = 3 - (od >> 3); in to_sas_gpio_gp_bit() 98 *bit = od & ((1 << 3) - 1); in to_sas_gpio_gp_bit() 103 int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count) in try_test_sas_gpio_gp_bit() argument 108 byte = to_sas_gpio_gp_bit(od, data, index, count, &bit); in try_test_sas_gpio_gp_bit()
|
/drivers/clk/meson/ |
D | clk-pll.c | 56 u16 n, m, frac = 0, od, od2 = 0; in meson_clk_pll_recalc_rate() local 67 p = &pll->od; in meson_clk_pll_recalc_rate() 69 od = PARM_GET(p->width, p->shift, reg); in meson_clk_pll_recalc_rate() 83 rate_mhz = rate_mhz >> od >> od2; in meson_clk_pll_recalc_rate() 85 rate_mhz = (parent_rate_mhz * m / n) >> od >> od2; in meson_clk_pll_recalc_rate() 167 p = &pll->od; in meson_clk_pll_set_rate() 169 reg = PARM_SET(p->width, p->shift, reg, rate_set->od); in meson_clk_pll_set_rate()
|
D | clkc.h | 42 u16 od; member 52 .od = (_od), \ 60 .od = (_od), \ 71 struct parm od; member
|
D | gxbb.c | 276 .od = { 307 .od = { 338 .od = { 366 .od = {
|
D | meson8b.c | 125 .od = { 151 .od = { 177 .od = {
|
/drivers/usb/gadget/function/ |
D | f_uvc.c | 772 struct uvc_output_terminal_descriptor *od; in uvc_alloc_inst() local 810 od = &opts->uvc_output_terminal; in uvc_alloc_inst() 811 od->bLength = UVC_DT_OUTPUT_TERMINAL_SIZE; in uvc_alloc_inst() 812 od->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst() 813 od->bDescriptorSubType = UVC_VC_OUTPUT_TERMINAL; in uvc_alloc_inst() 814 od->bTerminalID = 3; in uvc_alloc_inst() 815 od->wTerminalType = cpu_to_le16(0x0101); in uvc_alloc_inst() 816 od->bAssocTerminal = 0; in uvc_alloc_inst() 817 od->bSourceID = 2; in uvc_alloc_inst() 818 od->iTerminal = 0; in uvc_alloc_inst() [all …]
|
/drivers/clk/sirf/ |
D | clk-common.c | 90 u32 od = ((cfg0 >> 19) & (BIT(4) - 1)) + 1; in pll_clk_recalc_rate() local 92 return fin / MHZ * nf / nr / od * MHZ; in pll_clk_recalc_rate() 99 unsigned long fin, nf, nr, od; in pll_clk_round_rate() local 119 od = 1; in pll_clk_round_rate() 122 do_div(dividend, nr * od); in pll_clk_round_rate() 131 unsigned long fin, nf, nr, od, reg; in pll_clk_set_rate() local 148 od = 1; in pll_clk_set_rate() 150 reg = (nf - 1) | ((nr - 1) << 13) | ((od - 1) << 19); in pll_clk_set_rate()
|
/drivers/pinctrl/ |
D | pinctrl-st.c | 231 struct regmap_field *alt, *oe, *pu, *od; member 246 const int alt, oe, pu, od, rt; member 348 .alt = 0, .oe = 40, .pu = 50, .od = 60, .rt = 100, 360 .od = 60, 390 struct regmap_field *open_drain = pc->od; in st_pinconf_set_config() 593 if (pc->od) { in st_pinconf_get_direction() 594 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()
|
/drivers/block/paride/ |
D | bpck.c | 350 { int i,j,k,n,p,v,f, om, od; in bpck_read_eeprom() local 354 om = pi->mode; od = pi->delay; in bpck_read_eeprom() 397 pi->mode = om; pi->delay = od; in bpck_read_eeprom()
|
/drivers/cpufreq/ |
D | cpufreq_ondemand.c | 323 gov_show_one(od, powersave_bias);
|
/drivers/video/console/ |
D | fbcon.c | 2560 struct display *od = &fb_display[con]; in fbcon_copy_font() local 2563 if (od->fontdata == f->data) in fbcon_copy_font() 2565 return fbcon_do_set_font(vc, f->width, f->height, od->fontdata, od->userfont); in fbcon_copy_font()
|
/drivers/pinctrl/tegra/ |
D | pinctrl-tegra114.c | 1556 #define PINGROUP(pg_name, f0, f1, f2, f3, r, od, ior, rcv_sel) \ argument 1577 .odrain_bit = PINGROUP_BIT_##od(6), \
|
D | pinctrl-tegra124.c | 1725 #define PINGROUP(pg_name, f0, f1, f2, f3, r, od, ior, rcv_sel) \ argument 1746 .odrain_bit = PINGROUP_BIT_##od(6), \
|
D | pinctrl-tegra30.c | 2117 #define PINGROUP(pg_name, f0, f1, f2, f3, r, od, ior) \ argument 2138 .odrain_bit = PINGROUP_BIT_##od(6), \
|