Home
last modified time | relevance | path

Searched refs:private (Results 1 – 25 of 211) sorted by relevance

123456789

/linux-2.4.37.9/drivers/sbus/audio/
Ddmy.c44 struct dummy_chip *dummy_chip = (struct dummy_chip *) drv->private; in dummy_set_output_encoding()
56 struct dummy_chip *dummy_chip = (struct dummy_chip *) drv->private; in dummy_set_input_encoding()
67 struct dummy_chip *dummy_chip = (struct dummy_chip *) drv->private; in dummy_get_output_encoding()
74 struct dummy_chip *dummy_chip = (struct dummy_chip *) drv->private; in dummy_get_input_encoding()
82 struct dummy_chip *dummy_chip = (struct dummy_chip *) drv->private; in dummy_set_output_rate()
94 struct dummy_chip *dummy_chip = (struct dummy_chip *) drv->private; in dummy_set_input_rate()
105 struct dummy_chip *dummy_chip = (struct dummy_chip *) drv->private; in dummy_get_output_rate()
112 struct dummy_chip *dummy_chip = (struct dummy_chip *) drv->private; in dummy_get_input_rate()
121 struct dummy_chip *dummy_chip = (struct dummy_chip *) drv->private; in dummy_set_output_channels()
139 struct dummy_chip *dummy_chip = (struct dummy_chip *) drv->private; in dummy_set_input_channels()
[all …]
Dcs4231.c102 struct cs4231_chip *cs4231_chip = (struct cs4231_chip *) drv->private; in cs4231_enable_interrupts()
119 struct cs4231_chip *cs4231_chip = (struct cs4231_chip *) drv->private; in cs4231_disable_interrupts()
135 struct cs4231_chip *cs4231_chip = (struct cs4231_chip *) drv->private; in cs4231_enable_play()
148 struct cs4231_chip *cs4231_chip = (struct cs4231_chip *) drv->private; in cs4231_disable_play()
161 struct cs4231_chip *cs4231_chip = (struct cs4231_chip *) drv->private; in cs4231_enable_rec()
174 struct cs4231_chip *cs4231_chip = (struct cs4231_chip *) drv->private; in cs4231_disable_rec()
274 struct cs4231_chip *cs4231_chip = (struct cs4231_chip *) drv->private; in cs4231_set_output_encoding()
299 struct cs4231_chip *cs4231_chip = (struct cs4231_chip *) drv->private; in cs4231_get_output_encoding()
305 struct cs4231_chip *cs4231_chip = (struct cs4231_chip *) drv->private; in cs4231_set_input_encoding()
331 struct cs4231_chip *cs4231_chip = (struct cs4231_chip *) drv->private; in cs4231_get_input_encoding()
[all …]
Damd7930.c312 struct amd7930_info *info = (struct amd7930_info *) drv->private; in amd7930_write_map()
343 struct amd7930_info *info = (struct amd7930_info *) drv->private; in amd7930_update_map()
569 struct amd7930_info *info = (struct amd7930_info *) drv->private; in amd7930_interrupt()
605 struct amd7930_info *info = (struct amd7930_info *) drv->private; in amd7930_open()
679 struct amd7930_info *info = (struct amd7930_info *) drv->private; in amd7930_start_output()
696 struct amd7930_info *info = (struct amd7930_info *) drv->private; in amd7930_stop_output()
709 struct amd7930_info *info = (struct amd7930_info *) drv->private; in amd7930_start_input()
725 struct amd7930_info *info = (struct amd7930_info *) drv->private; in amd7930_stop_input()
766 struct amd7930_info *info = (struct amd7930_info *) drv->private; in amd7930_set_output_volume()
775 struct amd7930_info *info = (struct amd7930_info *) drv->private; in amd7930_get_output_volume()
[all …]
Ddbri.c1461 struct dbri *dbri = (struct dbri *) drv->private; in mmcodec_init()
1543 struct dbri *dbri = (struct dbri *) drv->private; in dbri_start_output()
1576 struct dbri *dbri = (struct dbri *) drv->private; in dbri_stop_output()
1596 struct dbri *dbri = (struct dbri *) drv->private; in dbri_start_input()
1607 struct dbri *dbri = (struct dbri *) drv->private; in dbri_stop_input()
1616 struct dbri *dbri = (struct dbri *) drv->private; in dbri_set_output_volume()
1626 struct dbri *dbri = (struct dbri *) drv->private; in dbri_get_output_volume()
1653 struct dbri *dbri = (struct dbri *) drv->private; in dbri_set_output_balance()
1663 struct dbri *dbri = (struct dbri *) drv->private; in dbri_get_output_balance()
1680 struct dbri *dbri = (struct dbri *) drv->private; in dbri_set_output_muted()
[all …]
/linux-2.4.37.9/drivers/s390/block/
Ddasd_eckd.c210 dasd_eckd_private_t *private = (dasd_eckd_private_t *) device->private; in check_XRC() local
213 if (private->rdc_data.facilities.XRC_supported) { in check_XRC()
236 dasd_eckd_private_t *private = (dasd_eckd_private_t *) device->private; in define_extent() local
238 geo.cyl = private->rdc_data.no_cyl; in define_extent()
239 geo.head = private->rdc_data.trk_per_cyl; in define_extent()
265 data->attributes.operation = private->attrib.operation; in define_extent()
272 data->attributes.operation = private->attrib.operation; in define_extent()
308 if (private->rdc_data.cu_type == 0x2105 in define_extent()
309 && !(private->uses_cdl && trk < 2) ) { in define_extent()
318 if (end.cyl + private->attrib.nr_cyl < geo.cyl) { in define_extent()
[all …]
Ddasd_diag.c94 dasd_diag_private_t *private = (dasd_diag_private_t *) device->private; in mdsk_init_io() local
95 diag_init_io_t *iib = &private->iib; in mdsk_init_io()
114 dasd_diag_private_t *private = (dasd_diag_private_t *) device->private; in mdsk_term_io() local
115 diag_init_io_t *iib = &private->iib; in mdsk_term_io()
129 dasd_diag_private_t *private; in dasd_start_diag() local
132 private = (dasd_diag_private_t *) device->private; in dasd_start_diag()
133 iob = &private->iob; in dasd_start_diag()
269 dasd_diag_private_t *private; in dasd_diag_check_characteristics() local
285 device->private = kmalloc (sizeof (dasd_diag_private_t), GFP_KERNEL); in dasd_diag_check_characteristics()
287 if (device->private == NULL) { in dasd_diag_check_characteristics()
[all …]
Ddasd_fba.c132 dasd_fba_private_t *private; in dasd_fba_check_characteristics() local
142 device->private = kmalloc (sizeof (dasd_fba_private_t), GFP_KERNEL); in dasd_fba_check_characteristics()
144 if (device->private == NULL) { in dasd_fba_check_characteristics()
152 private = (dasd_fba_private_t *) device->private; in dasd_fba_check_characteristics()
153 rdc_data = (void *) &(private->rdc_data); in dasd_fba_check_characteristics()
171 ((private->rdc_data.blk_bdsa * in dasd_fba_check_characteristics()
172 (private->rdc_data.blk_size >> 9)) >> 11), in dasd_fba_check_characteristics()
173 private->rdc_data.blk_size); in dasd_fba_check_characteristics()
178 kfree(device->private); in dasd_fba_check_characteristics()
179 device->private = NULL; in dasd_fba_check_characteristics()
[all …]
/linux-2.4.37.9/drivers/mtd/chips/
Damd_flash.c166 const struct amd_flash_private *private = map->fldrv_priv; in make_cmd() local
167 if ((private->interleave == 2) && in make_cmd()
168 (private->device_type == DEVICE_TYPE_X16)) { in make_cmd()
311 struct amd_flash_private *private, in probe_new_chip() argument
349 for (j = 0; j < private->numchips; j++) { in probe_new_chip()
377 if (private->numchips == MAX_AMD_CHIPS) { in probe_new_chip()
387 chips[private->numchips].start = base; in probe_new_chip()
388 chips[private->numchips].state = FL_READY; in probe_new_chip()
389 chips[private->numchips].mutex = in probe_new_chip()
390 &chips[private->numchips]._spinlock; in probe_new_chip()
[all …]
/linux-2.4.37.9/drivers/ide/raid/
Dataraid.c151 struct ataraid_bh_private *private = bh->b_private; in ataraid_end_request() local
153 if (private==NULL) in ataraid_end_request()
156 if (atomic_dec_and_test(&private->count)) { in ataraid_end_request()
157 private->parent->b_end_io(private->parent,uptodate); in ataraid_end_request()
158 private->parent = NULL; in ataraid_end_request()
159 kfree(private); in ataraid_end_request()
169 struct ataraid_bh_private *private; in ataraid_split_request() local
176 private = ataraid_get_private(); in ataraid_split_request()
177 if (private==NULL) in ataraid_split_request()
189 private->parent = bh; in ataraid_split_request()
[all …]
/linux-2.4.37.9/drivers/net/pcmcia/
Dxircom_cb.c181 struct xircom_private *private = dev->priv; in netdev_get_drvinfo() local
184 strcpy(info->bus_info, pci_name(private->pdev)); in netdev_get_drvinfo()
201 struct xircom_private *private; in xircom_probe() local
238 private = dev->priv; in xircom_probe()
241 private->rx_buffer = pci_alloc_consistent(pdev,8192,&private->rx_dma_handle); in xircom_probe()
242 if (private->rx_buffer == NULL) { in xircom_probe()
246 private->tx_buffer = pci_alloc_consistent(pdev,8192,&private->tx_dma_handle); in xircom_probe()
247 if (private->tx_buffer == NULL) { in xircom_probe()
255 private->dev = dev; in xircom_probe()
256 private->pdev = pdev; in xircom_probe()
[all …]
/linux-2.4.37.9/net/ipv4/netfilter/
Darp_tables.c262 table_base = (void *)table->private->entries in arpt_do_table()
263 + TABLE_OFFSET(table->private, in arpt_do_table()
265 e = get_entry(table_base, table->private->hook_entry[hook]); in arpt_do_table()
266 back = get_entry(table_base, table->private->underflow[hook]); in arpt_do_table()
729 if (num_counters != table->private->number) { in replace_table()
731 num_counters, table->private->number); in replace_table()
736 oldinfo = table->private; in replace_table()
737 table->private = newinfo; in replace_table()
784 countersize = sizeof(struct arpt_counters) * table->private->number; in copy_entries_to_user()
793 get_counters(table->private, counters); in copy_entries_to_user()
[all …]
Dip_tables.c289 table_base = (void *)table->private->entries in ipt_do_table()
290 + TABLE_OFFSET(table->private, in ipt_do_table()
292 e = get_entry(table_base, table->private->hook_entry[hook]); in ipt_do_table()
308 back = get_entry(table_base, table->private->underflow[hook]); in ipt_do_table()
902 if (num_counters != table->private->number) { in replace_table()
904 num_counters, table->private->number); in replace_table()
909 oldinfo = table->private; in replace_table()
910 table->private = newinfo; in replace_table()
959 countersize = sizeof(struct ipt_counters) * table->private->number; in copy_entries_to_user()
968 get_counters(table->private, counters); in copy_entries_to_user()
[all …]
/linux-2.4.37.9/drivers/usb/serial/
Ddigi_acceleport.c599 struct digi_port *priv = (struct digi_port *)(port->private); in digi_wakeup_write_lock()
638 …t *oob_port = (struct usb_serial_port *)((struct digi_serial *)port->serial->private)->ds_oob_port; in digi_write_oob_command()
639 struct digi_port *oob_priv = (struct digi_port *)oob_port->private; in digi_write_oob_command()
707 struct digi_port *priv = (struct digi_port *)(port->private); in digi_write_inb_command()
793 struct digi_port *port_priv = (struct digi_port *)port->private; in digi_set_modem_signals()
794 …t *oob_port = (struct usb_serial_port *)((struct digi_serial *)port->serial->private)->ds_oob_port; in digi_set_modem_signals()
795 struct digi_port *oob_priv = (struct digi_port *)oob_port->private; in digi_set_modem_signals()
872 struct digi_port *priv = (struct digi_port *)(port->private); in digi_transmit_idle()
912 struct digi_port *priv = (struct digi_port *)(port->private); in digi_rx_throttle()
933 struct digi_port *priv = (struct digi_port *)(port->private); in digi_rx_unthrottle()
[all …]
Dkeyspan.c246 p_priv = (struct keyspan_port_private *)port->private; in keyspan_break_ctl()
267 p_priv = (struct keyspan_port_private *)(port->private); in keyspan_set_termios()
296 p_priv = (struct keyspan_port_private *)(port->private); in keyspan_ioctl()
347 p_priv = (struct keyspan_port_private *)(port->private); in keyspan_write()
482 p_priv = (struct keyspan_port_private *)(port->private); in usa2x_outdat_callback()
503 p_priv = (struct keyspan_port_private *)(port->private); in usa26_outcont_callback()
548 p_priv = (struct keyspan_port_private *)(port->private); in usa26_instat_callback()
592 p_priv = (struct keyspan_port_private *)(port->private); in usa28_indat_callback()
606 p_priv = (struct keyspan_port_private *)(port->private); in usa28_indat_callback()
640 p_priv = (struct keyspan_port_private *)(port->private); in usa28_outcont_callback()
[all …]
Dusb-serial.h121 void * private; member
126 return port->private; in usb_get_serial_port_data()
131 port->private = data; in usb_set_serial_port_data()
165 void * private; member
175 return serial->private; in usb_get_serial_data()
180 serial->private = data; in usb_set_serial_data()
Dcyberjack.c109 serial->port->private = kmalloc(sizeof(struct cyberjack_private), GFP_KERNEL); in cyberjack_startup()
110 if (!serial->port->private) in cyberjack_startup()
114 priv = (struct cyberjack_private *)serial->port->private; in cyberjack_startup()
132 if (serial->port[i].private) in cyberjack_shutdown()
133 kfree(serial->port[i].private); in cyberjack_shutdown()
153 priv = (struct cyberjack_private *)port->private; in cyberjack_open()
187 struct cyberjack_private *priv = (struct cyberjack_private *)port->private; in cyberjack_write()
275 struct cyberjack_private *priv = (struct cyberjack_private *)port->private; in cyberjack_read_int_callback()
329 struct cyberjack_private *priv = (struct cyberjack_private *)port->private; in cyberjack_read_bulk_callback()
384 struct cyberjack_private *priv = (struct cyberjack_private *)port->private; in cyberjack_write_bulk_callback()
Dkl5kusb105.c261 serial->port[i].private = kmalloc(sizeof(struct klsi_105_private), in klsi_105_startup()
263 if (!serial->port[i].private) { in klsi_105_startup()
267 priv = (struct klsi_105_private *)serial->port[i].private; in klsi_105_startup()
316 (struct klsi_105_private*) serial->port[i].private; in klsi_105_shutdown()
343 kfree(serial->port[i].private); in klsi_105_shutdown()
351 struct klsi_105_private *priv = (struct klsi_105_private *)port->private; in klsi_105_open()
434 = (struct klsi_105_private *)port->private; in klsi_105_close()
479 (struct klsi_105_private*) port->private; in klsi_105_write()
591 (struct klsi_105_private*) port->private; in klsi_105_chars_in_buffer()
613 (struct klsi_105_private*) port->private; in klsi_105_write_room()
[all …]
Dbelkin_sa.c166 serial->port->private = kmalloc(sizeof(struct belkin_sa_private), GFP_KERNEL); in belkin_sa_startup()
167 if (!serial->port->private) in belkin_sa_startup()
169 priv = (struct belkin_sa_private *)serial->port->private; in belkin_sa_startup()
193 if (serial->port[i].private) in belkin_sa_shutdown()
194 kfree(serial->port[i].private); in belkin_sa_shutdown()
269 priv = (struct belkin_sa_private *)port->private; in belkin_sa_read_int_callback()
324 struct belkin_sa_private *priv = (struct belkin_sa_private *)port->private; in belkin_sa_set_termios()
465 struct belkin_sa_private *priv = (struct belkin_sa_private *)port->private; in belkin_sa_ioctl()
/linux-2.4.37.9/drivers/pcmcia/
Dricoh.h124 #define rl_misc(socket) ((socket)->private[0])
125 #define rl_ctl(socket) ((socket)->private[1])
126 #define rl_io(socket) ((socket)->private[2])
127 #define rl_mem(socket) ((socket)->private[3])
128 #define rl_config(socket) ((socket)->private[4])
/linux-2.4.37.9/drivers/char/joystick/
Dinteract.c129 static void interact_timer(unsigned long private) in interact_timer() argument
131 struct interact *interact = (struct interact *) private; in interact_timer()
186 struct interact *interact = dev->private; in interact_open()
198 struct interact *interact = dev->private; in interact_close()
217 gameport->private = interact; in interact_connect()
246 interact->dev.private = interact; in interact_connect()
283 struct interact *interact = gameport->private; in interact_disconnect()
Dcobra.c113 static void cobra_timer(unsigned long private) in cobra_timer() argument
115 struct cobra *cobra = (void *) private; in cobra_timer()
143 struct cobra *cobra = dev->private; in cobra_open()
151 struct cobra *cobra = dev->private; in cobra_close()
166 gameport->private = cobra; in cobra_connect()
191 cobra->dev[i].private = cobra; in cobra_connect()
225 struct cobra *cobra = gameport->private; in cobra_disconnect()
Dmagellan.c111 struct magellan* magellan = serio->private; in magellan_interrupt()
128 struct magellan* magellan = serio->private; in magellan_disconnect()
165 magellan->dev.private = magellan; in magellan_connect()
172 serio->private = magellan; in magellan_connect()
Dstinger.c96 struct stinger* stinger = serio->private; in stinger_interrupt()
117 struct stinger* stinger = serio->private; in stinger_disconnect()
160 stinger->dev.private = stinger; in stinger_connect()
162 serio->private = stinger; in stinger_connect()
/linux-2.4.37.9/drivers/block/paride/
Dfrpw.c228 if ((pi->private>>1) != pi->port) in frpw_test_proto()
229 pi->private = frpw_test_pnp(pi) + 2*pi->port; in frpw_test_proto()
231 if (((pi->private%2) == 0) && (pi->mode > 2)) { in frpw_test_proto()
238 if (((pi->private%2) == 1) && (pi->mode == 2)) { in frpw_test_proto()
264 pi->device,pi->port,(pi->private%2),pi->mode,e[0],e[1],r); in frpw_test_proto()
277 FRPW_VERSION,((pi->private%2) == 0)?"Xilinx":"ASIC",pi->port); in frpw_log_adapter()
286 pi->private = 0; in frpw_init_proto()
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6_tables.c375 table_base = (void *)table->private->entries in ip6t_do_table()
376 + TABLE_OFFSET(table->private, in ip6t_do_table()
378 e = get_entry(table_base, table->private->hook_entry[hook]); in ip6t_do_table()
394 back = get_entry(table_base, table->private->underflow[hook]); in ip6t_do_table()
987 if (num_counters != table->private->number) { in replace_table()
989 num_counters, table->private->number); in replace_table()
994 oldinfo = table->private; in replace_table()
995 table->private = newinfo; in replace_table()
1044 countersize = sizeof(struct ip6t_counters) * table->private->number; in copy_entries_to_user()
1053 get_counters(table->private, counters); in copy_entries_to_user()
[all …]

123456789