Searched refs:adv (Results 1 - 23 of 23) sorted by relevance

/freebsd-12-stable/sys/dev/advansys/
H A Dadvlib.c199 static void adv_read_lram_16_multi(struct adv_softc *adv, u_int16_t s_addr,
201 static void adv_write_lram_16_multi(struct adv_softc *adv,
204 static void adv_mset_lram_16(struct adv_softc *adv, u_int16_t s_addr,
206 static u_int32_t adv_msum_lram_16(struct adv_softc *adv, u_int16_t s_addr,
209 static int adv_write_and_verify_lram_16(struct adv_softc *adv,
211 static u_int32_t adv_read_lram_32(struct adv_softc *adv, u_int16_t addr);
214 static void adv_write_lram_32(struct adv_softc *adv, u_int16_t addr,
216 static void adv_write_lram_32_multi(struct adv_softc *adv,
221 static u_int16_t adv_read_eeprom_16(struct adv_softc *adv, u_int8_t addr);
222 static u_int16_t adv_write_eeprom_16(struct adv_softc *adv, u_int8_
303 struct adv_softc *adv; local
386 adv_set_bank(struct adv_softc *adv, u_int8_t bank) argument
406 adv_read_lram_8(struct adv_softc *adv, u_int16_t addr) argument
433 adv_write_lram_8(struct adv_softc *adv, u_int16_t addr, u_int8_t value) argument
450 adv_read_lram_16(struct adv_softc *adv, u_int16_t addr) argument
457 adv_write_lram_16(struct adv_softc *adv, u_int16_t addr, u_int16_t value) argument
483 adv_lib_init(struct adv_softc *adv) argument
495 adv_get_eeprom_config(struct adv_softc *adv, struct adv_eeprom_config *eeprom_config) argument
532 adv_set_eeprom_config(struct adv_softc *adv, struct adv_eeprom_config *eeprom_config) argument
550 adv_reset_chip(struct adv_softc *adv, int reset_bus) argument
573 adv_test_external_lram(struct adv_softc* adv) argument
592 adv_init_lram_and_mcode(struct adv_softc *adv) argument
616 adv_get_chip_irq(struct adv_softc *adv) argument
639 adv_set_chip_irq(struct adv_softc *adv, u_int8_t irq_no) argument
673 adv_set_chip_scsiid(struct adv_softc *adv, int new_id) argument
686 adv_execute_scsi_queue(struct adv_softc *adv, struct adv_scsi_q *scsiq, u_int32_t datalen) argument
814 adv_copy_lram_doneq(struct adv_softc *adv, u_int16_t q_addr, struct adv_q_done_info *scsiq, u_int32_t max_dma_count) argument
859 adv_start_chip(struct adv_softc *adv) argument
868 adv_stop_execution(struct adv_softc *adv) argument
888 adv_is_chip_halted(struct adv_softc *adv) argument
903 adv_ack_interrupt(struct adv_softc *adv) argument
938 adv_isr_chip_halted(struct adv_softc *adv) argument
1079 adv_sdtr_to_period_offset(struct adv_softc *adv, u_int8_t sync_data, u_int8_t *period, u_int8_t *offset, int tid) argument
1093 adv_set_syncrate(struct adv_softc *adv, struct cam_path *path, u_int tid, u_int period, u_int offset, u_int type) argument
1174 adv_period_offset_to_sdtr(struct adv_softc *adv, u_int *period, u_int *offset, int tid) argument
1224 adv_read_lram_16_multi(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *buffer, int count) argument
1232 adv_write_lram_16_multi(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *buffer, int count) argument
1240 adv_mset_lram_16(struct adv_softc *adv, u_int16_t s_addr, u_int16_t set_value, int count) argument
1249 adv_msum_lram_16(struct adv_softc *adv, u_int16_t s_addr, int count) argument
1262 adv_write_and_verify_lram_16(struct adv_softc *adv, u_int16_t addr, u_int16_t value) argument
1278 adv_read_lram_32(struct adv_softc *adv, u_int16_t addr) argument
1296 adv_write_lram_32(struct adv_softc *adv, u_int16_t addr, u_int32_t value) argument
1310 adv_write_lram_32_multi(struct adv_softc *adv, u_int16_t s_addr, u_int32_t *buffer, int count) argument
1318 adv_read_eeprom_16(struct adv_softc *adv, u_int8_t addr) argument
1334 adv_write_eeprom_16(struct adv_softc *adv, u_int8_t addr, u_int16_t value) argument
1357 adv_write_eeprom_cmd_reg(struct adv_softc *adv, u_int8_t cmd_reg) argument
1377 adv_set_eeprom_config_once(struct adv_softc *adv, struct adv_eeprom_config *eeprom_config) argument
1429 adv_load_microcode(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *mcode_buf, u_int16_t mcode_size) argument
1451 adv_reinit_lram(struct adv_softc *adv) argument
1457 adv_init_lram(struct adv_softc *adv) argument
1493 adv_init_microcode_var(struct adv_softc *adv) argument
1524 adv_init_qlink_var(struct adv_softc *adv) argument
1555 adv_disable_interrupt(struct adv_softc *adv) argument
1564 adv_enable_interrupt(struct adv_softc *adv) argument
1573 adv_toggle_irq_act(struct adv_softc *adv) argument
1580 adv_start_execution(struct adv_softc *adv) argument
1588 adv_stop_chip(struct adv_softc *adv) argument
1604 adv_host_req_chip_halt(struct adv_softc *adv) argument
1625 adv_set_chip_ih(struct adv_softc *adv, u_int16_t ins_code) argument
1650 adv_get_q_info(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *inbuf, int words) argument
1665 adv_get_num_free_queues(struct adv_softc *adv, u_int8_t n_qs) argument
1681 adv_alloc_free_queues(struct adv_softc *adv, u_int8_t free_q_head, u_int8_t n_free_q) argument
1695 adv_alloc_free_queue(struct adv_softc *adv, u_int8_t free_q_head) argument
1712 adv_send_scsi_queue(struct adv_softc *adv, struct adv_scsi_q *scsiq, u_int8_t n_q_required) argument
1742 adv_put_ready_sg_list_queue(struct adv_softc *adv, struct adv_scsi_q *scsiq, u_int q_no) argument
1808 adv_put_ready_queue(struct adv_softc *adv, struct adv_scsi_q *scsiq, u_int q_no) argument
1855 adv_put_scsiq(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *buffer, int words) argument
1901 adv_handle_extmsg_in(struct adv_softc *adv, u_int16_t halt_q_addr, u_int8_t q_cntl, target_bit_vector target_mask, int tid_no) argument
1980 adv_msgout_sdtr(struct adv_softc *adv, u_int8_t sdtr_period, u_int8_t sdtr_offset) argument
1997 adv_abort_ccb(struct adv_softc *adv, int target, int lun, union ccb *ccb, u_int32_t status, int queued_only) argument
2046 adv_reset_bus(struct adv_softc *adv, int initiate_bus_reset) argument
2082 adv_set_sdtr_reg_at_id(struct adv_softc *adv, int tid, u_int8_t sdtr_data) argument
[all...]
H A Dadvansys.c84 static void adv_intr_locked(struct adv_softc *adv);
86 static void adv_run_doneq(struct adv_softc *adv);
88 adv_alloc_ccb_info(struct adv_softc *adv);
89 static void adv_destroy_ccb_info(struct adv_softc *adv,
92 adv_get_ccb_info(struct adv_softc *adv);
93 static __inline void adv_free_ccb_info(struct adv_softc *adv,
95 static __inline void adv_set_state(struct adv_softc *adv, adv_state state);
96 static __inline void adv_clear_state(struct adv_softc *adv, union ccb* ccb);
97 static void adv_clear_state_really(struct adv_softc *adv, union ccb* ccb);
100 adv_get_ccb_info(struct adv_softc *adv) argument
116 adv_free_ccb_info(struct adv_softc *adv, struct adv_ccb_info *cinfo) argument
126 adv_set_state(struct adv_softc *adv, adv_state state) argument
134 adv_clear_state(struct adv_softc *adv, union ccb* ccb) argument
141 adv_clear_state_really(struct adv_softc *adv, union ccb* ccb) argument
197 struct adv_softc *adv; local
461 struct adv_softc *adv; local
574 adv_alloc_ccb_info(struct adv_softc *adv) argument
594 adv_destroy_ccb_info(struct adv_softc *adv, struct adv_ccb_info *cinfo) argument
605 struct adv_softc *adv; local
670 struct adv_softc *adv = device_get_softc(dev); local
686 adv_free(struct adv_softc *adv) argument
719 adv_init(struct adv_softc *adv) argument
927 struct adv_softc *adv; local
936 adv_intr_locked(struct adv_softc *adv) argument
991 adv_run_doneq(struct adv_softc *adv) argument
1078 adv_done(struct adv_softc *adv, union ccb *ccb, u_int done_stat, u_int host_stat, u_int scsi_status, u_int q_no) argument
[all...]
H A Dadv_isa.c106 static int adv_get_isa_dma_channel(struct adv_softc *adv);
107 static int adv_set_isa_dma_settings(struct adv_softc *adv);
160 struct adv_softc *adv; local
184 adv = adv_alloc(dev, iores, 0);
185 if (adv == NULL) {
193 ADV_OUTB(adv, ADV_CHIP_CTRL, ADV_CC_HALT);
194 ADV_OUTW(adv, ADV_CHIP_STATUS, 0);
198 adv->chip_version = ADV_INB(adv, ADV_NONEISA_CHIP_REVISION);
199 if ((adv
369 struct adv_softc *adv = device_get_softc(dev); local
375 adv_get_isa_dma_channel(struct adv_softc *adv) argument
388 adv_set_isa_dma_settings(struct adv_softc *adv) argument
[all...]
H A Dadvansys.h46 void adv_free(struct adv_softc *adv);
47 int adv_init(struct adv_softc *adv);
49 int adv_attach(struct adv_softc *adv);
50 void adv_done(struct adv_softc *adv, union ccb* ccb,
H A Dadv_pci.c141 struct adv_softc *adv; local
172 adv = adv_alloc(dev, iores, 0);
173 if (adv == NULL) {
193 &adv->parent_dmat);
198 adv_free(adv);
203 adv->init_level++;
208 /* parent */ adv->parent_dmat,
222 bus_dma_tag_destroy(adv->parent_dmat);
223 adv_free(adv);
232 bus_dma_tag_destroy(adv
[all...]
H A Dadvlib.h783 void adv_set_bank(struct adv_softc *adv, u_int8_t bank);
786 u_int8_t adv_read_lram_8(struct adv_softc *adv, u_int16_t addr);
787 void adv_write_lram_8(struct adv_softc *adv, u_int16_t addr,
789 u_int16_t adv_read_lram_16(struct adv_softc *adv, u_int16_t addr);
790 void adv_write_lram_16(struct adv_softc *adv, u_int16_t addr,
795 void adv_lib_init(struct adv_softc *adv);
797 u_int16_t adv_get_eeprom_config(struct adv_softc *adv,
799 int adv_set_eeprom_config(struct adv_softc *adv,
801 int adv_reset_chip(struct adv_softc *adv, int reset_bus);
802 int adv_test_external_lram(struct adv_softc* adv);
856 ADV_INSW(struct adv_softc *adv, u_int offset, u_int16_t *valp, u_int count) argument
870 ADV_OUTSW(struct adv_softc *adv, u_int offset, u_int16_t *valp, u_int count) argument
[all...]
/freebsd-12-stable/sys/dev/cxgb/common/
H A Dcxgb_aq100x.c278 unsigned int adv; local
282 adv = 0;
284 adv |= ADV_10G_FULL;
286 ADV_10G_FULL, adv);
291 adv = 0;
293 adv |= ADV_1G_FULL;
295 adv |= ADV_1G_HALF;
297 ADV_1G_FULL | ADV_1G_HALF, adv);
302 adv = 0;
304 adv |
400 unsigned int lpa, adv; local
[all...]
H A Dcxgb_vsc8211.c136 unsigned int bmcr, status, lpa, adv; local
182 err = mdio_read(cphy, 0, MII_ADVERTISE, &adv);
186 if (lpa & adv & ADVERTISE_PAUSE_CAP)
190 (adv & ADVERTISE_PAUSE_ASYM))
193 (adv & ADVERTISE_PAUSE_CAP))
209 unsigned int bmcr, status, lpa, adv; local
241 err = mdio_read(cphy, 0, MII_ADVERTISE, &adv);
245 if (adv & lpa & ADVERTISE_1000XFULL) {
248 } else if (adv & lpa & ADVERTISE_1000XHALF) {
254 if (lpa & adv
[all...]
H A Dcxgb_tn1010.c136 unsigned int status, lpa, adv; local
154 &adv);
158 if (lpa & adv & ADVERTISE_PAUSE_CAP)
162 (adv & ADVERTISE_PAUSE_ASYM))
165 (adv & ADVERTISE_PAUSE_CAP))
/freebsd-12-stable/contrib/wpa/src/p2p/
H A Dp2p_build.c464 struct p2ps_advertisement *adv; local
466 for (adv = p2p->p2ps_adv_list; adv; adv = adv->next) {
467 if (os_strncmp(adv->svc_name, P2PS_WILD_HASH_STR,
598 struct p2ps_advertisement *adv; local
638 for (adv = adv_list; adv && total_len <= MAX_SVC_ADV_LEN;
639 adv
[all...]
H A Dp2p.c2813 struct p2ps_advertisement *adv, *prev; local
2818 adv = p2p->p2ps_adv_list;
2819 while (adv) {
2820 prev = adv;
2821 adv = adv->next;
/freebsd-12-stable/sys/kern/
H A Dvfs_vnops.c1075 ssize_t adv; local
1154 adv = len - short_uio.uio_resid;
1157 (char *)uio_clone->uio_iov->iov_base + adv;
1158 uio_clone->uio_iov->iov_len -= adv;
1159 uio_clone->uio_resid -= adv;
1160 uio_clone->uio_offset += adv;
1162 uio->uio_resid -= adv;
1163 uio->uio_offset += adv;
1165 if (error != 0 || adv == 0)
1247 size_t adv; local
[all...]
/freebsd-12-stable/usr.bin/sed/
H A Dcompile.c626 char *adv = (s); \
627 while (*(adv + (n) - 1) != '\0') { \
628 *adv = *(adv + (n)); \
629 ++adv; \
631 *adv = '\0'; \
/freebsd-12-stable/contrib/binutils/binutils/
H A Ddwarf.c1965 int adv; local
1978 adv = (op_code % info.li_line_range) + info.li_line_base;
1979 state_machine_regs.line += adv;
1981 adv, state_machine_regs.line);
2003 adv = read_leb128 (data, & bytes_read, 1);
2005 state_machine_regs.line += adv;
2006 printf (_(" Advance Line by %d to %d\n"), adv,
2011 adv = read_leb128 (data, & bytes_read, 0);
2014 adv);
2015 state_machine_regs.file = adv;
[all...]
/freebsd-12-stable/sys/netinet/
H A Dtcp_output.c649 * "adv" is the amount we could increase the window,
653 int32_t adv; local
656 adv = recwin;
659 adv -= oldwin;
668 if (oldwin >> tp->rcv_scale >= (adv + oldwin) >> tp->rcv_scale)
671 if (adv >= (int32_t)(2 * tp->t_maxseg) &&
672 (adv >= (int32_t)(so->so_rcv.sb_hiwat / 4) ||
675 adv >= TCP_MAXWIN << tp->rcv_scale))
677 if (2 * adv >= (int32_t)so->so_rcv.sb_hiwat)
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_provider.c250 dtrace_argdesc_t *adv = alloca(sizeof (dtrace_argdesc_t) * adc); local
251 dtrace_argdesc_t *adp = adv;
289 dt_pid_get_types(dtp, pdp, adv, &nc);
326 for (adp = adv, i = 0; i < xc; i++, adp++) {
/freebsd-12-stable/sys/dev/e1000/
H A De1000_82575.h116 u32 adv:8; member in struct:e1000_adv_context_desc::__anon12991::__anon12992
H A De1000_ich8lan.c919 u16 lpa, pcs_status, adv, adv_addr, lpi_ctrl, data; local
958 ret_val = e1000_read_emi_reg_locked(hw, adv_addr, &adv);
965 if (adv & dev_spec->eee_lp_ability & I82579_EEE_1000_SUPPORTED)
968 if (adv & dev_spec->eee_lp_ability & I82579_EEE_100_SUPPORTED) {
/freebsd-12-stable/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c189 struct wpa_ie_data adv; local
218 if (ie && wpa_parse_wpa_ie(ie, 2 + ie[1], &adv) == 0) {
220 if (adv.pairwise_cipher & WPA_CIPHER_CCMP)
224 if (ie && wpa_parse_wpa_ie(ie, 2 + ie[1], &adv) == 0 &&
225 adv.pairwise_cipher & WPA_CIPHER_CCMP)
/freebsd-12-stable/sys/dev/sound/pcm/
H A Dfeeder_rate.c520 #define _Z_SINC_ACCUMULATE(SIGN, BIT, ENDIAN, adv) \
527 p adv##= info->channels * PCM_##BIT##_BPS
/freebsd-12-stable/share/man/man4/
H A DMakefile27 adv.4 \
/freebsd-12-stable/sys/netinet/tcp_stacks/
H A Drack.c7710 * "adv" is the amount we could increase the window, taking
7714 int32_t adv; local
7717 adv = min(recwin, (long)TCP_MAXWIN << tp->rcv_scale);
7720 adv -= oldwin;
7728 if (oldwin >> tp->rcv_scale == (adv + oldwin) >> tp->rcv_scale)
7731 if (adv >= (int32_t)(2 * tp->t_maxseg) &&
7732 (adv >= (int32_t)(so->so_rcv.sb_hiwat / 4) ||
7738 if (2 * adv >= (int32_t) so->so_rcv.sb_hiwat)
/freebsd-12-stable/sys/dev/bxe/
H A Dbxe_elink.c3839 uint16_t adv = 0, lp = 0; local
3843 elink_cl45_read(sc, phy, MDIO_AN_DEVAD, MDIO_AN_REG_EEE_ADV, &adv);
3848 if (adv & 0x2) {
3856 if (adv & 0x14) {
3864 if (adv & 0x68) {
4575 /* Disable Autoneg: re-enable it after adv is done. */

Completed in 229 milliseconds