Searched refs:unit (Results 251 - 275 of 348) sorted by relevance

<<11121314

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/irda/irnet/
H A Dirnet_ppp.c331 irnet_events.log[ap->event_index].unit);
337 irnet_events.log[ap->event_index].unit);
349 irnet_events.log[ap->event_index].unit);
355 irnet_events.log[ap->event_index].unit);
361 irnet_events.log[ap->event_index].unit);
660 /* Query PPP channel and unit number */
674 DEBUG(FS_INFO, "Query unit number.\n");
H A Dirnet.h264 int unit; member in struct:irnet_log
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Dfsm.c722 if( cilen > peer_mru[f->unit] - HEADERLEN )
723 cilen = peer_mru[f->unit] - HEADERLEN;
755 if (datalen > peer_mru[f->unit] - HEADERLEN)
756 datalen = peer_mru[f->unit] - HEADERLEN;
764 output(f->unit, outpacket_buf, outlen + PPP_HDRLEN);
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Dfsm.c750 if( cilen > peer_mru[f->unit] - HEADERLEN )
751 cilen = peer_mru[f->unit] - HEADERLEN;
783 if (datalen > peer_mru[f->unit] - HEADERLEN)
784 datalen = peer_mru[f->unit] - HEADERLEN;
792 output(f->unit, outpacket_buf, outlen + PPP_HDRLEN);
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/
H A Dfsm.c750 if( cilen > peer_mru[f->unit] - HEADERLEN )
751 cilen = peer_mru[f->unit] - HEADERLEN;
783 if (datalen > peer_mru[f->unit] - HEADERLEN)
784 datalen = peer_mru[f->unit] - HEADERLEN;
792 output(f->unit, outpacket_buf, outlen + PPP_HDRLEN);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/sn/io/
H A Dhcl.c1064 minor_t unit,
1097 if ((int)unit != -1 && old_pinv->inv_unit != unit)
1110 replace_in_inventory(pinv, class, type, controller, unit, state);
1148 minor_t unit,
1182 ((int)unit == -1 || pinv->inv_unit == unit)) {
1060 hwgraph_inventory_add( devfs_handle_t de, int class, int type, major_t controller, minor_t unit, int state) argument
1144 hwgraph_inventory_remove( devfs_handle_t de, int class, int type, major_t controller, minor_t unit, int state) argument
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppoecd/
H A Dsys-linux.c120 static void restore_loop(void); /* Transfer ppp unit back to loopback */
284 * Demand mode - prime the old ppp device to relinquish the unit.
288 error("ioctl(transfer ppp unit): %m");
320 * Create a new PPP unit.
332 error("Couldn't attach to PPP unit %d: %m", ifunit);
348 /* Check that we got the same unit again. */
350 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x);
387 * operation, and reconnect the ppp unit to the loopback if in demand
402 error("Couldn't release PPP unit: %m");
409 * make_ppp_unit - make a new ppp unit fo
472 output(int unit, unsigned char *p, int len) argument
606 netif_set_mtu(int unit, int mtu) argument
626 ccp_test(int unit, u_char *opt_ptr, int opt_len, int for_transmit) argument
646 ccp_flags_set(int unit, int isopen, int isup) argument
699 ccp_fatal_error(int unit) argument
887 sifaddr(int unit, u_int32_t our_adr, u_int32_t his_adr, u_int32_t net_mask) argument
988 cifaddr(int unit, u_int32_t our_adr, u_int32_t his_adr) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ide/
H A Dide-pmac.c105 * Clock unit is 15ns (66Mhz)
139 * Can do pio & mdma modes, clock unit is 30ns (33Mhz)
340 if (drive->select.b.unit & 0x01)
455 if (drive->select.b.unit & 0x01)
644 int unit = (drive->select.b.unit & 0x01); local
651 timings = &pmac_ide[intf].timings[unit];
1234 if (drive->select.b.unit & 0x01)
1273 if (drive->select.b.unit & 0x01)
1348 byte unit local
[all...]
H A Dide-dma.c641 byte unit = (drive->select.b.unit & 0x01); local
650 outb(inb(dma_base+2) & ~(1<<(5+unit)), dma_base+2);
654 outb(inb(dma_base+2)|(1<<(5+unit)), dma_base+2);
H A Dsis5513.c631 byte unit = (drive->select.b.unit & 0x01); local
666 outb(inb(hwif->dma_base+2)|(1<<(5+unit)), hwif->dma_base+2);
H A Dali14xx.c139 driveNum = (HWIF(drive)->index << 1) + drive->select.b.unit;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/
H A Dataflop.c216 * default_params[].blocks > 0 - a bit in unit[].flags might be used for this?)
223 /* current info on each unit */
236 } unit[FD_MAX_UNITS]; variable in typeref:struct:atari_floppy_struct
238 #define UD unit[drive]
239 #define UDT unit[drive].disktype
240 #define SUD unit[SelectedDrive]
241 #define SUDT unit[SelectedDrive].disktype
1399 unit[drive].disktype == 0) {
1754 /* Initialize the 'unit' variable for drive 'drive' */
2003 unit[
[all...]
H A Dfloppy.c286 #define REVDRIVE(fdc, unit) ((unit) + ((fdc) << 2))
287 /* reverse mapping from unit and fdc to drive */
775 static inline int is_selected(int dor, int unit) argument
777 return ((dor & (0x10 << unit)) && (dor &3) == unit);
782 register unsigned char drive, unit, newdor,olddor; local
790 unit = olddor & 0x3;
791 if (is_selected(olddor, unit) && !is_selected(newdor,unit)){
4148 int i,unit,drive; local
[all...]
H A Dcpqarray.c1008 c->hdr.unit = MINOR(creq->rq_dev) >> NWD_SHIFT;
1119 cmd->ctlr, cmd->hdr.unit);
1124 cmd->ctlr, cmd->hdr.unit);
1129 cmd->ctlr, cmd->hdr.unit, cmd->req.hdr.cmd,
1401 c->hdr.unit = (io->unit & UNITVALID) ? (io->unit & ~UNITVALID) : dsk;
1594 c->hdr.unit = log_unit;
1815 c->hdr.unit = log_unit;
1851 c->ctlr, c->hdr.unit);
[all...]
H A Dida_cmd.h75 __u8 unit; member in struct:__anon1098
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-alpha/
H A Duaccess.h495 unsigned unit; member in union:exception_table_entry::exception_fixup
504 /* Returns 0 if exception not found and fixup.unit otherwise. */
511 __fie_fixup.unit = fixup_unit; \
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-alpha/
H A Duaccess.h495 unsigned unit; member in union:exception_table_entry::exception_fixup
504 /* Returns 0 if exception not found and fixup.unit otherwise. */
511 __fie_fixup.unit = fixup_unit; \
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ieee1394/
H A Dohci1394.c1810 static inline void cf_put_crc16(struct config_rom_ptr *cr, int unit) argument
1812 *cr->unitdir[unit].start =
1813 cpu_to_be32((cr->unitdir[unit].length << 16) |
1814 ohci_crc16(cr->unitdir[unit].start + 1,
1815 cr->unitdir[unit].length));
1818 static inline void cf_unit_begin(struct config_rom_ptr *cr, int unit) argument
1820 if (cr->unitdir[unit].refer != NULL) {
1821 *cr->unitdir[unit].refer |=
1822 cpu_to_be32 (cr->data - cr->unitdir[unit].refer);
1823 cf_put_crc16(cr, cr->unitdir[unit]
1829 cf_put_refer(struct config_rom_ptr *cr, char key, int unit) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/wlconf/
H A Dwlconf.c667 WLCONF_DBG("wlconfg(%s): unable to parse unit.subunit in interface "
857 int restore_defaults, val, unit, phytype, bandtype, gmode = 0, ret = 0; local
953 WL_IOCTL(name, WLC_GET_INSTANCE, &unit, sizeof(unit));
954 snprintf(prefix, sizeof(prefix), "wl%d_", unit);
961 snprintf(buf, sizeof(buf), "%d", unit);
962 nvram_set(strcat_r(prefix, "unit", tmp), buf);
1043 snprintf(tmp, sizeof(tmp), "wl%d.%d_hwaddr", unit, i);
1056 unit, i);
1059 unit,
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm-4.0/
H A Dmga_state.c420 static int mgaVerifyTex(drm_mga_private_t * dev_priv, int unit) argument
424 if ((sarea_priv->TexState[unit][MGA_TEXREG_ORG] & 0x3) == 0x1) {
425 DRM_DEBUG("BAD TEXREG_ORG: %x, unit %d\n",
426 sarea_priv->TexState[unit][MGA_TEXREG_ORG],
427 unit);
428 sarea_priv->TexState[unit][MGA_TEXREG_ORG] = 0;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/lowlevel/
H A Dfdc-io.c466 int unit = ft_drive_sel; local
467 int data = unit | FDC_RESET_NOT | FDC_DMA_MODE;
472 data |= FDC_MOTOR_0 << unit;
473 TRACE(ft_t_noise, "turning motor %d on", unit);
475 TRACE(ft_t_noise, "turning motor %d off", unit);
588 /* keep the unit select if keep_select is != 0,
633 fdc_dor_reset(1); /* keep unit selected */
742 /* Sense drive status: get unit's drive status (ST3)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/message/i2o/
H A Di2o_core.c492 c->unit = i;
600 i2o_controllers[c->unit]=NULL;
904 dprintk(KERN_INFO "I2O IRTOS EVENT: iop%d, event %#10x\n", c->unit, msg[4]);
1050 sprintf(name, "iop%d_lctd", c->unit);
1155 * Old 960 steppings had a bug in the I2O unit that caused
1305 * Dump an information block associated with a given unit (TID). The
1315 int unit = d->lct_data.tid; local
1320 printk(KERN_INFO "Target ID %d.\n", unit);
1321 if((ret=i2o_query_scalar(c, unit, 0xF100, 3, buf, 16))>=0)
1326 if((ret=i2o_query_scalar(c, unit,
[all...]
/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Dnvparse.c754 get_wds_wsec(int unit, int which, char *mac, char *role, argument
759 snprintf(name, sizeof(name), "wl%d_wds%d", unit, which);
807 set_wds_wsec(int unit, int which, char *mac, char *role, argument
812 snprintf(name, sizeof(name), "wl%d_wds%d", unit, which);
839 del_wds_wsec(int unit, int which) argument
843 snprintf(name, sizeof(name), "wl%d_wds%d", unit, which);
/asus-wl-520gu-7.0.1.45/src/router/shared.asus/
H A Dnvparse.c754 get_wds_wsec(int unit, int which, char *mac, char *role, argument
759 snprintf(name, sizeof(name), "wl%d_wds%d", unit, which);
807 set_wds_wsec(int unit, int which, char *mac, char *role, argument
812 snprintf(name, sizeof(name), "wl%d_wds%d", unit, which);
836 del_wds_wsec(int unit, int which) argument
840 snprintf(name, sizeof(name), "wl%d_wds%d", unit, which);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/kernel/
H A Dsparc_ksyms.c53 #include <asm/io-unit.h>

Completed in 432 milliseconds

<<11121314