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

/freebsd-9.3-release/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
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
1746 adv_put_ready_sg_list_queue(struct adv_softc *adv, struct adv_scsi_q *scsiq, u_int q_no) argument
1812 adv_put_ready_queue(struct adv_softc *adv, struct adv_scsi_q *scsiq, u_int q_no) argument
1859 adv_put_scsiq(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *buffer, int words) argument
1905 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
1984 adv_msgout_sdtr(struct adv_softc *adv, u_int8_t sdtr_period, u_int8_t sdtr_offset) argument
2001 adv_abort_ccb(struct adv_softc *adv, int target, int lun, union ccb *ccb, u_int32_t status, int queued_only) argument
2050 adv_reset_bus(struct adv_softc *adv, int initiate_bus_reset) argument
2086 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
464 struct adv_softc *adv; local
577 adv_alloc_ccb_info(struct adv_softc *adv) argument
597 adv_destroy_ccb_info(struct adv_softc *adv, struct adv_ccb_info *cinfo) argument
608 struct adv_softc *adv; local
673 struct adv_softc *adv = device_get_softc(dev); local
689 adv_free(struct adv_softc *adv) argument
722 adv_init(struct adv_softc *adv) argument
930 struct adv_softc *adv; local
939 adv_intr_locked(struct adv_softc *adv) argument
994 adv_run_doneq(struct adv_softc *adv) argument
1084 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-9.3-release/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
180 err = mdio_read(cphy, 0, MII_ADVERTISE, &adv);
184 if (lpa & adv & ADVERTISE_PAUSE_CAP)
188 (adv & ADVERTISE_PAUSE_ASYM))
191 (adv & ADVERTISE_PAUSE_CAP))
207 unsigned int bmcr, status, lpa, adv; local
238 err = mdio_read(cphy, 0, MII_ADVERTISE, &adv);
242 if (adv & lpa & ADVERTISE_1000XFULL) {
245 } else if (adv & lpa & ADVERTISE_1000XHALF) {
251 if (lpa & adv
[all...]
H A Dcxgb_tn1010.c135 unsigned int status, lpa, adv; local
152 &adv);
156 if (lpa & adv & ADVERTISE_PAUSE_CAP)
160 (adv & ADVERTISE_PAUSE_ASYM))
163 (adv & ADVERTISE_PAUSE_CAP))
/freebsd-9.3-release/sys/i386/conf/
H A DPAE30 nodevice adv
H A DGENERIC117 device adv # Advansys SCSI adapters
/freebsd-9.3-release/sys/kern/
H A Dvfs_vnops.c898 ssize_t adv; local
999 adv = len - short_uio.uio_resid;
1002 (char *)uio_clone->uio_iov->iov_base + adv;
1003 uio_clone->uio_iov->iov_len -= adv;
1004 uio_clone->uio_resid -= adv;
1005 uio_clone->uio_offset += adv;
1007 uio->uio_resid -= adv;
1008 uio->uio_offset += adv;
1010 if (error != 0 || adv == 0)
1043 size_t adv; local
[all...]
/freebsd-9.3-release/sys/pc98/conf/
H A DGENERIC90 device adv # Advansys SCSI adapters
/freebsd-9.3-release/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-9.3-release/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c102 struct wpa_ie_data adv; local
126 if (ie && wpa_parse_wpa_ie(ie, 2 + ie[1], &adv) == 0) {
128 if (adv.pairwise_cipher & WPA_CIPHER_CCMP)
132 if (ie && wpa_parse_wpa_ie(ie, 2 + ie[1], &adv) == 0 &&
133 adv.pairwise_cipher & WPA_CIPHER_CCMP)
/freebsd-9.3-release/sys/netinet/
H A Dtcp_output.c587 * "adv" is the amount we could increase the window,
591 long adv; local
594 adv = min(recwin, (long)TCP_MAXWIN << tp->rcv_scale);
597 adv -= oldwin;
605 if (oldwin >> tp->rcv_scale == (adv + oldwin) >> tp->rcv_scale)
608 if (adv >= (long)(2 * tp->t_maxseg) &&
609 (adv >= (long)(so->so_rcv.sb_hiwat / 4) ||
/freebsd-9.3-release/release/doc/share/misc/
H A Ddev.archlist.txt39 adv i386,pc98,amd64
/freebsd-9.3-release/sys/amd64/conf/
H A DGENERIC114 device adv # Advansys SCSI adapters
/freebsd-9.3-release/sys/dev/e1000/
H A De1000_82575.h115 u32 adv:8; member in struct:e1000_adv_context_desc::__anon7761::__anon7762
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_provider.c247 dtrace_argdesc_t *adv = alloca(sizeof (dtrace_argdesc_t) * adc); local
248 dtrace_argdesc_t *adp = adv;
308 for (adp = adv, i = 0; i < xc; i++, adp++) {
/freebsd-9.3-release/sys/netipx/
H A Dspx_usrreq.c653 int adv = rcv_win - (delta * cb->s_mtu); local
655 if ((so->so_rcv.sb_cc == 0 && adv >= (2 * cb->s_mtu)) ||
656 (100 * adv / so->so_rcv.sb_hiwat >= 35)) {
/freebsd-9.3-release/share/man/man4/
H A DMakefile19 adv.4 \
/freebsd-9.3-release/sys/dev/sound/pcm/
H A Dfeeder_rate.c525 #define _Z_SINC_ACCUMULATE(SIGN, BIT, ENDIAN, adv) \
532 p adv##= info->channels * PCM_##BIT##_BPS
/freebsd-9.3-release/sys/dev/bxe/
H A Dbxe_elink.c3814 uint16_t adv = 0, lp = 0; local
3818 elink_cl45_read(sc, phy, MDIO_AN_DEVAD, MDIO_AN_REG_EEE_ADV, &adv);
3823 if (adv & 0x2) {
3831 if (adv & 0x14) {
3839 if (adv & 0x68) {
4520 /* Disable Autoneg: re-enable it after adv is done. */

Completed in 310 milliseconds