/drivers/leds/ |
H A D | leds-lt3593.c | 85 static int __devinit create_lt3593_led(const struct gpio_led *template, argument 91 if (!gpio_is_valid(template->gpio)) { 93 KBUILD_MODNAME, template->gpio, template->name); 97 ret = gpio_request(template->gpio, template->name); 101 led_dat->cdev.name = template->name; 102 led_dat->cdev.default_trigger = template->default_trigger; 103 led_dat->gpio = template->gpio; 107 state = (template [all...] |
H A D | leds-ns2.c | 189 const struct ns2_led *template) 194 ret = gpio_request(template->cmd, template->name); 196 ret = gpio_direction_output(template->cmd, 197 gpio_get_value(template->cmd)); 199 gpio_free(template->cmd); 203 template->name); 206 ret = gpio_request(template->slow, template->name); 208 ret = gpio_direction_output(template 188 create_ns2_led(struct platform_device *pdev, struct ns2_led_data *led_dat, const struct ns2_led *template) argument [all...] |
H A D | leds-gpio.c | 93 static int __devinit create_gpio_led(const struct gpio_led *template, argument 102 if (!gpio_is_valid(template->gpio)) { 104 template->gpio, template->name); 108 ret = gpio_request(template->gpio, template->name); 112 led_dat->cdev.name = template->name; 113 led_dat->cdev.default_trigger = template->default_trigger; 114 led_dat->gpio = template->gpio; 115 led_dat->can_sleep = gpio_cansleep(template [all...] |
H A D | leds-netxbig.c | 307 const struct netxbig_led *template) 314 led_dat->cdev.name = template->name; 315 led_dat->cdev.default_trigger = template->default_trigger; 331 led_dat->mode_addr = template->mode_addr; 332 led_dat->mode_val = template->mode_val; 333 led_dat->bright_addr = template->bright_addr; 305 create_netxbig_led(struct platform_device *pdev, struct netxbig_led_data *led_dat, const struct netxbig_led *template) argument
|
/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-std.c | 294 struct v4l2_standard *template; local 297 template = match_std(id); 298 if (!template) return 0; 300 memcpy(std,template,sizeof(*template));
|
/drivers/media/dvb/dvb-core/ |
H A D | dvbdev.h | 132 const struct dvb_device *template,
|
H A D | dvbdev.c | 192 const struct dvb_device *template, void *priv, int type) 224 memcpy(dvbdev, template, sizeof(struct dvb_device)); 232 memcpy(dvbdevfops, template->fops, sizeof(struct file_operations)); 191 dvb_register_device(struct dvb_adapter *adap, struct dvb_device **pdvbdev, const struct dvb_device *template, void *priv, int type) argument
|
/drivers/mmc/host/ |
H A D | davinci_mmc.c | 444 /* Set up tx or rx template, to be modified and updated later */ 446 bool tx, struct edmacc_param *template) 502 edma_read_slot(sync_dev, template); 505 template->opt |= EDMA_CHAN_SLOT(sync_dev) << 12; 511 struct edmacc_param *template; local 520 template = &host->tx_template; 523 template = &host->rx_template; 539 template->link_bcntrld = sg_len 548 template->src = buf; 550 template 445 mmc_davinci_dma_setup(struct mmc_davinci_host *host, bool tx, struct edmacc_param *template) argument [all...] |
/drivers/net/wireless/wl1251/ |
H A D | main.c | 570 struct ieee80211_qos_hdr template; local 572 memset(&template, 0, sizeof(template)); 574 memcpy(template.addr1, wl->bssid, ETH_ALEN); 575 memcpy(template.addr2, wl->mac_addr, ETH_ALEN); 576 memcpy(template.addr3, wl->bssid, ETH_ALEN); 578 template.frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | 583 template.qos_ctrl = cpu_to_le16(0); 585 return wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, &template, 586 sizeof(template)); [all...] |
/drivers/staging/speakup/ |
H A D | i18n.c | 506 static int fmt_validate(char *template, char *user) argument 510 char *template_ptr = template;
|
/drivers/net/wireless/wl12xx/ |
H A D | cmd.c | 1226 wl1271_error("Unable to set ap probe request template."); 1245 wl1271_error("failed to allocate buffer for arp rsp template"); 1326 struct ieee80211_qos_hdr template; local 1328 memset(&template, 0, sizeof(template)); 1330 memcpy(template.addr1, vif->bss_conf.bssid, ETH_ALEN); 1331 memcpy(template.addr2, vif->addr, ETH_ALEN); 1332 memcpy(template.addr3, vif->bss_conf.bssid, ETH_ALEN); 1334 template.frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | 1339 template [all...] |
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | ampdu.c | 1155 char template[T_RAM_ACCESS_SZ * 2]; local 1157 /* driver needs to write the ta in the template; ta is at offset 16 */ 1158 memset(template, 0, sizeof(template)); 1159 memcpy(template, wlc->pub->cur_etheraddr, ETH_ALEN); 1162 template);
|
/drivers/crypto/caam/ |
H A D | caamalg.c | 2232 /* copy descriptor header template value */ 2300 *template) 2313 snprintf(alg->cra_name, CRYPTO_MAX_ALG_NAME, "%s", template->name); 2315 template->driver_name); 2320 alg->cra_blocksize = template->blocksize; 2324 template->type; 2325 switch (template->type) { 2328 alg->cra_ablkcipher = template->template_ablkcipher; 2332 alg->cra_aead = template->template_aead; 2336 t_alg->class1_alg_type = template 2298 caam_alg_alloc(struct device *ctrldev, struct caam_alg_template *template) argument [all...] |
/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ctx.c | 111 "Can't get template size %d\n", cmd.rsp.cmd); 130 "template. Invalid template size.\n"); 137 dev_err(&adapter->pdev->dev, "Unable to allocate dmable memory for template.\n"); 153 dev_err(&adapter->pdev->dev, "Failed to get minidump template, " 180 u32 *template, *tmp_buf; local 197 dev_err(&adapter->pdev->dev, "Error : Invalid template size " 206 "for minidump template.\n"); 218 dev_err(&adapter->pdev->dev, "Minidump template checksum Error\n"); 225 template [all...] |
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ctx.c | 95 u32 version, csum, *template, *tmp_buf; local 108 "Can't get template size %d\n", cmd.rsp.cmd); 121 "Can't get memory for FW dump template\n"); 134 "Failed to get mini dump template header %d\n", err); 152 template = (u32 *) ahw->fw_dump.tmpl_hdr; 154 *template++ = __le32_to_cpu(*tmp_buf++);
|
/drivers/media/video/cx25821/ |
H A D | cx25821.h | 615 struct video_device *template,
|
/drivers/media/video/saa7134/ |
H A D | saa7134-core.c | 794 struct video_device *template, 802 *vfd = *template; 793 vdev_init(struct saa7134_dev *dev, struct video_device *template, char *type) argument
|
/drivers/media/video/saa7164/ |
H A D | saa7164-encoder.c | 1365 struct video_device *template, 1377 *vfd = *template; 1362 saa7164_encoder_alloc( struct saa7164_port *port, struct pci_dev *pci, struct video_device *template, char *type) argument
|
H A D | saa7164-vbi.c | 1281 struct video_device *template, 1293 *vfd = *template; 1278 saa7164_vbi_alloc( struct saa7164_port *port, struct pci_dev *pci, struct video_device *template, char *type) argument
|
/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.c | 1223 ahd_linux_register_host(struct ahd_softc *ahd, struct scsi_host_template *template) argument 1231 template->name = ahd->description; 1232 host = scsi_host_alloc(template, sizeof(struct ahd_softc *));
|
H A D | aic7xxx_osm.c | 1097 ahc_linux_register_host(struct ahc_softc *ahc, struct scsi_host_template *template) argument 1105 template->name = ahc->description; 1106 host = scsi_host_alloc(template, sizeof(struct ahc_softc *));
|
/drivers/media/video/cx231xx/ |
H A D | cx231xx-417.c | 2134 struct video_device *template, 2143 *vfd = *template; 2131 cx231xx_video_dev_alloc( struct cx231xx *dev, struct usb_device *usbdev, struct video_device *template, char *type) argument
|
/drivers/media/video/cx23885/ |
H A D | cx23885-417.c | 1724 struct video_device *template, 1735 *vfd = *template; 1721 cx23885_video_dev_alloc( struct cx23885_tsport *tsport, struct pci_dev *pci, struct video_device *template, char *type) argument
|
H A D | cx23885-video.c | 335 struct video_device *template, 344 *vfd = *template; 1812 /* Initialize VBI template */ 333 cx23885_vdev_init(struct cx23885_dev *dev, struct pci_dev *pci, struct video_device *template, char *type) argument
|
/drivers/media/video/tm6000/ |
H A D | tm6000-video.c | 1722 *template, const char *type_name) 1730 *vfd = *template; 1720 vdev_init(struct tm6000_core *dev, const struct video_device *template, const char *type_name) argument
|