Home
last modified time | relevance | path

Searched +full:sw +full:- +full:mode (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/freebsd/usr.sbin/ppp/
H A Dmain.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
5 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
115 SignalBundle->CleaningUp = 1; in Cleanup()
186 /* Drops all child prompts and re-opens the socket */ in RestartServer()
193 fprintf(stderr, "usage: ppp [-auto | -foreground | -background | -direct |" in Usage()
194 " -dedicated | -ddial | -interactive]" in Usage()
196 " [-nat]" in Usage()
198 " [-quiet] [-unit N] [system ...]\n"); in Usage()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Dphy.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2019-2022, 2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
11 * enum iwl_phy_ops_subcmd_ids - PH
[all...]
/freebsd/sys/dev/syscons/
H A Dsyscons.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 1995-1998 Søren Schmidt
56 /* Always load font data if the pixel (raster text) mode is to be used. */
62 * If font data is not available, the `arrow'-shaped mouse cursor cannot
90 #define SC_VTY(dev) (((sc_ttysoftc *)tty_softc(tp))->st_index)
91 #define SC_DEV(sc, vty) ((sc)->dev[(vty) - (sc)->first_vty])
92 #define SC_STAT(tp) (*((scr_stat **)&((sc_ttysoftc *)tty_softc(tp))->st_stat))
102 if ((x) < scp->start) scp->start = (x);\
103 else if ((x) > scp->end) scp->end = (x);\
[all …]
/freebsd/sys/dev/ichiic/
H A Dig4_reg.h40 * https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/4th-gen-core-family-mobile-i-o-datasheet.pdf
42 * This is a from-scratch driver under the BSD license using the Intel data
50 * and fast mode plus (1MB/s) is supported. High speed mode (3.
[all...]
/freebsd/sys/contrib/device-tree/Bindings/watchdog/
H A Dalphascale,asm9260-wdt.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/watchdog/alphascale,asm9260-wd
[all...]
H A Dalphascale-asm9260.txt5 - compatible : should be "alphascale,asm9260-wdt".
6 - reg : Specifies base physical address and size of the registers.
7 - clocks : the clocks feeding the watchdog timer. See clock-bindings.txt
8 - clock-names : should be set to
9 "mod" - source for tick counter.
10 "ahb" - ahb gate.
11 - resets : phandle pointing to the system reset controller with
13 - reset-names : should be set to "wdt_rst".
16 - timeout-sec : shall contain the default watchdog timeout in seconds,
18 - alphascale,mode : three modes are supported
[all …]
/freebsd/sys/dev/ice/
H A Dice_switch.c1 /* SPDX-License-Identifier: BSD-3-Clause */
68 * ice_init_def_sw_recp - initialize the recipe book keeping tables
70 * @recp_list: pointer to sw recipe list
100 * ice_aq_get_sw_cfg - get switch configuration
115 * configuration information has been returned; if non-zero (meaning not all
135 cmd->element = CPU_TO_LE16(*req_desc); in ice_aq_get_sw_cfg()
139 *req_desc = LE16_TO_CPU(cmd->elemen in ice_aq_get_sw_cfg()
1548 struct ice_switch_info *sw = hw->switch_info; ice_create_vsi_list_map() local
1765 struct ice_switch_info *sw = NULL; ice_update_sw_rule_bridge_mode() local
2339 ice_add_mac_rule(struct ice_hw * hw,struct LIST_HEAD_TYPE * m_list,struct ice_switch_info * sw,u8 lport) ice_add_mac_rule() argument
2659 ice_add_vlan_rule(struct ice_hw * hw,struct LIST_HEAD_TYPE * v_list,struct ice_switch_info * sw) ice_add_vlan_rule() argument
2706 ice_add_eth_mac_rule(struct ice_hw * hw,struct LIST_HEAD_TYPE * em_list,struct ice_switch_info * sw,u8 lport) ice_add_eth_mac_rule() argument
2756 ice_remove_eth_mac_rule(struct ice_hw * hw,struct LIST_HEAD_TYPE * em_list,struct ice_switch_info * sw) ice_remove_eth_mac_rule() argument
2898 struct ice_switch_info *sw = hw->switch_info; ice_rem_all_sw_rules_info() local
3298 _ice_get_vsi_promisc(struct ice_hw * hw,u16 vsi_handle,ice_bitmap_t * promisc_mask,u16 * vid,struct ice_switch_info * sw,enum ice_sw_lkup_type lkup) _ice_get_vsi_promisc() argument
3406 _ice_clear_vsi_promisc(struct ice_hw * hw,u16 vsi_handle,ice_bitmap_t * promisc_mask,u16 vid,struct ice_switch_info * sw) _ice_clear_vsi_promisc() argument
3506 _ice_set_vsi_promisc(struct ice_hw * hw,u16 vsi_handle,ice_bitmap_t * promisc_mask,u16 vid,u8 lport,struct ice_switch_info * sw) _ice_set_vsi_promisc() argument
3653 _ice_set_vlan_vsi_promisc(struct ice_hw * hw,u16 vsi_handle,ice_bitmap_t * promisc_mask,bool rm_vlan_promisc,u8 lport,struct ice_switch_info * sw) _ice_set_vlan_vsi_promisc() argument
3795 ice_remove_vsi_fltr_rule(struct ice_hw * hw,u16 vsi_handle,struct ice_switch_info * sw) ice_remove_vsi_fltr_rule() argument
4199 struct ice_switch_info *sw = hw->switch_info; ice_replay_all_fltr() local
4227 ice_replay_vsi_fltr(struct ice_hw * hw,struct ice_port_info * pi,struct ice_switch_info * sw,u16 vsi_handle,u8 recp_id,struct LIST_HEAD_TYPE * list_head) ice_replay_vsi_fltr() argument
4292 struct ice_switch_info *sw = NULL; ice_replay_vsi_all_fltr() local
4320 ice_rm_sw_replay_rule_info(struct ice_hw * hw,struct ice_switch_info * sw) ice_rm_sw_replay_rule_info() argument
[all...]
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_prs.c2 * Copyright 2008-2012 Freescale Semiconductor Inc.
57 struct fman_prs_regs *PrsRegs = (struct fman_prs_regs *)p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs; in PcdPrsErrorException()
59 ASSERT_COND(p_FmPcd->guestId == NCSW_MASTER_ID); in PcdPrsErrorException()
66 DBG(TRACE, ("parser error - 0x%08x\n",event)); in PcdPrsErrorException()
69 p_FmPcd->f_Exception(p_FmPcd->h_App,e_FM_PCD_PRS_EXCEPTION_DOUBLE_ECC); in PcdPrsErrorException()
76 struct fman_prs_regs *PrsRegs = (struct fman_prs_regs *)p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs; in PcdPrsException()
78 ASSERT_COND(p_FmPcd->guestId == NCSW_MASTER_ID); in PcdPrsException()
84 DBG(TRACE, ("parser event - 0x%08x\n",event)); in PcdPrsException()
88 p_FmPcd->f_Exception(p_FmPcd->h_App,e_FM_PCD_PRS_EXCEPTION_SINGLE_ECC); in PcdPrsException()
106 fman_prs_defconfig(&p_FmPcd->p_FmPcdDriverParam->dfltCfg); in PrsConfig()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/
H A Dadi,ad7606.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf
15 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7616.pdf
21 - adi,ad7605-4
22 - adi,ad7606-8
23 - adi,ad7606-6
[all …]
/freebsd/sys/contrib/device-tree/Bindings/ata/
H A Dahci-mtk.txt4 - compatible : Must be "mediatek,<chip>-ahci", "mediatek,mtk-ahci".
5 When using "mediatek,mtk-ahci" compatible strings, you
7 - "mediatek,mt7622-ahci"
8 - reg : Physical base addresses and length of register sets.
9 - interrupts : Interrupt associated with the SATA device.
10 - interrupt-names : Associated name must be: "hostc".
11 - clocks : A list of phandle and clock specifier pairs, one for each
12 entry in clock-names.
13 - clock-names : Associated names must be: "ahb", "axi", "asic", "rbc", "pm".
14 - phys : A phandle and PHY specifier pair for the PHY port.
[all …]
/freebsd/sys/arm/nvidia/drm2/
H A Dtegra_dc.c1 /*-
55 #define WR4(_sc, _r, _v) bus_write_4((_sc)->mem_res, 4 * (_r), (_v))
56 #define RD4(_sc, _r) bus_read_4((_sc)->mem_res, 4 * (_r))
58 #define LOCK(_sc) mtx_lock(&(_sc)->mtx)
59 #define UNLOCK(_sc) mtx_unlock(&(_sc)->mtx)
61 mtx_sleep(sc, &sc->mtx, 0, "tegra_dc_wait", timeout);
63 mtx_init(&_sc->mtx, device_get_nameunit(_sc->dev), "tegra_dc", MTX_DEF)
64 #define LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx)
65 #define ASSERT_LOCKED(_sc) mtx_assert(&_sc->mtx, MA_OWNED)
66 #define ASSERT_UNLOCKED(_sc) mtx_assert(&_sc->mtx, MA_NOTOWNED)
[all …]
/freebsd/share/man/man5/
H A Dfstab.585 (Exception: the FFS cannot currently be demand-loaded.)
118 .Bd -literal -offset indent
119 -o sync -o noatime -m 644 -M 755 -u foo -g bar
123 .Bd -litera
[all...]
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dti,tps62864.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vincent Whitchurch <vincent.whitchurch@axis.com>
15 - ti,tps62864
16 - ti,tps62866
17 - ti,tps62868
18 - ti,tps62869
27 "SW":
35 - compatible
[all …]
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dphy-miphy28lp.txt8 - compatible : Should be "st,miphy28lp-phy".
9 - st,syscfg : Should be a phandle of the system configuration register group
10 which contain the SATA, PCIe or USB3 mode setting bits.
12 Required nodes : A sub-node is required for each channel the controller
14 'reg' and 'reg-names' properties are used inside these
19 - #phy-cells : Should be 1 (See second example)
21 - PHY_TYPE_SATA
22 - PHY_TYPE_PCI
23 - PHY_TYPE_USB3
24 - reg : Address and length of the register set for the device.
[all …]
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_switch.c2 * Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved.
3 * Copyright (c) 2002-2015 Mellanox Technologies LTD. All rights reserved.
4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
17 * - Redistributions of source code must retain the above
21 * - Redistributions in binary form must reproduce the above
67 if (!lid_ho || lid_ho > p_sw->max_lid_ho) in osm_switch_set_hops()
68 return -1; in osm_switch_set_hops()
69 if (port_num >= p_sw->num_ports) in osm_switch_set_hops()
70 return -1; in osm_switch_set_hops()
71 if (!p_sw->hops[lid_ho]) { in osm_switch_set_hops()
[all …]
/freebsd/sys/dev/netmap/
H A Dnetmap_bdg.c2 * Copyright (C) 2013-2016 Universita` di Pisa
31 --- VALE SWITCH ---
38 lock is acquired in exclusive mode (after holding NMG_LOCK).
39 When forwarding, the lock is acquired in shared mode (without NMG_LOCK).
44 On the rx ring, the per-port lock is grabbed initially to reserve
54 * OS-specific code that is used only within this file.
55 * Other OS-specific code that must be accessed by drivers
114 struct nm_bridge *b = vp->na_bdg; in netmap_bdg_name()
117 return b->bdg_basename; in netmap_bdg_name()
145 int colon_pos = -1; in nm_bdg_name_validate()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Daxp20x.txt4 axp152 (X-Powers)
5 axp202 (X-Powers)
6 axp209 (X-Powers)
7 axp221 (X-Powers)
8 axp223 (X-Powers)
9 axp803 (X-Powers)
10 axp806 (X-Powers)
11 axp809 (X-Powers)
12 axp813 (X-Powers)
20 - compatible: should be one of:
[all …]
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Ddwc3.txt3 DWC3- USB3 CONTROLLER. Complies to the generic USB binding properties
7 - compatible: must be "snps,dwc3"
8 - reg : Address and length of the register set for the device
9 - interrupts: Interrupts used by the dwc3 controller.
10 - clock-names: list of clock names. Ideally should be "ref",
12 - clocks: list of phandle and clock specifier pairs corresponding to
13 entries in the clock-names property.
16 clocks are optional if the parent node (i.e. glue-layer) is compatible to
18 "cavium,octeon-7130-usb-uctl"
20 "samsung,exynos5250-dwusb3"
[all …]
/freebsd/sys/dev/kbdmux/
H A Dkbdmux.c5 /*-
6 * SPDX-License-Identifier: BSD-2-Clause
90 * Note that callout is initialized as not MP-safe to make sure
98 mtx_init(&(s)->ks_lock, "kbdmux", NULL, MTX_DEF|MTX_RECURSE)
100 mtx_destroy(&(s)->ks_lock)
102 mtx_lock(&(s)->ks_lock)
104 mtx_unlock(&(s)->ks_lock)
106 mtx_assert(&(s)->ks_lock, (w))
182 if (state->ks_inq_length == KBDMUX_Q_SIZE) in kbdmux_kbd_putc()
185 p = (state->ks_inq_start + state->ks_inq_length) % KBDMUX_Q_SIZE; in kbdmux_kbd_putc()
[all …]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_beacon.c48 (ONE_EIGHTH_TU_TO_USEC(next_beacon) - in ar9300_beacon_init()
49 ah->ah_config.ah_dma_beacon_response_time)); in ar9300_beacon_init()
51 (ONE_EIGHTH_TU_TO_USEC(next_beacon) - in ar9300_beacon_init()
52 ah->ah_config.ah_sw_beacon_response_time)); in ar9300_beacon_init()
86 HAL_CAPABILITIES *p_cap = &AH_PRIVATE(ah)->ah_caps; in ar9300_set_sta_beacon_timers()
88 HALASSERT(bs->bs_intval != 0); in ar9300_set_sta_beacon_timers()
91 OS_REG_WRITE(ah, AR_NEXT_TBTT_TIMER, TU_TO_USEC(bs->bs_nexttbtt)); in ar9300_set_sta_beacon_timers()
99 TU_TO_USEC(bs->bs_intval & HAL_BEACON_PERIOD)); in ar9300_set_sta_beacon_timers()
101 TU_TO_USEC(bs->bs_intval & HAL_BEACON_PERIOD)); in ar9300_set_sta_beacon_timers()
107 HALASSERT(bs->bs_bmissthreshold <= in ar9300_set_sta_beacon_timers()
[all …]
H A Dar9300_power.c30 ahp->ah_mcast_filter_l32_set = 0; in ar9300_wowoffload_prep()
31 ahp->ah_mcast_filter_u32_set = 0; in ar9300_wowoffload_prep()
39 if (ahp->ah_mcast_filter_l32_set != 0) { in ar9300_wowoffload_post()
41 val &= ~ahp->ah_mcast_filter_l32_set; in ar9300_wowoffload_post()
44 if (ahp->ah_mcast_filter_u32_set != 0) { in ar9300_wowoffload_post()
46 val &= ~ahp->ah_mcast_filter_u32_set; in ar9300_wowoffload_post()
50 ahp->ah_mcast_filter_l32_set = 0; in ar9300_wowoffload_post()
51 ahp->ah_mcast_filter_u32_set = 0; in ar9300_wowoffload_post()
72 ahp->ah_mcast_filter_u32_set |= (1 << pos); in ar9300_wowoffload_add_mcast_filter()
74 ahp->ah_mcast_filter_l32_set |= (1 << pos); in ar9300_wowoffload_add_mcast_filter()
[all …]
/freebsd/contrib/pjdfstest/tests/chmod/
H A D12.t2 # vim: filetype=sh noexpandtab ts=8 sw=8
3 # $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/12.t 219463 2011-03-10 20:59:02Z pjd $
20 # Check whether writing to the file by non-owner clears the SUID.
22 expect 0777 -u 65534 -g 65534 open ${n0} O_WRONLY : write 0 x : fstat 0 mode
23 expect 0777 stat ${n0} mode
26 # Check whether writing to the file by non-owner clears the SGID.
28 expect 0777 -u 65534 -g 65534 open ${n0} O_RDWR : write 0 x : fstat 0 mode
29 expect 0777 stat ${n0} mode
32 # Check whether writing to the file by non-owner clears the SUID+SGID.
34 expect 0777 -u 65534 -g 65534 open ${n0} O_RDWR : write 0 x : fstat 0 mode
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/dsa/
H A Dqca8k.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
/freebsd/contrib/pjdfstest/tests/mknod/
H A D02.t2 # vim: filetype=sh noexpandtab ts=8 sw=8
3 # $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/02.t 211352 2010-08-15 21:24:17Z pjd $
16 expect fifo,0644 stat ${nx} type,mode
21 expect block,0644 stat ${nx} type,mode
26 expect char,0644 stat ${nx} type,mode
/freebsd/contrib/pjdfstest/tests/symlink/
H A D00.t2 # vim: filetype=sh noexpandtab ts=8 sw=8
3 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/00.t 211352 2010-08-15 21:24:17Z pjd $
16 expect regular,0644 lstat ${n0} type,mode
19 expect regular,0644 stat ${n1} type,mode
21 expect ENOENT stat ${n1} type,mode
29 test_check $time -lt $mtime
31 test_check $time -lt $ctime

12345678910>>...17