/drivers/usb/gadget/udc/aspeed-vhub/ |
D | dev.c | 31 void ast_vhub_dev_irq(struct ast_vhub_dev *d) in ast_vhub_dev_irq() argument 33 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 35 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 38 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq() 40 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq() 42 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq() 45 static void ast_vhub_dev_enable(struct ast_vhub_dev *d) in ast_vhub_dev_enable() argument 49 if (d->enabled) in ast_vhub_dev_enable() 53 ast_vhub_reset_ep0(d); in ast_vhub_dev_enable() 60 if (d->gadget.speed == USB_SPEED_HIGH) in ast_vhub_dev_enable() [all …]
|
/drivers/block/aoe/ |
D | aoedev.c | 18 static void freetgt(struct aoedev *d, struct aoetgt *t); 19 static void skbpoolfree(struct aoedev *d); 138 aoedev_put(struct aoedev *d) in aoedev_put() argument 143 d->ref--; in aoedev_put() 150 struct aoedev *d; in dummy_timer() local 152 d = from_timer(d, t, timer); in dummy_timer() 153 if (d->flags & DEVFL_TKILL) in dummy_timer() 155 d->timer.expires = jiffies + HZ; in dummy_timer() 156 add_timer(&d->timer); in dummy_timer() 160 aoe_failip(struct aoedev *d) in aoe_failip() argument [all …]
|
D | aoeblk.c | 37 struct aoedev *d = disk->private_data; in aoedisk_show_state() local 40 (d->flags & DEVFL_UP) ? "up" : "down", in aoedisk_show_state() 41 (d->flags & DEVFL_KICKME) ? ",kickme" : in aoedisk_show_state() 42 (d->nopen && !(d->flags & DEVFL_UP)) ? ",closewait" : ""); in aoedisk_show_state() 49 struct aoedev *d = disk->private_data; in aoedisk_show_mac() local 50 struct aoetgt *t = d->targets[0]; in aoedisk_show_mac() 60 struct aoedev *d = disk->private_data; in aoedisk_show_netif() local 69 t = d->targets; in aoedisk_show_netif() 70 te = t + d->ntargets; in aoedisk_show_netif() 98 struct aoedev *d = disk->private_data; in aoedisk_show_fwver() local [all …]
|
D | aoecmd.c | 24 static int count_targets(struct aoedev *d, int *untainted); 78 getframe_deferred(struct aoedev *d, u32 tag) in getframe_deferred() argument 83 head = &d->rexmitq; in getframe_deferred() 95 getframe(struct aoedev *d, u32 tag) in getframe() argument 102 head = &d->factive[n]; in getframe() 119 newtag(struct aoedev *d) in newtag() argument 124 return n | (++d->lasttag & 0x7fff) << 16; in newtag() 128 aoehdr_atainit(struct aoedev *d, struct aoetgt *t, struct aoe_hdr *h) in aoehdr_atainit() argument 130 u32 host_tag = newtag(d); in aoehdr_atainit() 136 h->major = cpu_to_be16(d->aoemajor); in aoehdr_atainit() [all …]
|
/drivers/gpu/drm/mcde/ |
D | mcde_dsi.c | 69 struct mcde_dsi *d; in mcde_dsi_irq() local 73 d = host_to_mcde_dsi(mdsi->host); in mcde_dsi_irq() 75 dev_dbg(d->dev, "%s called\n", __func__); in mcde_dsi_irq() 77 val = readl(d->regs + DSI_DIRECT_CMD_STS_FLAG); in mcde_dsi_irq() 79 dev_dbg(d->dev, "DSI_DIRECT_CMD_STS_FLAG = %08x\n", val); in mcde_dsi_irq() 81 dev_dbg(d->dev, "direct command write completed\n"); in mcde_dsi_irq() 84 dev_dbg(d->dev, "direct command TE received\n"); in mcde_dsi_irq() 87 dev_err(d->dev, "direct command ACK ERR received\n"); in mcde_dsi_irq() 89 dev_err(d->dev, "direct command read ERR received\n"); in mcde_dsi_irq() 91 writel(val, d->regs + DSI_DIRECT_CMD_STS_CLR); in mcde_dsi_irq() [all …]
|
/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb_core.c | 22 static int dvb_usbv2_download_firmware(struct dvb_usb_device *d, in dvb_usbv2_download_firmware() argument 27 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_download_firmware() 29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware() 34 ret = request_firmware(&fw, name, &d->udev->dev); in dvb_usbv2_download_firmware() 36 dev_err(&d->udev->dev, in dvb_usbv2_download_firmware() 42 dev_info(&d->udev->dev, "%s: downloading firmware from file '%s'\n", in dvb_usbv2_download_firmware() 45 ret = d->props->download_firmware(d, fw); in dvb_usbv2_download_firmware() 52 dev_dbg(&d->udev->dev, "%s: failed=%d\n", __func__, ret); in dvb_usbv2_download_firmware() 56 static int dvb_usbv2_i2c_init(struct dvb_usb_device *d) in dvb_usbv2_i2c_init() argument 59 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_i2c_init() [all …]
|
D | anysee.c | 36 static int anysee_ctrl_msg(struct dvb_usb_device *d, in anysee_ctrl_msg() argument 39 struct anysee_state *state = d_to_priv(d); in anysee_ctrl_msg() 42 mutex_lock(&d->usb_mutex); in anysee_ctrl_msg() 47 dev_dbg(&d->udev->dev, "%s: >>> %*ph\n", __func__, slen, state->buf); in anysee_ctrl_msg() 51 ret = dvb_usbv2_generic_rw_locked(d, state->buf, sizeof(state->buf), in anysee_ctrl_msg() 70 ret = usb_bulk_msg(d->udev, usb_rcvbulkpipe(d->udev, in anysee_ctrl_msg() 71 d->props->generic_bulk_ctrl_endpoint), in anysee_ctrl_msg() 74 dev_dbg(&d->udev->dev, in anysee_ctrl_msg() 78 dev_dbg(&d->udev->dev, "%s: <<< %*ph\n", __func__, in anysee_ctrl_msg() 82 dev_dbg(&d->udev->dev, in anysee_ctrl_msg() [all …]
|
D | rtl28xxu.c | 17 static int rtl28xxu_ctrl_msg(struct dvb_usb_device *d, struct rtl28xxu_req *req) in rtl28xxu_ctrl_msg() argument 19 struct rtl28xxu_dev *dev = d->priv; in rtl28xxu_ctrl_msg() 24 mutex_lock(&d->usb_mutex); in rtl28xxu_ctrl_msg() 27 dev_err(&d->intf->dev, "too large message %u\n", req->size); in rtl28xxu_ctrl_msg() 36 pipe = usb_sndctrlpipe(d->udev, 0); in rtl28xxu_ctrl_msg() 47 pipe = usb_rcvctrlpipe(d->udev, 0); in rtl28xxu_ctrl_msg() 49 pipe = usb_sndctrlpipe(d->udev, 0); in rtl28xxu_ctrl_msg() 52 ret = usb_control_msg(d->udev, pipe, 0, requesttype, req->value, in rtl28xxu_ctrl_msg() 54 dvb_usb_dbg_usb_control_msg(d->udev, 0, requesttype, req->value, in rtl28xxu_ctrl_msg() 63 mutex_unlock(&d->usb_mutex); in rtl28xxu_ctrl_msg() [all …]
|
D | dvb_usb_urb.c | 11 static int dvb_usb_v2_generic_io(struct dvb_usb_device *d, in dvb_usb_v2_generic_io() argument 16 if (!wbuf || !wlen || !d->props->generic_bulk_ctrl_endpoint || in dvb_usb_v2_generic_io() 17 !d->props->generic_bulk_ctrl_endpoint_response) { in dvb_usb_v2_generic_io() 18 dev_dbg(&d->udev->dev, "%s: failed=%d\n", __func__, -EINVAL); in dvb_usb_v2_generic_io() 22 dev_dbg(&d->udev->dev, "%s: >>> %*ph\n", __func__, wlen, wbuf); in dvb_usb_v2_generic_io() 24 ret = usb_bulk_msg(d->udev, usb_sndbulkpipe(d->udev, in dvb_usb_v2_generic_io() 25 d->props->generic_bulk_ctrl_endpoint), wbuf, wlen, in dvb_usb_v2_generic_io() 28 dev_err(&d->udev->dev, "%s: usb_bulk_msg() failed=%d\n", in dvb_usb_v2_generic_io() 33 dev_err(&d->udev->dev, "%s: usb_bulk_msg() write length=%d, actual=%d\n", in dvb_usb_v2_generic_io() 40 if (d->props->generic_bulk_ctrl_delay) in dvb_usb_v2_generic_io() [all …]
|
/drivers/mtd/ |
D | mtdswap.c | 160 #define TREE_ROOT(d, name) (&d->trees[MTDSWAP_ ## name].root) argument 161 #define TREE_EMPTY(d, name) (TREE_ROOT(d, name)->rb_node == NULL) argument 162 #define TREE_NONEMPTY(d, name) (!TREE_EMPTY(d, name)) argument 163 #define TREE_COUNT(d, name) (d->trees[MTDSWAP_ ## name].count) argument 182 static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background); 184 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset() argument 186 return (loff_t)(eb - d->eb_data) * d->mtd->erasesize; in mtdswap_eb_offset() 189 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_detach() argument 196 oldidx = tp - &d->trees[0]; in mtdswap_eb_detach() 198 d->trees[oldidx].count--; in mtdswap_eb_detach() [all …]
|
/drivers/base/regmap/ |
D | regmap-irq.c | 74 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_lock() local 76 mutex_lock(&d->lock); in regmap_irq_lock() 81 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_sync_unlock() local 82 struct regmap *map = d->map; in regmap_irq_sync_unlock() 87 if (d->chip->runtime_pm) { in regmap_irq_sync_unlock() 94 if (d->clear_status) { in regmap_irq_sync_unlock() 95 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock() 96 reg = d->get_irq_reg(d, d->chip->status_base, i); in regmap_irq_sync_unlock() 100 dev_err(d->map->dev, in regmap_irq_sync_unlock() 104 d->clear_status = false; in regmap_irq_sync_unlock() [all …]
|
/drivers/clk/ti/ |
D | adpll.c | 173 static const char *ti_adpll_clk_get_name(struct ti_adpll_data *d, in ti_adpll_clk_get_name() argument 181 err = of_property_read_string_index(d->np, in ti_adpll_clk_get_name() 188 name = devm_kasprintf(d->dev, GFP_KERNEL, "%08lx.adpll.%s", in ti_adpll_clk_get_name() 189 d->pa, postfix); in ti_adpll_clk_get_name() 197 static int ti_adpll_setup_clock(struct ti_adpll_data *d, struct clk *clock, in ti_adpll_setup_clock() argument 205 d->clocks[index].clk = clock; in ti_adpll_setup_clock() 206 d->clocks[index].unregister = unregister; in ti_adpll_setup_clock() 212 dev_warn(d->dev, "clock %s con_id lookup may fail\n", in ti_adpll_setup_clock() 214 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock() 218 d->clocks[index].cl = cl; in ti_adpll_setup_clock() [all …]
|
/drivers/sh/intc/ |
D | core.c | 74 struct intc_desc_int *d, in intc_register_irq() argument 84 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); in intc_register_irq() 95 data[0] = intc_get_mask_handle(desc, d, enum_id, 0); in intc_register_irq() 96 data[1] = intc_get_prio_handle(desc, d, enum_id, 0); in intc_register_irq() 106 data[0] = data[0] ? data[0] : intc_get_mask_handle(desc, d, enum_id, 1); in intc_register_irq() 107 data[1] = data[1] ? data[1] : intc_get_prio_handle(desc, d, enum_id, 1); in intc_register_irq() 117 irq_set_chip_and_handler_name(irq, &d->chip, handle_level_irq, in intc_register_irq() 132 hp = d->prio + d->nr_prio; in intc_register_irq() 144 d->nr_prio++; in intc_register_irq() 148 data[0] = intc_get_sense_handle(desc, d, enum_id); in intc_register_irq() [all …]
|
/drivers/media/usb/dvb-usb/ |
D | dvb-usb-init.c | 26 static int dvb_usb_adapter_init(struct dvb_usb_device *d, short *adapter_nrs) in dvb_usb_adapter_init() argument 31 for (n = 0; n < d->props.num_adapters; n++) { in dvb_usb_adapter_init() 32 adap = &d->adapter[n]; in dvb_usb_adapter_init() 33 adap->dev = d; in dvb_usb_adapter_init() 36 memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties)); in dvb_usb_adapter_init() 41 if (d->udev->speed == USB_SPEED_FULL && !(props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) { in dvb_usb_adapter_init() 46 if ((d->udev->speed == USB_SPEED_FULL && props->caps & DVB_USB_ADAP_HAS_PID_FILTER) || in dvb_usb_adapter_init() 98 d->num_adapters_initialized++; in dvb_usb_adapter_init() 99 d->state |= DVB_USB_STATE_DVB; in dvb_usb_adapter_init() 106 if (d->props.generic_bulk_ctrl_endpoint != 0) { in dvb_usb_adapter_init() [all …]
|
D | dvb-usb-remote.c | 48 struct dvb_usb_device *d = input_get_drvdata(dev); in legacy_dvb_usb_getkeycode() local 49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode() 50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode() 71 struct dvb_usb_device *d = input_get_drvdata(dev); in legacy_dvb_usb_setkeycode() local 72 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_setkeycode() 73 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_setkeycode() 111 struct dvb_usb_device *d = in legacy_dvb_usb_read_remote_control() local 123 if (d->props.rc.legacy.rc_query(d,&event,&state)) { in legacy_dvb_usb_read_remote_control() 134 d->last_event = event; in legacy_dvb_usb_read_remote_control() 135 input_event(d->input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control() [all …]
|
D | gp8psk.c | 29 static int gp8psk_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, in gp8psk_usb_in_op() argument 32 struct gp8psk_state *st = d->priv; in gp8psk_usb_in_op() 38 if ((ret = mutex_lock_interruptible(&d->usb_mutex))) in gp8psk_usb_in_op() 42 ret = usb_control_msg(d->udev, in gp8psk_usb_in_op() 43 usb_rcvctrlpipe(d->udev,0), in gp8psk_usb_in_op() 63 mutex_unlock(&d->usb_mutex); in gp8psk_usb_in_op() 68 static int gp8psk_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value, in gp8psk_usb_out_op() argument 71 struct gp8psk_state *st = d->priv; in gp8psk_usb_out_op() 80 if ((ret = mutex_lock_interruptible(&d->usb_mutex))) in gp8psk_usb_out_op() 84 if (usb_control_msg(d->udev, in gp8psk_usb_out_op() [all …]
|
/drivers/thermal/intel/int340x_thermal/ |
D | int3406_thermal.c | 37 #define ACPI_TO_RAW(v, d) (d->raw_bd->props.max_brightness * v / 100) argument 38 #define RAW_TO_ACPI(v, d) (v * 100 / d->raw_bd->props.max_brightness) argument 44 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_max_state() local 46 *state = d->upper_limit - d->lower_limit; in int3406_thermal_get_max_state() 54 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_set_cur_state() local 57 if (state > d->upper_limit - d->lower_limit) in int3406_thermal_set_cur_state() 60 acpi_level = d->br->levels[d->upper_limit - state]; in int3406_thermal_set_cur_state() 62 raw_level = ACPI_TO_RAW(acpi_level, d); in int3406_thermal_set_cur_state() 64 return backlight_device_set_brightness(d->raw_bd, raw_level); in int3406_thermal_set_cur_state() 71 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_cur_state() local [all …]
|
/drivers/soc/fsl/dpio/ |
D | dpio-service.c | 57 static inline struct dpaa2_io *service_select_by_cpu(struct dpaa2_io *d, in service_select_by_cpu() argument 60 if (d) in service_select_by_cpu() 61 return d; in service_select_by_cpu() 77 static inline struct dpaa2_io *service_select(struct dpaa2_io *d) in service_select() argument 79 if (d) in service_select() 80 return d; in service_select() 82 d = service_select_by_cpu(d, -1); in service_select() 83 if (d) in service_select() 84 return d; in service_select() 87 d = list_entry(dpio_list.next, struct dpaa2_io, node); in service_select() [all …]
|
/drivers/dma/lgm/ |
D | lgm-dma.c | 279 ldma_update_bits(struct ldma_dev *d, u32 mask, u32 val, u32 ofs) in ldma_update_bits() argument 283 old_val = readl(d->base + ofs); in ldma_update_bits() 287 writel(new_val, d->base + ofs); in ldma_update_bits() 315 static void ldma_dev_reset(struct ldma_dev *d) in ldma_dev_reset() argument 320 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_reset() 321 ldma_update_bits(d, DMA_CTRL_RST, DMA_CTRL_RST, DMA_CTRL); in ldma_dev_reset() 322 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_reset() 325 static void ldma_dev_pkt_arb_cfg(struct ldma_dev *d, bool enable) in ldma_dev_pkt_arb_cfg() argument 331 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_pkt_arb_cfg() 332 ldma_update_bits(d, mask, val, DMA_CTRL); in ldma_dev_pkt_arb_cfg() [all …]
|
/drivers/acpi/acpica/ |
D | acmacros.h | 54 #define ACPI_MOVE_16_TO_16(d, s) {(( u8 *)(void *)(d))[0] = ((u8 *)(void *)(s))[1];\ argument 55 (( u8 *)(void *)(d))[1] = ((u8 *)(void *)(s))[0];} 57 #define ACPI_MOVE_16_TO_32(d, s) {(*(u32 *)(void *)(d))=0;\ argument 58 ((u8 *)(void *)(d))[2] = ((u8 *)(void *)(s))[1];\ 59 ((u8 *)(void *)(d))[3] = ((u8 *)(void *)(s))[0];} 61 #define ACPI_MOVE_16_TO_64(d, s) {(*(u64 *)(void *)(d))=0;\ argument 62 ((u8 *)(void *)(d))[6] = ((u8 *)(void *)(s))[1];\ 63 ((u8 *)(void *)(d))[7] = ((u8 *)(void *)(s))[0];} 67 #define ACPI_MOVE_32_TO_16(d, s) ACPI_MOVE_16_TO_16(d, s) /* Truncate to 16 */ argument 69 #define ACPI_MOVE_32_TO_32(d, s) {(( u8 *)(void *)(d))[0] = ((u8 *)(void *)(s))[3];\ argument [all …]
|
/drivers/dma/ |
D | k3dma.c | 149 static void k3_dma_terminate_chan(struct k3_dma_phy *phy, struct k3_dma_dev *d) in k3_dma_terminate_chan() argument 156 writel_relaxed(val, d->base + INT_TC1_RAW); in k3_dma_terminate_chan() 157 writel_relaxed(val, d->base + INT_TC2_RAW); in k3_dma_terminate_chan() 158 writel_relaxed(val, d->base + INT_ERR1_RAW); in k3_dma_terminate_chan() 159 writel_relaxed(val, d->base + INT_ERR2_RAW); in k3_dma_terminate_chan() 171 static u32 k3_dma_get_curr_cnt(struct k3_dma_dev *d, struct k3_dma_phy *phy) in k3_dma_get_curr_cnt() argument 175 cnt = readl_relaxed(d->base + CX_CUR_CNT + phy->idx * 0x10); in k3_dma_get_curr_cnt() 185 static u32 k3_dma_get_chan_stat(struct k3_dma_dev *d) in k3_dma_get_chan_stat() argument 187 return readl_relaxed(d->base + CH_STAT); in k3_dma_get_chan_stat() 190 static void k3_dma_enable_dma(struct k3_dma_dev *d, bool on) in k3_dma_enable_dma() argument [all …]
|
/drivers/input/serio/ |
D | ioc3kbd.c | 40 struct ioc3kbd_data *d = dev->port_data; in ioc3kbd_write() local 43 ret = ioc3kbd_wait(d->regs, KM_CSR_K_WRT_PEND); in ioc3kbd_write() 47 writel(val, &d->regs->k_wd); in ioc3kbd_write() 54 struct ioc3kbd_data *d = dev->port_data; in ioc3kbd_start() local 56 d->kbd_exists = true; in ioc3kbd_start() 62 struct ioc3kbd_data *d = dev->port_data; in ioc3kbd_stop() local 64 d->kbd_exists = false; in ioc3kbd_stop() 69 struct ioc3kbd_data *d = dev->port_data; in ioc3aux_write() local 72 ret = ioc3kbd_wait(d->regs, KM_CSR_M_WRT_PEND); in ioc3aux_write() 76 writel(val, &d->regs->m_wd); in ioc3aux_write() [all …]
|
/drivers/gpu/drm/nouveau/include/nvhw/ |
D | drf.h | 63 #define NVVAL_N(X,d,r,f, v) NVVAL_X(d##_##r##_##f, (v)) argument 64 #define NVVAL_I(X,d,r,f,i,v) NVVAL_X(d##_##r##_##f(i), (v)) argument 68 #define NVDEF_N(X,d,r,f, v) NVVAL_X(d##_##r##_##f, d##_##r##_##f##_##v) argument 69 #define NVDEF_I(X,d,r,f,i,v) NVVAL_X(d##_##r##_##f(i), d##_##r##_##f##_##v) argument 74 #define NVVAL_GET_N(X,o,d,r,f ) NVVAL_GET_X(o, d##_##r##_##f) argument 75 #define NVVAL_GET_I(X,o,d,r,f,i) NVVAL_GET_X(o, d##_##r##_##f(i)) argument 80 #define NVVAL_TEST_N(X,o,d,r,f, cmp,v) NVVAL_TEST_X(o, d##_##r##_##f , cmp, (v)) argument 81 #define NVVAL_TEST_I(X,o,d,r,f,i,cmp,v) NVVAL_TEST_X(o, d##_##r##_##f(i), cmp, (v)) argument 85 #define NVDEF_TEST_N(X,o,d,r,f, cmp,v) NVVAL_TEST_X(o, d##_##r##_##f , cmp, d##_##r##_##f##_##v) argument 86 #define NVDEF_TEST_I(X,o,d,r,f,i,cmp,v) NVVAL_TEST_X(o, d##_##r##_##f(i), cmp, d##_##r##_##f##_##v) argument [all …]
|
/drivers/media/tuners/ |
D | tda18271-maps.c | 14 u8 d; /* div */ member 25 { .lomax = 32000, .pd = 0x5f, .d = 0xf0 }, 26 { .lomax = 35000, .pd = 0x5e, .d = 0xe0 }, 27 { .lomax = 37000, .pd = 0x5d, .d = 0xd0 }, 28 { .lomax = 41000, .pd = 0x5c, .d = 0xc0 }, 29 { .lomax = 44000, .pd = 0x5b, .d = 0xb0 }, 30 { .lomax = 49000, .pd = 0x5a, .d = 0xa0 }, 31 { .lomax = 54000, .pd = 0x59, .d = 0x90 }, 32 { .lomax = 61000, .pd = 0x58, .d = 0x80 }, 33 { .lomax = 65000, .pd = 0x4f, .d = 0x78 }, [all …]
|
/drivers/media/platform/st/stm32/dma2d/ |
D | dma2d-hw.c | 35 void dma2d_start(struct dma2d_dev *d) in dma2d_start() argument 37 reg_update_bits(d->regs, DMA2D_CR_REG, CR_START, CR_START); in dma2d_start() 40 u32 dma2d_get_int(struct dma2d_dev *d) in dma2d_get_int() argument 42 return reg_read(d->regs, DMA2D_ISR_REG); in dma2d_get_int() 45 void dma2d_clear_int(struct dma2d_dev *d) in dma2d_clear_int() argument 47 u32 isr_val = reg_read(d->regs, DMA2D_ISR_REG); in dma2d_clear_int() 49 reg_write(d->regs, DMA2D_IFCR_REG, isr_val & 0x003f); in dma2d_clear_int() 52 void dma2d_config_common(struct dma2d_dev *d, enum dma2d_op_mode op_mode, in dma2d_config_common() argument 55 reg_update_bits(d->regs, DMA2D_CR_REG, CR_MODE_MASK, in dma2d_config_common() 58 reg_write(d->regs, DMA2D_NLR_REG, (width << 16) | height); in dma2d_config_common() [all …]
|