/freebsd-10.0-release/contrib/dialog/samples/ |
H A D | infobox | 7 unit="seconds" 18 You have $left $unit to read this..." 10 52 20 test $left = 1 && unit="second"
|
H A D | infobox1 | 7 unit="seconds" 18 You have $left $unit to read this..." 10 52 20 test $left = 1 && unit="second"
|
H A D | infobox2 | 7 unit="seconds" 18 You have $left $unit to read this..." 0 0 20 test $left = 1 && unit="second"
|
H A D | infobox3 | 7 unit="seconds" 19 You have $left $unit to read this..." 0 0 21 test $left = 1 && unit="second"
|
H A D | infobox4 | 7 unit="seconds" 19 You have $left $unit to read this..." 0 0 21 test $left = 1 && unit="second"
|
H A D | infobox5 | 11 unit="seconds" 30 You have $left $unit to read this..." 0 0 $last 34 test $left = 1 && unit="second"
|
H A D | infobox6 | 13 unit="seconds" 32 You have $left $unit to read this..." 0 0 $last 36 test $left = 1 && unit="second"
|
/freebsd-10.0-release/sys/dev/bktr/ |
H A D | bktr_mem.h | 60 int bktr_has_stored_addresses(int unit); 61 void bktr_store_address(int unit, int type, vm_offset_t addr); 62 vm_offset_t bktr_retrieve_address(int unit, int type);
|
H A D | bktr_mem.c | 100 bktr_has_stored_addresses(int unit) argument 103 if (unit < 0 || unit >= BKTR_MEM_MAX_DEVICES) { 104 printf("bktr_mem: Unit number %d invalid\n", unit); 108 return memory_list[unit].addresses_stored; 114 bktr_store_address(int unit, int type, vm_offset_t addr) argument 117 if (unit < 0 || unit >= BKTR_MEM_MAX_DEVICES) { 119 unit, type, (void *) addr); 125 memory_list[unit] 154 bktr_retrieve_address(int unit, int type) argument [all...] |
/freebsd-10.0-release/sys/mips/atheros/ |
H A D | ar71xx_chip.h | 33 extern void ar71xx_chip_set_mii_speed(uint32_t unit, uint32_t speed); 34 extern void ar71xx_chip_set_mii_if(uint32_t unit, uint32_t mii_if);
|
H A D | ar71xx_cpudef.h | 84 static inline void ar71xx_device_set_pll_ge(int unit, int speed, uint32_t pll) argument 86 ar71xx_cpu_ops->ar71xx_chip_set_pll_ge(unit, speed, pll); 89 static inline void ar71xx_device_set_mii_speed(int unit, int speed) argument 91 ar71xx_cpu_ops->ar71xx_chip_set_mii_speed(unit, speed); 94 static inline void ar71xx_device_set_mii_if(int unit, ar71xx_mii_mode mii_cfg) argument 96 ar71xx_cpu_ops->ar71xx_chip_set_mii_if(unit, mii_cfg); 99 static inline void ar71xx_device_flush_ddr_ge(int unit) argument 101 ar71xx_cpu_ops->ar71xx_chip_ddr_flush_ge(unit); 104 static inline uint32_t ar71xx_device_get_eth_pll(unsigned int unit, int speed) argument 106 return (ar71xx_cpu_ops->ar71xx_chip_get_eth_pll(unit, spee [all...] |
/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | printunit.c | 11 printunit(unit) 12 int unit; 15 switch (unit) 45 PRINTF("unknown(%d)", unit);
|
/freebsd-10.0-release/sys/arm/ti/am335x/ |
H A D | am335x_pwm.h | 31 int am335x_pwm_config_ecas(int unit, int period, int duty);
|
/freebsd-10.0-release/sys/boot/efi/libefi/ |
H A D | handles.c | 36 int unit; member in struct:entry 46 int idx, unit; local 52 for (unit = 0; idx < nentries; idx++, unit++) { 53 entry[idx].handle = handles[unit]; 55 entry[idx].unit = unit; 61 efi_find_handle(struct devsw *dev, int unit) argument 68 if (entry[idx].unit != unit) 76 efi_handle_lookup(EFI_HANDLE h, struct devsw **dev, int *unit) argument [all...] |
/freebsd-10.0-release/usr.sbin/mlxcontrol/ |
H A D | mlxcontrol.h | 35 void (*func)(int unit, void *arg); 39 extern void mlx_foreach(void (*func)(int unit, void *arg), void *arg); 40 void mlxd_foreach_ctrlr(int unit, void *arg); 41 extern void mlxd_foreach(void (*func)(int unit, void *arg), void *arg); 42 extern int mlxd_find_ctrlr(int unit, int *ctrlr, int *sysdrive); 43 extern void mlx_perform(int unit, void (*func)(int fd, void *arg), void *arg); 45 extern int mlx_enquiry(int unit, struct mlx_enquiry2 *enq); 46 extern int mlx_read_configuration(int unit, struct mlx_core_cfg *cfg); 47 extern int mlx_scsi_inquiry(int unit, int bus, int target, char **vendor, char **device, char **revision); 50 extern char *ctrlrpath(int unit); [all...] |
H A D | util.c | 43 /* return path of controller (unit) */ 45 ctrlrpath(int unit) argument 49 sprintf(buf, "%s%s", _PATH_DEV, ctrlrname(unit)); 53 /* return name of controller (unit) */ 55 ctrlrname(int unit) argument 59 sprintf(buf, "mlx%d", unit); 63 /* return path of drive (unit) */ 65 drivepath(int unit) argument 69 sprintf(buf, "%s%s", _PATH_DEV, drivename(unit)); 73 /* return name of drive (unit) */ 75 drivename(int unit) argument 87 int unit; local 98 int unit; local [all...] |
/freebsd-10.0-release/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_misc.c | 62 ng_hci_mtap(ng_hci_unit_p unit, struct mbuf *m0) argument 67 if (unit->raw != NULL && NG_HOOK_IS_VALID(unit->raw)) { 70 NG_SEND_DATA_ONLY(error, unit->raw, m); 75 __func__, NG_NODE_NAME(unit->node), error); 86 ng_hci_unit_p unit = NULL; local 95 unit = (ng_hci_unit_p) NG_NODE_PRIVATE(node); 96 if ((unit->state & NG_HCI_UNIT_READY) != NG_HCI_UNIT_READY) 99 if (hook != unit->acl && hook != unit 132 ng_hci_unit_clean(ng_hci_unit_p unit, int reason) argument 175 ng_hci_new_neighbor(ng_hci_unit_p unit) argument 206 ng_hci_flush_neighbor_cache(ng_hci_unit_p unit) argument 217 ng_hci_get_neighbor(ng_hci_unit_p unit, bdaddr_p bdaddr) argument 255 ng_hci_new_con(ng_hci_unit_p unit, int link_type) argument 332 ng_hci_con_by_handle(ng_hci_unit_p unit, int con_handle) argument 348 ng_hci_con_by_bdaddr(ng_hci_unit_p unit, bdaddr_p bdaddr, int link_type) argument 366 ng_hci_command_timeout(ng_hci_unit_p unit) argument 385 ng_hci_command_untimeout(ng_hci_unit_p unit) argument [all...] |
H A D | ng_hci_main.c | 104 * Create new instance of HCI node (new unit) 110 ng_hci_unit_p unit = NULL; local 112 unit = malloc(sizeof(*unit), M_NETGRAPH_HCI, M_WAITOK | M_ZERO); 114 unit->node = node; 115 unit->debug = NG_HCI_WARN_LEVEL; 117 unit->link_policy_mask = 0xffff; /* Enable all supported modes */ 118 unit->packet_mask = 0xffff; /* Enable all packet types */ 119 unit->role_switch = 1; /* Enable role switch (if device supports it) */ 129 NG_HCI_BUFF_CMD_SET(unit 159 ng_hci_unit_p unit = (ng_hci_unit_p) NG_NODE_PRIVATE(node); local 184 ng_hci_unit_p unit = (ng_hci_unit_p) NG_NODE_PRIVATE(node); local 213 ng_hci_unit_p unit = (ng_hci_unit_p) NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); local 241 ng_hci_unit_p unit = (ng_hci_unit_p) NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); local 277 ng_hci_unit_p unit = (ng_hci_unit_p) NG_NODE_PRIVATE(node); local 644 ng_hci_unit_p unit = (ng_hci_unit_p) NG_NODE_PRIVATE(node); local 688 ng_hci_unit_p unit = (ng_hci_unit_p) NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); local 771 ng_hci_unit_p unit = (ng_hci_unit_p) NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); local 890 ng_hci_unit_p unit = (ng_hci_unit_p) NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); local 1009 ng_hci_unit_p unit = (ng_hci_unit_p) NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); local [all...] |
H A D | ng_hci_ulpi.c | 65 ng_hci_lp_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) argument 67 if ((unit->state & NG_HCI_UNIT_READY) != NG_HCI_UNIT_READY) { 69 "%s: %s - unit is not ready, state=%#x\n", 70 __func__, NG_NODE_NAME(unit->node), unit->state); 80 __func__, NG_NODE_NAME(unit->node), 89 return (ng_hci_lp_acl_con_req(unit, item, hook)); 91 if (hook != unit->sco) { 94 __func__, NG_NODE_NAME(unit->node), hook); 101 return (ng_hci_lp_sco_con_req(unit, ite 109 ng_hci_lp_acl_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) argument 309 ng_hci_lp_sco_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) argument 477 ng_hci_lp_discon_req(ng_hci_unit_p unit, item_p item, hook_p hook) argument 570 ng_hci_unit_p unit = con->unit; local 638 ng_hci_unit_p unit = con->unit; local 682 ng_hci_lp_con_rsp(ng_hci_unit_p unit, item_p item, hook_p hook) argument 878 ng_hci_unit_p unit = con->unit; local 934 ng_hci_lp_qos_req(ng_hci_unit_p unit, item_p item, hook_p hook) argument 1049 ng_hci_unit_p unit = con->unit; local 1104 ng_hci_unit_p unit = con->unit; local 1154 ng_hci_unit_p unit = NULL; local [all...] |
H A D | ng_hci_cmds.c | 85 ng_hci_send_command(ng_hci_unit_p unit) argument 91 if (unit->state & NG_HCI_UNIT_COMMAND_PENDING) 94 /* Check if unit can accept our command */ 95 NG_HCI_BUFF_CMD_GET(unit->buffer, free); 100 if (unit->drv == NULL || NG_HOOK_NOT_VALID(unit->drv)) { 103 __func__, NG_NODE_NAME(unit->node), NG_HCI_HOOK_DRV); 105 NG_BT_MBUFQ_DRAIN(&unit->cmdq); 115 m0 = NG_BT_MBUFQ_FIRST(&unit->cmdq); 119 ng_hci_mtap(unit, m 158 ng_hci_process_command_complete(ng_hci_unit_p unit, struct mbuf *e) argument 260 ng_hci_process_command_status(ng_hci_unit_p unit, struct mbuf *e) argument 324 complete_command(ng_hci_unit_p unit, int opcode, struct mbuf **cp) argument 384 ng_hci_unit_p unit = NULL; local 427 process_link_control_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument 482 process_link_policy_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument 551 process_hc_baseband_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument 662 process_info_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument 740 process_status_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument 769 process_testing_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument 804 process_link_control_status(ng_hci_unit_p unit, ng_hci_command_status_ep *ep, struct mbuf *mcp) argument 863 process_link_policy_status(ng_hci_unit_p unit, ng_hci_command_status_ep *ep, struct mbuf *mcp) argument [all...] |
/freebsd-10.0-release/sys/isa/ |
H A D | isahint.c | 40 isa_hinted_child(device_t parent, const char *name, int unit) argument 48 if (resource_int_value(name, unit, "sensitive", &sensitive) != 0) 56 child = BUS_ADD_CHILD(parent, order, name, unit); 62 resource_int_value(name, unit, "port", &start); 63 resource_int_value(name, unit, "portsize", &count); 69 resource_int_value(name, unit, "maddr", &start); 70 resource_int_value(name, unit, "msize", &count); 74 if (resource_int_value(name, unit, "irq", &start) == 0 && start > 0) 77 if (resource_int_value(name, unit, "drq", &start) == 0 && start >= 0) 80 if (resource_disabled(name, unit)) 107 int line, matches, unit; local [all...] |
/freebsd-10.0-release/release/amd64/ |
H A D | make-memstick.sh | 39 unit=`mdconfig -a -t vnode -f ${2}` 44 gpart create -s BSD ${unit} 45 gpart bootcode -b ${1}/boot/boot ${unit} 46 gpart add -t freebsd-ufs ${unit} 47 mdconfig -d -u ${unit}
|
/freebsd-10.0-release/release/i386/ |
H A D | make-memstick.sh | 39 unit=`mdconfig -a -t vnode -f ${2}` 44 gpart create -s BSD ${unit} 45 gpart bootcode -b ${1}/boot/boot ${unit} 46 gpart add -t freebsd-ufs ${unit} 47 mdconfig -d -u ${unit}
|
/freebsd-10.0-release/sys/sparc64/sparc64/ |
H A D | sc_machdep.c | 87 int unit; local 89 unit = device_get_unit(dev); 91 unit >= SC_MD_MAX) 95 return (sc_probe_unit(unit, device_get_flags(dev) | SC_MD_FLAGS)); 107 sc_get_cons_priority(int *unit, int *flags) argument 110 *unit = 0; 123 sc_get_softc(int unit, int flags) argument 127 if (unit < 0 || unit >= SC_MD_MAX) 129 sc = &sc_softcs[unit]; [all...] |
/freebsd-10.0-release/release/powerpc/ |
H A D | make-memstick.sh | 58 unit=`mdconfig -a -t vnode -f ${2}` 64 gpart create -s APM ${unit} 65 gpart add -t freebsd-boot -s 800K ${unit} 66 gpart bootcode -p ${1}/boot/boot1.hfs -i 1 ${unit} 67 gpart add -t freebsd-ufs -l FreeBSD_Install ${unit} 69 dd if=${tempfile} of=/dev/${unit}s3 bs=$BLOCKSIZE conv=sync 75 mdconfig -d -u ${unit}
|