/drivers/base/ |
H A D | module.c | 33 void module_add_driver(struct module *mod, struct device_driver *drv) argument 42 if (mod) 43 mk = &mod->mkobj;
|
H A D | base.h | 128 extern void module_add_driver(struct module *mod, struct device_driver *drv); 131 static inline void module_add_driver(struct module *mod, argument
|
/drivers/staging/iio/Documentation/ |
H A D | iio_event_monitor.c | 75 enum iio_modifier mod = IIO_EVENT_CODE_EXTRACT_MODIFIER(event->id); local 100 switch (mod) { 138 enum iio_modifier mod = IIO_EVENT_CODE_EXTRACT_MODIFIER(event->id); local 153 if (mod != IIO_NO_MOD) { 156 iio_modifier_names[mod]);
|
/drivers/base/power/ |
H A D | trace.c | 133 static unsigned int hash_string(unsigned int seed, const char *data, unsigned int mod) argument 139 return seed % mod;
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_grctx.h | 77 _cp_bra(struct nouveau_grctx *ctx, u32 mod, int flag, int state, int name) argument 81 if (mod != 2) { 87 cp_out(ctx, CP_BRA | (mod << 18) | ip | flag |
|
/drivers/s390/cio/ |
H A D | orb.h | 22 u32 mod:1; /* modification control */ member in struct:cmd_orb
|
/drivers/usb/renesas_usbhs/ |
H A D | mod.c | 20 #include "./mod.h" 75 void usbhs_mod_register(struct usbhs_priv *priv, struct usbhs_mod *mod, int id) argument 79 info->mod[id] = mod; 80 mod->priv = priv; 91 ret = info->mod[id]; 100 struct usbhs_mod *mod = usbhs_mod_get_current(priv); local 103 if (!mod) 106 return info->mod[USBHS_HOST] == mod; 119 struct usbhs_mod *mod = NULL; local 215 struct usbhs_mod *mod = usbhs_mod_get_current(priv); local 299 usbhs_irq_callback_update(struct usbhs_priv *priv, struct usbhs_mod *mod) argument [all...] |
H A D | mod.h | 90 struct usbhs_mod *mod[USBHS_MAX]; member in struct:usbhs_mod_info 91 struct usbhs_mod *curt; /* current mod */ 129 void usbhs_irq_callback_update(struct usbhs_priv *priv, struct usbhs_mod *mod); 134 struct usbhs_mod *mod; \ 135 mod = usbhs_mod_get_current(priv); \ 136 !mod ? -ENODEV : \ 137 !mod->func ? 0 : \ 138 mod->func(param); \
|
H A D | common.c | 29 * mod.c 329 struct usbhs_mod *mod = usbhs_mod_get_current(priv); local 344 if (enable && !mod) { 362 } else if (!enable && mod) { 588 struct usbhs_mod *mod = usbhs_mod_get_current(priv); local 590 if (mod) { 595 if (mod || !usbhsc_flags_has(priv, USBHSF_RUNTIME_PWCTRL))
|
H A D | fifo.c | 200 struct usbhs_mod *mod = usbhs_mod_get_current(priv); \ 202 if (!mod) \ 205 mod->irq_##status |= status; \ 207 mod->irq_##status &= ~status; \ 208 usbhs_irq_callback_update(priv, mod); \ 1120 struct usbhs_mod *mod = usbhs_mod_get_current(priv); local 1125 mod->irq_empty = usbhsf_irq_empty; 1126 mod->irq_ready = usbhsf_irq_ready; 1127 mod->irq_bempsts = 0; 1128 mod 1148 struct usbhs_mod *mod = usbhs_mod_get_current(priv); local [all...] |
H A D | mod_gadget.c | 47 struct usbhs_mod mod; member in struct:usbhsg_gpriv 76 struct usbhsg_gpriv, mod) 96 #define usbhsg_gpriv_to_dev(gp) usbhs_priv_to_dev((gp)->mod.priv) 97 #define usbhsg_gpriv_to_priv(gp) ((gp)->mod.priv) 730 struct usbhs_mod *mod = usbhs_mod_get_current(priv); local 778 mod->irq_dev_state = usbhsg_irq_dev_state; 779 mod->irq_ctrl_stage = usbhsg_irq_ctrl_stage; 780 usbhs_irq_callback_update(priv, mod); 788 struct usbhs_mod *mod = usbhs_mod_get_current(priv); local 814 mod [all...] |
/drivers/gpio/ |
H A D | gpio-janz-ttl.c | 62 struct ttl_module *mod = dev_get_drvdata(gpio->dev); local 67 shadow = &mod->porta_shadow; 69 shadow = &mod->portb_shadow; 72 shadow = &mod->portc_shadow; 76 spin_lock(&mod->lock); 78 spin_unlock(&mod->lock); 84 struct ttl_module *mod = dev_get_drvdata(gpio->dev); local 89 port = &mod->regs->porta; 90 shadow = &mod->porta_shadow; 92 port = &mod 111 ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val) argument 117 ttl_setup_device(struct ttl_module *mod) argument 147 struct ttl_module *mod; local 216 struct ttl_module *mod = platform_get_drvdata(pdev); local [all...] |
/drivers/macintosh/ |
H A D | windfarm_core.c | 273 struct module *mod = ct->ops->owner; local 275 module_put(mod); 386 struct module *mod = sr->ops->owner; local 388 module_put(mod);
|
/drivers/media/radio/wl128x/ |
H A D | fmdrv_v4l2.c | 408 struct v4l2_modulator *mod) 412 if (mod->index != 0) 418 mod->txsubchans = ((fmdev->tx_data.aud_mode == FM_STEREO_MODE) ? 423 mod->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS | 431 struct v4l2_modulator *mod) 438 if (mod->index != 0) 449 aud_mode = (mod->txsubchans & V4L2_TUNER_SUB_STEREO) ? 451 rds_mode = (mod->txsubchans & V4L2_TUNER_SUB_RDS) ? 407 fm_v4l2_vidioc_g_modulator(struct file *file, void *priv, struct v4l2_modulator *mod) argument 430 fm_v4l2_vidioc_s_modulator(struct file *file, void *priv, struct v4l2_modulator *mod) argument
|
/drivers/mtd/ubi/ |
H A D | kapi.c | 297 int error, ubi_num, vol_id, mod; local 311 mod = inode->i_mode; 316 if (!S_ISCHR(mod))
|
/drivers/s390/crypto/ |
H A D | zcrypt_cex2a.c | 98 unsigned char *mod, *exp, *inp; local 110 mod = meb1->modulus + sizeof(meb1->modulus) - mod_len; 120 mod = meb2->modulus + sizeof(meb2->modulus) - mod_len; 131 mod = meb3->modulus + sizeof(meb3->modulus) - mod_len; 136 if (copy_from_user(mod, mex->n_modulus, mod_len) ||
|
/drivers/mtd/ |
H A D | mtdoops.c | 159 int i = 0, j, ret, mod; local 165 mod = (cxt->nextpage * record_size) % mtd->erasesize; 166 if (mod != 0) { 167 cxt->nextpage = cxt->nextpage + ((mtd->erasesize - mod) / record_size);
|
/drivers/staging/rts5139/ |
H A D | rts51x_card.c | 735 u8 mod; local 738 mod = SD_MOD_SEL; 740 mod = MS_MOD_SEL; 742 mod = XD_MOD_SEL; 745 RTS51X_WRITE_REG(chip, CARD_SELECT, 0x07, mod);
|
/drivers/video/console/ |
H A D | bitblit.c | 116 u32 shift_low = 0, mod = vc->vc_font.width % 8; local 132 shift_low, mod); 133 shift_low += mod; 153 u32 mod = vc->vc_font.width % 8, cnt, pitch, size; local 184 if (!mod)
|
H A D | fbcon_ccw.c | 30 int mod = vc->vc_font.height % 8; local 33 if (mod) 34 msk <<= (8 - mod); 36 if (offset > mod)
|
H A D | fbcon_ud.c | 125 u32 shift_low = 0, mod = vc->vc_font.width % 8; local 140 shift_low, mod); 141 shift_low += mod; 162 u32 mod = vc->vc_font.width % 8, cnt, pitch, size; local 200 if (!mod)
|
/drivers/staging/rts_pstor/ |
H A D | rtsx_card.c | 1104 u8 mod; local 1107 mod = SD_MOD_SEL; 1109 mod = MS_MOD_SEL; 1111 mod = XD_MOD_SEL; 1113 mod = SPI_MOD_SEL; 1117 RTSX_WRITE_REG(chip, CARD_SELECT, 0x07, mod);
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 875 uint64_t mod; local 879 mod = do_div(n, d);
|
/drivers/hid/ |
H A D | hid-roccat-kone.h | 91 uint8_t mod; /* 1 = on, 2 = off */ member in struct:kone_light_info
|
/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 74 struct bfa_fcs_mod_s *mod; local 84 mod = &fcs_modules[i]; 85 if (mod->attach) 86 mod->attach(fcs); 97 struct bfa_fcs_mod_s *mod; local 100 mod = &fcs_modules[i]; 101 if (mod->modinit) 102 mod->modinit(fcs); 168 struct bfa_fcs_mod_s *mod; local 177 mod [all...] |