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

/freebsd-11-stable/sys/dev/advansys/
H A Dadvlib.c197 static void adv_read_lram_16_multi(struct adv_softc *adv, u_int16_t s_addr,
199 static void adv_write_lram_16_multi(struct adv_softc *adv,
202 static void adv_mset_lram_16(struct adv_softc *adv, u_int16_t s_addr,
204 static u_int32_t adv_msum_lram_16(struct adv_softc *adv, u_int16_t s_addr,
207 static int adv_write_and_verify_lram_16(struct adv_softc *adv,
209 static u_int32_t adv_read_lram_32(struct adv_softc *adv, u_int16_t addr);
212 static void adv_write_lram_32(struct adv_softc *adv, u_int16_t addr,
214 static void adv_write_lram_32_multi(struct adv_softc *adv,
219 static u_int16_t adv_read_eeprom_16(struct adv_softc *adv, u_int8_t addr);
220 static u_int16_t adv_write_eeprom_16(struct adv_softc *adv, u_int8_
301 struct adv_softc *adv; local
384 adv_set_bank(struct adv_softc *adv, u_int8_t bank) argument
404 adv_read_lram_8(struct adv_softc *adv, u_int16_t addr) argument
431 adv_write_lram_8(struct adv_softc *adv, u_int16_t addr, u_int8_t value) argument
448 adv_read_lram_16(struct adv_softc *adv, u_int16_t addr) argument
455 adv_write_lram_16(struct adv_softc *adv, u_int16_t addr, u_int16_t value) argument
481 adv_lib_init(struct adv_softc *adv) argument
493 adv_get_eeprom_config(struct adv_softc *adv, struct adv_eeprom_config *eeprom_config) argument
530 adv_set_eeprom_config(struct adv_softc *adv, struct adv_eeprom_config *eeprom_config) argument
548 adv_reset_chip(struct adv_softc *adv, int reset_bus) argument
571 adv_test_external_lram(struct adv_softc* adv) argument
590 adv_init_lram_and_mcode(struct adv_softc *adv) argument
614 adv_get_chip_irq(struct adv_softc *adv) argument
637 adv_set_chip_irq(struct adv_softc *adv, u_int8_t irq_no) argument
671 adv_set_chip_scsiid(struct adv_softc *adv, int new_id) argument
684 adv_execute_scsi_queue(struct adv_softc *adv, struct adv_scsi_q *scsiq, u_int32_t datalen) argument
812 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
857 adv_start_chip(struct adv_softc *adv) argument
866 adv_stop_execution(struct adv_softc *adv) argument
886 adv_is_chip_halted(struct adv_softc *adv) argument
901 adv_ack_interrupt(struct adv_softc *adv) argument
936 adv_isr_chip_halted(struct adv_softc *adv) argument
1077 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
1091 adv_set_syncrate(struct adv_softc *adv, struct cam_path *path, u_int tid, u_int period, u_int offset, u_int type) argument
1172 adv_period_offset_to_sdtr(struct adv_softc *adv, u_int *period, u_int *offset, int tid) argument
1222 adv_read_lram_16_multi(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *buffer, int count) argument
1230 adv_write_lram_16_multi(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *buffer, int count) argument
1238 adv_mset_lram_16(struct adv_softc *adv, u_int16_t s_addr, u_int16_t set_value, int count) argument
1247 adv_msum_lram_16(struct adv_softc *adv, u_int16_t s_addr, int count) argument
1260 adv_write_and_verify_lram_16(struct adv_softc *adv, u_int16_t addr, u_int16_t value) argument
1276 adv_read_lram_32(struct adv_softc *adv, u_int16_t addr) argument
1294 adv_write_lram_32(struct adv_softc *adv, u_int16_t addr, u_int32_t value) argument
1308 adv_write_lram_32_multi(struct adv_softc *adv, u_int16_t s_addr, u_int32_t *buffer, int count) argument
1316 adv_read_eeprom_16(struct adv_softc *adv, u_int8_t addr) argument
1332 adv_write_eeprom_16(struct adv_softc *adv, u_int8_t addr, u_int16_t value) argument
1355 adv_write_eeprom_cmd_reg(struct adv_softc *adv, u_int8_t cmd_reg) argument
1375 adv_set_eeprom_config_once(struct adv_softc *adv, struct adv_eeprom_config *eeprom_config) argument
1427 adv_load_microcode(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *mcode_buf, u_int16_t mcode_size) argument
1449 adv_reinit_lram(struct adv_softc *adv) argument
1455 adv_init_lram(struct adv_softc *adv) argument
1491 adv_init_microcode_var(struct adv_softc *adv) argument
1522 adv_init_qlink_var(struct adv_softc *adv) argument
1553 adv_disable_interrupt(struct adv_softc *adv) argument
1562 adv_enable_interrupt(struct adv_softc *adv) argument
1571 adv_toggle_irq_act(struct adv_softc *adv) argument
1578 adv_start_execution(struct adv_softc *adv) argument
1586 adv_stop_chip(struct adv_softc *adv) argument
1602 adv_host_req_chip_halt(struct adv_softc *adv) argument
1623 adv_set_chip_ih(struct adv_softc *adv, u_int16_t ins_code) argument
1648 adv_get_q_info(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *inbuf, int words) argument
1663 adv_get_num_free_queues(struct adv_softc *adv, u_int8_t n_qs) argument
1679 adv_alloc_free_queues(struct adv_softc *adv, u_int8_t free_q_head, u_int8_t n_free_q) argument
1693 adv_alloc_free_queue(struct adv_softc *adv, u_int8_t free_q_head) argument
1710 adv_send_scsi_queue(struct adv_softc *adv, struct adv_scsi_q *scsiq, u_int8_t n_q_required) argument
1740 adv_put_ready_sg_list_queue(struct adv_softc *adv, struct adv_scsi_q *scsiq, u_int q_no) argument
1806 adv_put_ready_queue(struct adv_softc *adv, struct adv_scsi_q *scsiq, u_int q_no) argument
1853 adv_put_scsiq(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *buffer, int words) argument
1899 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
1978 adv_msgout_sdtr(struct adv_softc *adv, u_int8_t sdtr_period, u_int8_t sdtr_offset) argument
1995 adv_abort_ccb(struct adv_softc *adv, int target, int lun, union ccb *ccb, u_int32_t status, int queued_only) argument
2044 adv_reset_bus(struct adv_softc *adv, int initiate_bus_reset) argument
2080 adv_set_sdtr_reg_at_id(struct adv_softc *adv, int tid, u_int8_t sdtr_data) argument
[all...]
H A Dadvansys.c83 static void adv_intr_locked(struct adv_softc *adv);
85 static void adv_run_doneq(struct adv_softc *adv);
87 adv_alloc_ccb_info(struct adv_softc *adv);
88 static void adv_destroy_ccb_info(struct adv_softc *adv,
91 adv_get_ccb_info(struct adv_softc *adv);
92 static __inline void adv_free_ccb_info(struct adv_softc *adv,
94 static __inline void adv_set_state(struct adv_softc *adv, adv_state state);
95 static __inline void adv_clear_state(struct adv_softc *adv, union ccb* ccb);
96 static void adv_clear_state_really(struct adv_softc *adv, union ccb* ccb);
99 adv_get_ccb_info(struct adv_softc *adv) argument
115 adv_free_ccb_info(struct adv_softc *adv, struct adv_ccb_info *cinfo) argument
125 adv_set_state(struct adv_softc *adv, adv_state state) argument
133 adv_clear_state(struct adv_softc *adv, union ccb* ccb) argument
140 adv_clear_state_really(struct adv_softc *adv, union ccb* ccb) argument
196 struct adv_softc *adv; local
460 struct adv_softc *adv; local
573 adv_alloc_ccb_info(struct adv_softc *adv) argument
593 adv_destroy_ccb_info(struct adv_softc *adv, struct adv_ccb_info *cinfo) argument
604 struct adv_softc *adv; local
669 struct adv_softc *adv = device_get_softc(dev); local
685 adv_free(struct adv_softc *adv) argument
718 adv_init(struct adv_softc *adv) argument
926 struct adv_softc *adv; local
935 adv_intr_locked(struct adv_softc *adv) argument
990 adv_run_doneq(struct adv_softc *adv) argument
1077 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.c104 static int adv_get_isa_dma_channel(struct adv_softc *adv);
105 static int adv_set_isa_dma_settings(struct adv_softc *adv);
158 struct adv_softc *adv; local
182 adv = adv_alloc(dev, iores, 0);
183 if (adv == NULL) {
191 ADV_OUTB(adv, ADV_CHIP_CTRL, ADV_CC_HALT);
192 ADV_OUTW(adv, ADV_CHIP_STATUS, 0);
196 adv->chip_version = ADV_INB(adv, ADV_NONEISA_CHIP_REVISION);
197 if ((adv
367 struct adv_softc *adv = device_get_softc(dev); local
373 adv_get_isa_dma_channel(struct adv_softc *adv) argument
386 adv_set_isa_dma_settings(struct adv_softc *adv) argument
[all...]
H A Dadv_pci.c139 struct adv_softc *adv; local
170 adv = adv_alloc(dev, iores, 0);
171 if (adv == NULL) {
191 &adv->parent_dmat);
196 adv_free(adv);
201 adv->init_level++;
206 /* parent */ adv->parent_dmat,
220 bus_dma_tag_destroy(adv->parent_dmat);
221 adv_free(adv);
230 bus_dma_tag_destroy(adv
[all...]
H A Dadvansys.h44 void adv_free(struct adv_softc *adv);
45 int adv_init(struct adv_softc *adv);
47 int adv_attach(struct adv_softc *adv);
48 void adv_done(struct adv_softc *adv, union ccb* ccb,
H A Dadv_eisa.c124 printf("adv at slot %d: illegal "
143 struct adv_softc *adv; local
212 adv = adv_alloc(dev, io, ADV_EISA_OFFSET_CHAN1);
213 if (adv == NULL) {
239 &adv->parent_dmat);
244 adv_free(adv);
248 adv->init_level++;
273 adv_free(adv);
281 adv_free(adv);
299 ADV_OUTB(adv, ADV_CHIP_CTR
[all...]
H A Dadvlib.h786 void adv_set_bank(struct adv_softc *adv, u_int8_t bank);
789 u_int8_t adv_read_lram_8(struct adv_softc *adv, u_int16_t addr);
790 void adv_write_lram_8(struct adv_softc *adv, u_int16_t addr,
792 u_int16_t adv_read_lram_16(struct adv_softc *adv, u_int16_t addr);
793 void adv_write_lram_16(struct adv_softc *adv, u_int16_t addr,
798 void adv_lib_init(struct adv_softc *adv);
800 u_int16_t adv_get_eeprom_config(struct adv_softc *adv,
802 int adv_set_eeprom_config(struct adv_softc *adv,
804 int adv_reset_chip(struct adv_softc *adv, int reset_bus);
805 int adv_test_external_lram(struct adv_softc* adv);
859 ADV_INSW(struct adv_softc *adv, u_int offset, u_int16_t *valp, u_int count) argument
873 ADV_OUTSW(struct adv_softc *adv, u_int offset, u_int16_t *valp, u_int count) argument
[all...]
/freebsd-11-stable/sys/dev/cxgb/common/
H A Dcxgb_aq100x.c277 unsigned int adv; local
281 adv = 0;
283 adv |= ADV_10G_FULL;
285 ADV_10G_FULL, adv);
290 adv = 0;
292 adv |= ADV_1G_FULL;
294 adv |= ADV_1G_HALF;
296 ADV_1G_FULL | ADV_1G_HALF, adv);
301 adv = 0;
303 adv |
399 unsigned int lpa, adv; local
[all...]
H A Dcxgb_vsc8211.c135 unsigned int bmcr, status, lpa, adv; local
181 err = mdio_read(cphy, 0, MII_ADVERTISE, &adv);
185 if (lpa & adv & ADVERTISE_PAUSE_CAP)
189 (adv & ADVERTISE_PAUSE_ASYM))
192 (adv & ADVERTISE_PAUSE_CAP))
208 unsigned int bmcr, status, lpa, adv; local
240 err = mdio_read(cphy, 0, MII_ADVERTISE, &adv);
244 if (adv & lpa & ADVERTISE_1000XFULL) {
247 } else if (adv & lpa & ADVERTISE_1000XHALF) {
253 if (lpa & adv
[all...]
H A Dcxgb_tn1010.c135 unsigned int status, lpa, adv; local
153 &adv);
157 if (lpa & adv & ADVERTISE_PAUSE_CAP)
161 (adv & ADVERTISE_PAUSE_ASYM))
164 (adv & ADVERTISE_PAUSE_CAP))
/freebsd-11-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-11-stable/sys/kern/
H A Dvfs_vnops.c1061 ssize_t adv; local
1140 adv = len - short_uio.uio_resid;
1143 (char *)uio_clone->uio_iov->iov_base + adv;
1144 uio_clone->uio_iov->iov_len -= adv;
1145 uio_clone->uio_resid -= adv;
1146 uio_clone->uio_offset += adv;
1148 uio->uio_resid -= adv;
1149 uio->uio_offset += adv;
1151 if (error != 0 || adv == 0)
1219 size_t adv; local
[all...]
/freebsd-11-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-11-stable/sys/netinet/
H A Dtcp_output.c665 * "adv" is the amount we could increase the window,
669 long adv; local
672 adv = min(recwin, (long)TCP_MAXWIN << tp->rcv_scale);
675 adv -= oldwin;
684 if (oldwin >> tp->rcv_scale >= (adv + oldwin) >> tp->rcv_scale)
687 if (adv >= (long)(2 * tp->t_maxseg) &&
688 (adv >= (long)(so->so_rcv.sb_hiwat / 4) ||
692 if (2 * adv >= (int32_t)so->so_rcv.sb_hiwat)
/freebsd-11-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-11-stable/sys/dev/e1000/
H A De1000_82575.h115 u32 adv:8; member in struct:e1000_adv_context_desc::__anon6366::__anon6367
H A De1000_ich8lan.c912 u16 lpa, pcs_status, adv, adv_addr, lpi_ctrl, data; local
951 ret_val = e1000_read_emi_reg_locked(hw, adv_addr, &adv);
958 if (adv & dev_spec->eee_lp_ability & I82579_EEE_1000_SUPPORTED)
961 if (adv & dev_spec->eee_lp_ability & I82579_EEE_100_SUPPORTED) {
/freebsd-11-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-11-stable/sys/dev/sound/pcm/
H A Dfeeder_rate.c518 #define _Z_SINC_ACCUMULATE(SIGN, BIT, ENDIAN, adv) \
525 p adv##= info->channels * PCM_##BIT##_BPS
/freebsd-11-stable/share/man/man4/
H A DMakefile26 adv.4 \
/freebsd-11-stable/sys/dev/bxe/
H A Dbxe_elink.c3837 uint16_t adv = 0, lp = 0; local
3841 elink_cl45_read(sc, phy, MDIO_AN_DEVAD, MDIO_AN_REG_EEE_ADV, &adv);
3846 if (adv & 0x2) {
3854 if (adv & 0x14) {
3862 if (adv & 0x68) {
4573 /* Disable Autoneg: re-enable it after adv is done. */

Completed in 411 milliseconds