/drivers/base/ |
H A D | syscore.c | 19 * @ops: System core operations to register. 21 void register_syscore_ops(struct syscore_ops *ops) argument 24 list_add_tail(&ops->node, &syscore_ops_list); 31 * @ops: System core operations to unregister. 33 void unregister_syscore_ops(struct syscore_ops *ops) argument 36 list_del(&ops->node); 49 struct syscore_ops *ops; local 62 list_for_each_entry_reverse(ops, &syscore_ops_list, node) 63 if (ops->suspend) { 65 pr_info("PM: Calling %pF\n", ops 93 struct syscore_ops *ops; local 115 struct syscore_ops *ops; local [all...] |
H A D | dma-buf.c | 42 dmabuf->ops->release(dmabuf); 61 return dmabuf->ops->mmap(dmabuf, vma); 80 * Also connect the allocator specific data and ops to the buffer. 83 * @ops: [in] Attach allocator-defined dma buf ops to the new buffer. 89 * ops, or error in allocating struct dma_buf, will return negative error. 92 struct dma_buf *dma_buf_export(void *priv, const struct dma_buf_ops *ops, argument 98 if (WARN_ON(!priv || !ops 99 || !ops->map_dma_buf 100 || !ops [all...] |
/drivers/mfd/ |
H A D | abx500-core.c | 18 struct abx500_ops ops; member in struct:abx500_device_entry 22 static void lookup_ops(struct device *dev, struct abx500_ops **ops) argument 26 *ops = NULL; 29 *ops = &dev_entry->ops; 35 int abx500_register_ops(struct device *dev, struct abx500_ops *ops) argument 45 memcpy(&dev_entry->ops, ops, sizeof(struct abx500_ops)); 69 struct abx500_ops *ops; local 71 lookup_ops(dev->parent, &ops); 82 struct abx500_ops *ops; local 95 struct abx500_ops *ops; local 109 struct abx500_ops *ops; local 122 struct abx500_ops *ops; local 134 struct abx500_ops *ops; local 146 struct abx500_ops *ops; local [all...] |
/drivers/video/console/ |
H A D | fbcon_rotate.c | 23 struct fbcon_ops *ops = info->fbcon_par; local 29 if (vc->vc_font.data == ops->fontdata && 30 ops->p->con_rotate == ops->cur_rotate) 33 src = ops->fontdata = vc->vc_font.data; 34 ops->cur_rotate = ops->p->con_rotate; 35 len = (!ops->p->userfont) ? 256 : FNTCHARCNT(src); 40 if (ops->rotate == FB_ROTATE_CW || 41 ops 96 fbcon_set_rotate(struct fbcon_ops *ops) argument [all...] |
H A D | softcursor.c | 24 struct fbcon_ops *ops = info->fbcon_par; local 37 if (dsize + sizeof(struct fb_image) != ops->cursor_size) { 38 if (ops->cursor_src != NULL) 39 kfree(ops->cursor_src); 40 ops->cursor_size = dsize + sizeof(struct fb_image); 42 ops->cursor_src = kmalloc(ops->cursor_size, GFP_ATOMIC); 43 if (!ops->cursor_src) { 44 ops->cursor_size = 0; 49 src = ops [all...] |
H A D | fbcon_ud.c | 51 struct fbcon_ops *ops = info->fbcon_par; local 53 u32 vyres = GETVYRES(ops->p->scrollmode, info); 54 u32 vxres = GETVXRES(ops->p->scrollmode, info); 69 struct fbcon_ops *ops = info->fbcon_par; local 72 u32 vyres = GETVYRES(ops->p->scrollmode, info); 73 u32 vxres = GETVXRES(ops->p->scrollmode, info); 90 struct fbcon_ops *ops = info->fbcon_par; local 96 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; 123 struct fbcon_ops *ops = info->fbcon_par; local 131 src = ops 156 struct fbcon_ops *ops = info->fbcon_par; local 256 struct fbcon_ops *ops = info->fbcon_par; local 421 struct fbcon_ops *ops = info->fbcon_par; local 440 fbcon_rotate_ud(struct fbcon_ops *ops) argument [all...] |
H A D | fbcon_ccw.c | 66 struct fbcon_ops *ops = info->fbcon_par; local 68 u32 vyres = GETVYRES(ops->p->scrollmode, info); 83 struct fbcon_ops *ops = info->fbcon_par; local 86 u32 vyres = GETVYRES(ops->p->scrollmode, info); 103 struct fbcon_ops *ops = info->fbcon_par; local 109 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; 134 struct fbcon_ops *ops = info->fbcon_par; local 143 u32 vyres = GETVYRES(ops->p->scrollmode, info); 145 if (!ops->fontbuffer) 226 struct fbcon_ops *ops local 397 struct fbcon_ops *ops = info->fbcon_par; local 412 fbcon_rotate_ccw(struct fbcon_ops *ops) argument [all...] |
H A D | fbcon_cw.c | 52 struct fbcon_ops *ops = info->fbcon_par; local 54 u32 vxres = GETVXRES(ops->p->scrollmode, info); 69 struct fbcon_ops *ops = info->fbcon_par; local 72 u32 vxres = GETVXRES(ops->p->scrollmode, info); 89 struct fbcon_ops *ops = info->fbcon_par; local 95 src = ops->fontbuffer + (scr_readw(s++) & charmask)*cellsize; 120 struct fbcon_ops *ops = info->fbcon_par; local 129 u32 vxres = GETVXRES(ops->p->scrollmode, info); 131 if (!ops->fontbuffer) 210 struct fbcon_ops *ops local 381 struct fbcon_ops *ops = info->fbcon_par; local 396 fbcon_rotate_cw(struct fbcon_ops *ops) argument [all...] |
H A D | bitblit.c | 241 struct fbcon_ops *ops = info->fbcon_par; local 244 int y = real_y(ops->p, vc->vc_y); 254 ops->cursor_flash = 0; 264 if (ops->cursor_state.image.data != src || 265 ops->cursor_reset) { 266 ops->cursor_state.image.data = src; 276 kfree(ops->cursor_data); 277 ops->cursor_data = dst; 282 if (ops->cursor_state.image.fg_color != fg || 283 ops 394 struct fbcon_ops *ops = info->fbcon_par; local 404 fbcon_set_bitops(struct fbcon_ops *ops) argument [all...] |
/drivers/pcmcia/ |
H A D | pxa2xx_base.h | 2 void pxa2xx_drv_pcmcia_ops(struct pcmcia_low_level *ops);
|
/drivers/mtd/tests/ |
H A D | mtd_oobtest.c | 128 struct mtd_oob_ops ops; local 134 ops.mode = MTD_OPS_AUTO_OOB; 135 ops.len = 0; 136 ops.retlen = 0; 137 ops.ooblen = use_len; 138 ops.oobretlen = 0; 139 ops.ooboffs = use_offset; 140 ops.datbuf = NULL; 141 ops.oobbuf = writebuf; 142 err = mtd_write_oob(mtd, addr, &ops); 181 struct mtd_oob_ops ops; local 273 struct mtd_oob_ops ops; local 364 struct mtd_oob_ops ops; local [all...] |
/drivers/ps3/ |
H A D | sys-manager-core.c | 35 * @ops: struct ps3_sys_manager_ops. 38 * register call back ops for power control. Copies data to the static 42 void ps3_sys_manager_register_ops(const struct ps3_sys_manager_ops *ops) argument 44 BUG_ON(!ops); 45 BUG_ON(!ops->dev); 46 ps3_sys_manager_ops = ops ? *ops : ps3_sys_manager_ops;
|
/drivers/rtc/ |
H A D | rtc-m48t86.c | 49 struct m48t86_ops *ops = pdev->dev.platform_data; local 51 reg = ops->readbyte(M48T86_REG_B); 55 tm->tm_sec = ops->readbyte(M48T86_REG_SEC); 56 tm->tm_min = ops->readbyte(M48T86_REG_MIN); 57 tm->tm_hour = ops->readbyte(M48T86_REG_HOUR) & 0x3F; 58 tm->tm_mday = ops->readbyte(M48T86_REG_DOM); 60 tm->tm_mon = ops->readbyte(M48T86_REG_MONTH) - 1; 61 tm->tm_year = ops->readbyte(M48T86_REG_YEAR) + 100; 62 tm->tm_wday = ops->readbyte(M48T86_REG_DOW); 65 tm->tm_sec = bcd2bin(ops 87 struct m48t86_ops *ops = pdev->dev.platform_data; local 126 struct m48t86_ops *ops = pdev->dev.platform_data; local 150 struct m48t86_ops *ops = dev->dev.platform_data; local [all...] |
/drivers/oprofile/ |
H A D | oprof.h | 37 int oprofile_timer_init(struct oprofile_operations *ops); 39 int op_nmi_timer_init(struct oprofile_operations *ops); 41 static inline int op_nmi_timer_init(struct oprofile_operations *ops) argument
|
/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt.h | 28 int rtllib_register_crypto_ops(struct lib80211_crypto_ops *ops); 29 int rtllib_unregister_crypto_ops(struct lib80211_crypto_ops *ops);
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-op-mode.h | 92 * 2) The driver layer starts the op_mode (ops->start) 101 * The op_mode exports its ops so that external components can start it and 149 * @ops - pointer to its own ops 152 const struct iwl_op_mode_ops *ops; member in struct:iwl_op_mode 162 op_mode->ops->stop(op_mode); 169 return op_mode->ops->rx(op_mode, rxb, cmd); 174 op_mode->ops->queue_full(op_mode, ac); 180 op_mode->ops->queue_not_full(op_mode, ac); 186 op_mode->ops [all...] |
/drivers/media/video/ |
H A D | v4l2-ioctl.c | 59 ops->vidioc_##foo##_fmt_vid_cap || \ 60 ops->vidioc_##foo##_fmt_vid_out || \ 61 ops->vidioc_##foo##_fmt_vid_cap_mplane || \ 62 ops->vidioc_##foo##_fmt_vid_out_mplane || \ 63 ops->vidioc_##foo##_fmt_vid_overlay || \ 64 ops->vidioc_##foo##_fmt_vbi_cap || \ 65 ops->vidioc_##foo##_fmt_vid_out_overlay || \ 66 ops->vidioc_##foo##_fmt_vbi_out || \ 67 ops->vidioc_##foo##_fmt_sliced_vbi_cap || \ 68 ops 443 check_fmt(const struct v4l2_ioctl_ops *ops, enum v4l2_buf_type type) argument 503 const struct v4l2_ioctl_ops *ops = vfd->ioctl_ops; local [all...] |
/drivers/net/phy/ |
H A D | mdio-bitbang.c | 49 const struct mdiobb_ops *ops = ctrl->ops; local 51 ops->set_mdio_data(ctrl, val); 53 ops->set_mdc(ctrl, 1); 55 ops->set_mdc(ctrl, 0); 61 const struct mdiobb_ops *ops = ctrl->ops; local 64 ops->set_mdc(ctrl, 1); 66 ops->set_mdc(ctrl, 0); 68 return ops 99 const struct mdiobb_ops *ops = ctrl->ops; local [all...] |
/drivers/media/dvb/frontends/ |
H A D | tda8261_cfg.h | 27 if (&fe->ops) 28 frontend_ops = &fe->ops; 50 if (&fe->ops) 51 frontend_ops = &fe->ops; 66 struct dvb_frontend_ops *frontend_ops = &fe->ops; 71 if (&fe->ops) 72 frontend_ops = &fe->ops;
|
H A D | stb6100_cfg.h | 29 if (&fe->ops) 30 frontend_ops = &fe->ops; 51 if (&fe->ops) 52 frontend_ops = &fe->ops; 66 struct dvb_frontend_ops *frontend_ops = &fe->ops; 71 if (&fe->ops) 72 frontend_ops = &fe->ops; 93 if (&fe->ops) 94 frontend_ops = &fe->ops;
|
/drivers/net/wireless/b43/ |
H A D | phy_common.c | 45 phy->ops = NULL; 49 phy->ops = &b43_phyops_a; 52 phy->ops = &b43_phyops_g; 56 phy->ops = &b43_phyops_n; 61 phy->ops = &b43_phyops_lp; 66 phy->ops = &b43_phyops_ht; 71 phy->ops = &b43_phyops_lcn; 75 if (B43_WARN_ON(!phy->ops)) 78 err = phy->ops->allocate(dev); 80 phy->ops 94 const struct b43_phy_operations *ops = phy->ops; local 126 const struct b43_phy_operations *ops = dev->phy.ops; local [all...] |
/drivers/pinctrl/ |
H A D | pinconf.c | 28 const struct pinconf_ops *ops = pctldev->desc->confops; local 31 if (!ops->pin_config_get && !ops->pin_config_group_get) 34 if (!ops->pin_config_set && !ops->pin_config_group_set) 60 const struct pinconf_ops *ops = pctldev->desc->confops; local 62 if (!ops || !ops->pin_config_get) { 68 return ops->pin_config_get(pctldev, pin, config); 108 const struct pinconf_ops *ops local 167 const struct pinconf_ops *ops; local 205 const struct pinconf_ops *ops; local 325 const struct pinconf_ops *ops = pctldev->desc->confops; local 440 const struct pinconf_ops *ops = pctldev->desc->confops; local 485 const struct pinconf_ops *ops = pctldev->desc->confops; local 497 const struct pinconf_ops *ops = pctldev->desc->confops; local [all...] |
/drivers/iommu/ |
H A D | iommu.c | 79 static void iommu_bus_init(struct bus_type *bus, struct iommu_ops *ops) argument 88 * @ops: the callbacks provided by the iommu-driver 92 * the iommu-api after these ops are registered. 95 * is set up. With this function the iommu-driver can set the iommu-ops 98 int bus_set_iommu(struct bus_type *bus, struct iommu_ops *ops) argument 103 bus->iommu_ops = ops; 106 iommu_bus_init(bus, ops); 150 domain->ops = bus->iommu_ops; 152 ret = domain->ops->domain_init(domain); 167 if (likely(domain->ops [all...] |
/drivers/video/backlight/ |
H A D | lcd.c | 41 if (!ld->ops) 45 if (!ld->ops->check_fb || ld->ops->check_fb(ld, evdata->info)) { 47 if (ld->ops->set_power) 48 ld->ops->set_power(ld, *(int *)evdata->data); 50 if (ld->ops->set_mode) 51 ld->ops->set_mode(ld, evdata->data); 87 if (ld->ops && ld->ops->get_power) 88 rc = sprintf(buf, "%d\n", ld->ops 188 lcd_device_register(const char *name, struct device *parent, void *devdata, struct lcd_ops *ops) argument [all...] |
/drivers/misc/c2port/ |
H A D | core.c | 67 struct c2port_ops *ops = dev->ops; local 73 ops->c2ck_set(dev, 0); 75 ops->c2ck_set(dev, 1); 83 struct c2port_ops *ops = dev->ops; local 91 ops->c2ck_set(dev, 0); 93 ops->c2ck_set(dev, 1); 105 struct c2port_ops *ops = dev->ops; local 133 struct c2port_ops *ops = dev->ops; local 165 struct c2port_ops *ops = dev->ops; local 213 struct c2port_ops *ops = dev->ops; local 319 struct c2port_ops *ops = c2dev->ops; local 328 struct c2port_ops *ops = c2dev->ops; local 337 struct c2port_ops *ops = c2dev->ops; local 355 struct c2port_ops *ops = c2dev->ops; local 623 struct c2port_ops *ops = dev->ops; local 736 struct c2port_ops *ops = dev->ops; local 884 c2port_device_register(char *name, struct c2port_ops *ops, void *devdata) argument [all...] |