/drivers/base/ |
H A D | syscore.c | 21 * @ops: System core operations to register. 23 void register_syscore_ops(struct syscore_ops *ops) argument 26 list_add_tail(&ops->node, &syscore_ops_list); 33 * @ops: System core operations to unregister. 35 void unregister_syscore_ops(struct syscore_ops *ops) argument 38 list_del(&ops->node); 51 struct syscore_ops *ops; local 64 list_for_each_entry_reverse(ops, &syscore_ops_list, node) 65 if (ops->suspend) { 67 pr_info("PM: Calling %pF\n", ops 98 struct syscore_ops *ops; local 122 struct syscore_ops *ops; local [all...] |
/drivers/net/wireless/ath/wil6210/ |
H A D | wil_platform.c | 31 void *wil_platform_init(struct device *dev, struct wil_platform_ops *ops) argument 35 if (!ops) { 41 handle = wil_platform_msm_init(dev, ops);
|
H A D | wil_platform_msm.h | 22 void *wil_platform_msm_init(struct device *dev, struct wil_platform_ops *ops);
|
H A D | wil_platform.h | 32 void *wil_platform_init(struct device *dev, struct wil_platform_ops *ops);
|
/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 47 memcpy(&dev_entry->ops, ops, sizeof(struct abx500_ops)); 67 struct abx500_ops *ops; local 69 lookup_ops(dev->parent, &ops); 80 struct abx500_ops *ops; local 93 struct abx500_ops *ops; local 107 struct abx500_ops *ops; local 120 struct abx500_ops *ops; local 132 struct abx500_ops *ops; local 144 struct abx500_ops *ops; local [all...] |
/drivers/net/wireless/ti/wlcore/ |
H A D | hw_ops.h | 31 if (!wl->ops->calc_tx_blocks) 34 return wl->ops->calc_tx_blocks(wl, len, spare_blks); 41 if (!wl->ops->set_tx_desc_blocks) 44 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); 52 if (!wl->ops->set_tx_desc_data_len) 55 wl->ops->set_tx_desc_data_len(wl, desc, skb); 62 if (!wl->ops->get_rx_buf_align) 65 return wl->ops->get_rx_buf_align(wl, rx_desc); 71 if (wl->ops->prepare_read) 72 return wl->ops [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 | 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 255 struct fbcon_ops *ops = info->fbcon_par; local 420 struct fbcon_ops *ops = info->fbcon_par; local 439 fbcon_rotate_ud(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 kfree(ops->cursor_src); 39 ops->cursor_size = dsize + sizeof(struct fb_image); 41 ops->cursor_src = kmalloc(ops->cursor_size, GFP_ATOMIC); 42 if (!ops->cursor_src) { 43 ops->cursor_size = 0; 48 src = ops->cursor_src + sizeof(struct fb_image); 49 image = (struct fb_image *)ops [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) 225 struct fbcon_ops *ops local 396 struct fbcon_ops *ops = info->fbcon_par; local 411 fbcon_rotate_ccw(struct fbcon_ops *ops) argument [all...] |
H A D | fbcon_cw.c | 51 struct fbcon_ops *ops = info->fbcon_par; local 53 u32 vxres = GETVXRES(ops->p->scrollmode, info); 68 struct fbcon_ops *ops = info->fbcon_par; local 71 u32 vxres = GETVXRES(ops->p->scrollmode, info); 88 struct fbcon_ops *ops = info->fbcon_par; local 94 src = ops->fontbuffer + (scr_readw(s++) & charmask)*cellsize; 119 struct fbcon_ops *ops = info->fbcon_par; local 128 u32 vxres = GETVXRES(ops->p->scrollmode, info); 130 if (!ops->fontbuffer) 208 struct fbcon_ops *ops local 379 struct fbcon_ops *ops = info->fbcon_par; local 394 fbcon_rotate_cw(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 | oobtest.c | 68 struct mtd_oob_ops ops; local 74 ops.mode = MTD_OPS_AUTO_OOB; 75 ops.len = 0; 76 ops.retlen = 0; 77 ops.ooblen = use_len; 78 ops.oobretlen = 0; 79 ops.ooboffs = use_offset; 80 ops.datbuf = NULL; 81 ops.oobbuf = writebuf + (use_len_max * i) + use_offset; 82 err = mtd_write_oob(mtd, addr, &ops); 121 struct mtd_oob_ops ops; local 215 struct mtd_oob_ops ops; local 274 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/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_dcb.h | 40 struct qlcnic_dcb_ops *ops; member in struct:qlcnic_dcb 53 if (dcb && dcb->ops->get_hw_capability) 54 return dcb->ops->get_hw_capability(dcb); 61 if (dcb && dcb->ops->free) 62 dcb->ops->free(dcb); 67 if (dcb && dcb->ops->attach) 68 return dcb->ops->attach(dcb); 76 if (dcb && dcb->ops->query_hw_capability) 77 return dcb->ops->query_hw_capability(dcb, buf); 84 if (dcb && dcb->ops [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-op-mode.h | 98 * 2) The driver layer starts the op_mode (ops->start) 107 * The op_mode exports its ops so that external components can start it and 169 int iwl_opmode_register(const char *name, const struct iwl_op_mode_ops *ops); 174 * @ops: pointer to its own ops 179 const struct iwl_op_mode_ops *ops; member in struct:iwl_op_mode 187 op_mode->ops->stop(op_mode); 194 return op_mode->ops->rx(op_mode, rxb, cmd); 200 op_mode->ops->queue_full(op_mode, queue); 206 op_mode->ops [all...] |
/drivers/rtc/ |
H A D | rtc-m48t86.c | 49 struct m48t86_ops *ops = dev_get_platdata(&pdev->dev); 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 = dev_get_platdata(&pdev->dev); local 126 struct m48t86_ops *ops = dev_get_platdata(&pdev->dev); local 150 struct m48t86_ops *ops = dev_get_platdata(&dev->dev); local [all...] |
H A D | systohc.c | 38 if (rtc->ops && (rtc->ops->set_time || rtc->ops->set_mmss))
|
/drivers/oprofile/ |
H A D | oprof.h | 36 int oprofile_timer_init(struct oprofile_operations *ops); 38 int op_nmi_timer_init(struct oprofile_operations *ops); 40 static inline int op_nmi_timer_init(struct oprofile_operations *ops) argument
|
/drivers/cpufreq/ |
H A D | arm_big_little.h | 37 int bL_cpufreq_register(struct cpufreq_arm_bL_ops *ops); 38 void bL_cpufreq_unregister(struct cpufreq_arm_bL_ops *ops);
|
/drivers/dma-buf/ |
H A D | seqno-fence.c | 27 return seqno_fence->ops->get_driver_name(fence); 33 return seqno_fence->ops->get_timeline_name(fence); 39 return seqno_fence->ops->enable_signaling(fence); 45 return seqno_fence->ops->signaled && seqno_fence->ops->signaled(fence); 53 if (f->ops->release) 54 f->ops->release(fence); 62 return f->ops->wait(fence, intr, timeout);
|
/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/media/v4l2-core/ |
H A D | v4l2-dev.c | 533 #define SET_VALID_IOCTL(ops, cmd, op) \ 534 if (ops->op) \ 553 const struct v4l2_ioctl_ops *ops = vdev->ioctl_ops; local 565 SET_VALID_IOCTL(ops, VIDIOC_QUERYCAP, vidioc_querycap); 566 if (ops->vidioc_g_priority) 568 if (ops->vidioc_s_priority) 574 if (vdev->ctrl_handler || ops->vidioc_queryctrl) 576 if (vdev->ctrl_handler || ops->vidioc_query_ext_ctrl) 578 if (vdev->ctrl_handler || ops->vidioc_g_ctrl || ops [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/video/adf/ |
H A D | adf.h | 46 if (!obj->ops || !obj->ops->supports_event) 48 if (!obj->ops->supports_event(obj, type)) 56 if (!dev->ops->attach) 59 return dev->ops->attach(dev, eng, intf); 65 if (!dev->ops->detach) 68 return dev->ops->detach(dev, eng, intf);
|