Home
last modified time | relevance | path

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

12

/drivers/dma/ti/
A Domap-dma.c417 c->channel_base = od->base + od->plat->channel_stride * lch; in omap_dma_assign()
1580 od->context.gcr = omap_dma_glbl_read(od, GCR); in omap_dma_context_save()
1587 omap_dma_glbl_write(od, GCR, od->context.gcr); in omap_dma_context_restore()
1663 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in omap_dma_probe()
1664 if (!od) in omap_dma_probe()
1689 od->reg_map = od->plat->reg_map; in omap_dma_probe()
1735 od->lch_count = od->plat->dma_attr->lch_count; in omap_dma_probe()
1752 bitmap_from_arr32(od->lch_bitmap, &val, od->lch_count); in omap_dma_probe()
1757 od->lch_map = devm_kcalloc(&pdev->dev, od->lch_count, in omap_dma_probe()
1791 od->ddev.filter.map = od->plat->slave_map; in omap_dma_probe()
[all …]
/drivers/dma/
A Dowl-dma.c1094 struct owl_dma *od; in owl_dma_probe() local
1097 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in owl_dma_probe()
1098 if (!od) in owl_dma_probe()
1172 od->pchans = devm_kcalloc(&pdev->dev, od->nr_pchans, in owl_dma_probe()
1174 if (!od->pchans) in owl_dma_probe()
1185 od->vchans = devm_kcalloc(&pdev->dev, od->nr_vchans, in owl_dma_probe()
1187 if (!od->vchans) in owl_dma_probe()
1198 od->lli_pool = dma_pool_create(dev_name(od->dma.dev), od->dma.dev, in owl_dma_probe()
1202 if (!od->lli_pool) { in owl_dma_probe()
1245 devm_free_irq(od->dma.dev, od->irq, od); in owl_dma_remove()
[all …]
A Dbcm2835-dma.c852 dma_unmap_page_attrs(od->ddev.dev, od->zero_page, PAGE_SIZE, in bcm2835_dma_free()
901 struct bcm2835_dmadev *od; in bcm2835_dma_probe() local
919 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in bcm2835_dma_probe()
920 if (!od) in bcm2835_dma_probe()
929 od->base = base; in bcm2835_dma_probe()
951 od->ddev.dev = &pdev->dev; in bcm2835_dma_probe()
956 od->zero_page = dma_map_page_attrs(od->ddev.dev, ZERO_PAGE(0), 0, in bcm2835_dma_probe()
959 if (dma_mapping_error(od->ddev.dev, od->zero_page)) { in bcm2835_dma_probe()
1021 bcm2835_dma_xlate, od); in bcm2835_dma_probe()
1039 bcm2835_dma_free(od); in bcm2835_dma_probe()
[all …]
/drivers/usb/serial/
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()
/drivers/clk/baikal-t1/
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
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 …]
/drivers/scsi/libsas/
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()
/drivers/clk/ingenic/
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()
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
150 *pod = od; in ingenic_pll_calc_m_n_od()
159 unsigned int m, n, od; in ingenic_pll_calc() local
171 *pod = od; in ingenic_pll_calc()
174 n * od); in ingenic_pll_calc()
209 unsigned int m, n, od; in ingenic_pll_set_rate() local
[all …]
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()
A Dcgu.h65 unsigned int *m, unsigned int *n, unsigned int *od);
/drivers/gpu/drm/meson/
A Dmeson_vclk.c475 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()
711 freq, *m, *frac, *od); in meson_hdmi_pll_find_params()
724 unsigned int od, m, frac; in meson_vclk_dmt_supported_freq() local
747 unsigned int od, m, frac, od1, od2, od3; in meson_hdmi_pll_generic_set() local
752 if (od < 4) { in meson_hdmi_pll_generic_set()
756 od2 = od / 4; in meson_hdmi_pll_generic_set()
[all …]
/drivers/usb/gadget/function/
A Df_uvc.c882 struct uvc_output_terminal_descriptor *od; in uvc_alloc_inst() local
921 od = &opts->uvc_output_terminal; in uvc_alloc_inst()
922 od->bLength = UVC_DT_OUTPUT_TERMINAL_SIZE; in uvc_alloc_inst()
923 od->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst()
925 od->bTerminalID = 3; in uvc_alloc_inst()
926 od->wTerminalType = cpu_to_le16(0x0101); in uvc_alloc_inst()
927 od->bAssocTerminal = 0; in uvc_alloc_inst()
928 od->bSourceID = 2; in uvc_alloc_inst()
929 od->iTerminal = 0; in uvc_alloc_inst()
943 ctl_cls[3] = (struct uvc_descriptor_header *)od; in uvc_alloc_inst()
[all …]
/drivers/infiniband/hw/hfi1/
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()
/drivers/ata/pata_parport/
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()
/drivers/pinctrl/
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,
387 struct regmap_field *open_drain = pc->od; in st_pinconf_set_config()
589 if (pc->od) { in st_pinconf_get_direction()
590 regmap_field_read(pc->od, &od_value); in st_pinconf_get_direction()
1148 pc->od = st_pc_get_value(dev, regmap, bank/4, data->od, lsb, msb); in st_parse_syscfgs()
/drivers/clk/
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()
A Dclk-aspeed.c139 u32 od = (val >> 4) & 0x1; in aspeed_ast2400_calc_pll() local
142 mult = (2 - od) * (n + 2); in aspeed_ast2400_calc_pll()
A Dclk-ast2600.c255 u32 od = (val >> 4) & 0x1; in ast2600_calc_apll() local
258 mult = (2 - od) * (m + 2); in ast2600_calc_apll()
/drivers/iio/imu/st_lsm6dsx/
A Dst_lsm6dsx_core.c220 .od = {
336 .od = {
502 .od = {
698 .od = {
947 .od = {
1160 .od = {
1335 .od = {
1515 .od = {
2552 reg = &hw->settings->irq_config.od; in st_lsm6dsx_irq_setup()
A Dst_lsm6dsx.h334 struct st_lsm6dsx_reg od; member
/drivers/cpufreq/
A Dcpufreq_ondemand.c322 gov_show_one(od, powersave_bias);
340 ATTRIBUTE_GROUPS(od);
/drivers/hwmon/
A Dibmpowernv.c506 static void populate_sensor(struct sensor_data *sdata, int od, int hd, int sid, in populate_sensor() argument
519 sdata->opal_index = od; in populate_sensor()
/drivers/pinctrl/tegra/
A Dpinctrl-tegra114.c1547 #define PINGROUP(pg_name, f0, f1, f2, f3, r, od, ior, rcv_sel) \ argument
1568 .odrain_bit = PINGROUP_BIT_##od(6), \
A Dpinctrl-tegra124.c1716 #define PINGROUP(pg_name, f0, f1, f2, f3, r, od, ior, rcv_sel) \ argument
1737 .odrain_bit = PINGROUP_BIT_##od(6), \
A Dpinctrl-tegra30.c2108 #define PINGROUP(pg_name, f0, f1, f2, f3, r, od, ior) \ argument
2129 .odrain_bit = PINGROUP_BIT_##od(6), \
/drivers/accel/habanalabs/goya/
A Dgoya.c748 u32 nr = 0, nf = 0, od = 0, div_fctr = 0, pll_clk, div_sel; in goya_fetch_psoc_frequency() local
770 od = RREG32(mmPSOC_PCI_PLL_OD); in goya_fetch_psoc_frequency()
781 ((nr + 1) * (od + 1)); in goya_fetch_psoc_frequency()
797 prop->psoc_pci_pll_od = od; in goya_fetch_psoc_frequency()

Completed in 121 milliseconds

12