Searched defs:pins (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dparallel.c206 uchar_t pins; local
213 if (ioctl(fd, PRNIOC_GET_1284_STATUS, &pins) != 0) {
217 if ((pins & ~PRN_1284_BUSY) == PRN_1284_PE) {
220 } else if (pins == (PRN_1284_PE | PRN_1284_SELECT |
224 } else if ((pins & PRN_1284_SELECT) == 0) {
227 } else if ((pins & PRN_1284_NOFAULT) == 0) {
230 } else if (pins & PRN_1284_PE) {
233 } else if (pins ^ (PRN_1284_SELECT | PRN_1284_NOFAULT)) {
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.cat.c225 uchar_t pins; local
232 if (ioctl(fd, PRNIOC_GET_1284_STATUS, &pins) != 0) {
236 if ((pins & ~PRN_1284_BUSY) == PRN_1284_PE) {
239 } else if (pins == (PRN_1284_PE | PRN_1284_SELECT |
243 } else if ((pins & PRN_1284_SELECT) == 0) {
246 } else if ((pins & PRN_1284_NOFAULT) == 0) {
249 } else if (pins & PRN_1284_PE) {
252 } else if (pins ^ (PRN_1284_SELECT | PRN_1284_NOFAULT)) {
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_access.c596 * Write a value to the requested GPIO pins (bits defined)
602 lm_status_t lm_gpio_mult_write(struct _lm_device_t *pdev, u8_t pins, u32_t mode) argument
617 gpio_reg &= ~(pins << MISC_REGISTERS_GPIO_FLOAT_POS);
618 gpio_reg &= ~(pins << MISC_REGISTERS_GPIO_CLR_POS);
619 gpio_reg &= ~(pins << MISC_REGISTERS_GPIO_SET_POS);
623 DbgMessage(NULL, WARN, "Set GPIO 0x%x -> output low\n", pins);
625 gpio_reg |= (pins << MISC_REGISTERS_GPIO_CLR_POS);
629 DbgMessage(NULL, WARN, "Set GPIO 0x%x -> output high\n", pins);
631 gpio_reg |= (pins << MISC_REGISTERS_GPIO_SET_POS);
635 DbgMessage(NULL, WARN, "Set GPIO 0x%x -> input\n", pins);
[all...]
H A Dlm_phy.c102 u8 elink_cb_gpio_mult_write(struct elink_dev *cb, u8 pins, u8 mode) argument
104 return lm_gpio_mult_write(cb, pins, mode);
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc.c2154 uint8_t pins; local
2162 pins = cvs_buf[4];
2163 if ((pins + 5) >= cvs_buf_len) {
2175 if (pins > 0) {
2178 unit->iSelector = cvs_buf[5 + pins];
2186 uint8_t pins, n; local
2194 pins = cvs_buf[21];
2195 if ((pins + 22) >= cvs_buf_len) {
2201 n = cvs_buf[pins + 22];
2203 if (usbvc_chk_descr_len(pins
[all...]

Completed in 57 milliseconds