/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
|
H A D | timer_int.c | 110 int oprofile_timer_init(struct oprofile_operations *ops) argument 112 ops->create_files = NULL; 113 ops->setup = oprofile_hrtimer_setup; 114 ops->shutdown = oprofile_hrtimer_shutdown; 115 ops->start = oprofile_hrtimer_start; 116 ops->stop = oprofile_hrtimer_stop; 117 ops->cpu_type = "timer";
|
/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); 62 * Also connect the allocator specific data and ops to the buffer. 65 * @ops: [in] Attach allocator-defined dma buf ops to the new buffer. 71 * ops, or error in allocating struct dma_buf, will return negative error. 74 struct dma_buf *dma_buf_export(void *priv, struct dma_buf_ops *ops, argument 80 if (WARN_ON(!priv || !ops 81 || !ops->map_dma_buf 82 || !ops->unmap_dma_buf 83 || !ops [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/gpu/ion/ |
H A D | ion_system_mapper.c | 91 static struct ion_mapper_ops ops = { variable in typeref:struct:ion_mapper_ops 105 mapper->ops = &ops;
|
/drivers/mtd/nand/ |
H A D | sm_common.c | 42 struct mtd_oob_ops ops; local 51 ops.mode = MTD_OPS_PLACE_OOB; 52 ops.ooboffs = 0; 53 ops.ooblen = mtd->oobsize; 54 ops.oobbuf = (void *)&oob; 55 ops.datbuf = NULL; 58 ret = mtd_write_oob(mtd, ofs, &ops); 59 if (ret < 0 || ops.oobretlen != SM_OOB_SIZE) {
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00soc.c | 60 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); 64 rt2x00dev->rf = kzalloc(rt2x00dev->ops->rf_size, GFP_KERNEL); 77 int rt2x00soc_probe(struct platform_device *pdev, const struct rt2x00_ops *ops) argument 83 hw = ieee80211_alloc_hw(sizeof(struct rt2x00_dev), ops->hw); 93 rt2x00dev->ops = ops;
|
/drivers/staging/rtl8192u/ieee80211/ |
H A D | compress.c | 48 struct compress_tfm *ops = &tfm->crt_compress; local 54 ops->cot_compress = crypto_compress; 55 ops->cot_decompress = crypto_decompress;
|
H A D | ieee80211_crypt.h | 73 struct ieee80211_crypto_ops *ops; member in struct:ieee80211_crypt_data 78 int ieee80211_register_crypto_ops(struct ieee80211_crypto_ops *ops); 79 int ieee80211_unregister_crypto_ops(struct ieee80211_crypto_ops *ops);
|
/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...] |
/drivers/char/hw_random/ |
H A D | octeon-rng.c | 24 struct hwrng ops; member in struct:octeon_rng 32 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); 44 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); 53 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); 65 struct hwrng ops = { local 97 rng->ops = ops; 99 dev_set_drvdata(&pdev->dev, &rng->ops); 100 ret = hwrng_register(&rng->ops);
|
/drivers/hwspinlock/ |
H A D | hwspinlock_internal.h | 57 * @ops: platform-specific hwspinlock handlers 64 const struct hwspinlock_ops *ops; member in struct:hwspinlock_device
|
H A D | hwspinlock_core.c | 120 ret = hwlock->bank->ops->trylock(hwlock); 202 if (hwlock->bank->ops->relax) 203 hwlock->bank->ops->relax(hwlock); 248 hwlock->bank->ops->unlock(hwlock); 314 * @ops: hwspinlock handlers for this device 326 const struct hwspinlock_ops *ops, int base_id, int num_locks) 331 if (!bank || !ops || !dev || !num_locks || !ops->trylock || 332 !ops->unlock) { 338 bank->ops 325 hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev, const struct hwspinlock_ops *ops, int base_id, int num_locks) argument [all...] |
/drivers/rtc/ |
H A D | rtc-proc.c | 26 const struct rtc_class_ops *ops = rtc->ops; local 84 if (ops->proc) 85 ops->proc(rtc->dev.parent, seq);
|
/drivers/staging/rtl8187se/ieee80211/ |
H A D | ieee80211_crypt.h | 73 struct ieee80211_crypto_ops *ops; member in struct:ieee80211_crypt_data 78 int ieee80211_register_crypto_ops(struct ieee80211_crypto_ops *ops); 79 int ieee80211_unregister_crypto_ops(struct ieee80211_crypto_ops *ops);
|
/drivers/staging/rtl8192u/ |
H A D | ieee80211_crypt.h | 73 struct ieee80211_crypto_ops *ops; member in struct:ieee80211_crypt_data 78 int ieee80211_register_crypto_ops(struct ieee80211_crypto_ops *ops); 79 int ieee80211_unregister_crypto_ops(struct ieee80211_crypto_ops *ops);
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_backlight.c | 182 const struct backlight_ops *ops; local 197 ops = &nv50_bl_ops; 199 ops = &nva3_bl_ops; 205 nv_encoder, ops, &props); 210 bd->props.brightness = bd->ops->get_brightness(bd);
|
/drivers/media/dvb/dvb-usb/ |
H A D | dibusb.h | 100 struct dib_fe_xfer_ops ops; member in struct:dibusb_state
|
/drivers/media/video/ |
H A D | v4l2-subdev.c | 327 void v4l2_subdev_init(struct v4l2_subdev *sd, const struct v4l2_subdev_ops *ops) argument 330 BUG_ON(!ops); 331 sd->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 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/mmc/host/ |
H A D | sdhci-pltfm.h | 19 struct sdhci_ops *ops; member in struct:sdhci_pltfm_data
|
/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_hw.c | 499 struct ath_hw_ops *ops = ath9k_hw_ops(ah); local 504 ops->config_pci_powersave = ar9002_hw_configpcipowersave;
|
H A D | ar9003_hw.c | 858 struct ath_hw_ops *ops = ath9k_hw_ops(ah); local 863 ops->config_pci_powersave = ar9003_hw_configpcipowersave;
|