/drivers/net/wireless/ath/ath5k/ |
H A D | rfkill.c | 41 ATH5K_DBG(ah, ATH5K_DEBUG_ANY, "rfkill disable (gpio:%d polarity:%d)\n", 42 ah->rf_kill.gpio, ah->rf_kill.polarity); 44 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, !ah->rf_kill.polarity); 50 ATH5K_DBG(ah, ATH5K_DEBUG_ANY, "rfkill enable (gpio:%d polarity:%d)\n", 51 ah->rf_kill.gpio, ah->rf_kill.polarity); 53 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, ah->rf_kill.polarity); 72 ah->rf_kill.polarity; 91 ah->rf_kill.polarity = ah->ah_capabilities.cap_eeprom.ee_rfkill_pol;
|
H A D | led.c | 49 #define ATH_LED(pin, polarity) .driver_data = (((pin) << 8) | (polarity))
|
/drivers/staging/media/cxd2099/ |
H A D | cxd2099.h | 33 u8 polarity:1; member in struct:cxd2099_cfg
|
H A D | cxd2099.c | 361 if (ci->cfg.polarity) { 380 if (ci->cfg.polarity) {
|
/drivers/input/mouse/ |
H A D | gpio_mouse.c | 31 gpio_get_value(gpio->bleft) ^ gpio->polarity); 34 gpio_get_value(gpio->bmiddle) ^ gpio->polarity); 37 gpio_get_value(gpio->bright) ^ gpio->polarity); 39 x = (gpio_get_value(gpio->right) ^ gpio->polarity) 40 - (gpio_get_value(gpio->left) ^ gpio->polarity); 41 y = (gpio_get_value(gpio->down) ^ gpio->polarity) 42 - (gpio_get_value(gpio->up) ^ gpio->polarity);
|
/drivers/pnp/pnpacpi/ |
H A D | rsparser.c | 40 static int irq_flags(int triggering, int polarity, int shareable) argument 45 if (polarity == ACPI_ACTIVE_LOW) 50 if (polarity == ACPI_ACTIVE_LOW) 63 int *polarity, int *shareable) 69 *polarity = ACPI_ACTIVE_LOW; 73 *polarity = ACPI_ACTIVE_HIGH; 77 *polarity = ACPI_ACTIVE_LOW; 81 *polarity = ACPI_ACTIVE_HIGH; 87 *polarity = ACPI_ACTIVE_HIGH; 99 int polarity, in 62 decode_irq_flags(struct pnp_dev *dev, int flags, int *triggering, int *polarity, int *shareable) argument 97 pnpacpi_parse_allocated_irqresource(struct pnp_dev *dev, u32 gsi, int triggering, int polarity, int shareable) argument 878 int triggering, polarity, shareable; local 907 int triggering, polarity, shareable; local [all...] |
/drivers/acpi/acpica/ |
H A D | rsirq.c | 89 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.irq.polarity), 123 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.irq.polarity), 166 ACPI_RS_OFFSET(data.irq.polarity), 203 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.extended_irq.polarity),
|
H A D | rsdump.c | 99 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(irq.polarity), "Polarity", 288 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(extended_irq.polarity), "Polarity", 329 {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(gpio.polarity), "Polarity",
|
H A D | rsserial.c | 90 {ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET(data.gpio.polarity),
|
/drivers/acpi/ |
H A D | pci_link.c | 82 u8 polarity; /* All IRQs */ member in struct:acpi_pci_link_irq 138 link->irq.polarity = p->polarity; 164 link->irq.polarity = p->polarity; 325 resource->res.data.irq.polarity = 326 link->irq.polarity; 343 resource->res.data.extended_irq.polarity = 344 link->irq.polarity; 590 int *polarity, cha 589 acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering, int *polarity, char **name) argument [all...] |
H A D | tables.c | 133 u16 polarity, trigger; local 137 polarity = p->inti_flags & ACPI_MADT_POLARITY_MASK; 143 mps_inti_flags_polarity[polarity],
|
H A D | pci_irq.c | 421 int polarity = ACPI_ACTIVE_LOW; local 449 &triggering, &polarity, 477 rc = acpi_register_gsi(&dev->dev, gsi, triggering, polarity); 493 (polarity == ACPI_ACTIVE_LOW) ? "low" : "high", dev->irq);
|
/drivers/hwmon/ |
H A D | ds1621.c | 41 static int polarity = -1; variable 42 module_param(polarity, int, 0); 43 MODULE_PARM_DESC(polarity, "Output's polarity: 0 = active high, 1 = active low"); 91 /* setup output polarity */ 92 if (polarity == 0) 94 else if (polarity == 1)
|
/drivers/input/misc/ |
H A D | gpio_matrix.c | 149 unsigned polarity = !!(gpio_keypad_flags & GPIOKPF_ACTIVE_HIGH); local 161 if (gpio_get_value(gpio) ^ !polarity) { 172 gpio_set_value(gpio, !polarity); 181 gpio_set_value(gpio, polarity); 183 gpio_direction_output(gpio, polarity); 212 gpio_set_value(mi->output_gpios[out], polarity); 214 gpio_direction_output(mi->output_gpios[out], polarity);
|
/drivers/net/ethernet/icplus/ |
H A D | ipg.c | 249 u8 polarity, data; local 251 polarity = ipg_r8(PHY_CTRL); 252 polarity &= (IPG_PC_DUPLEX_POLARITY | IPG_PC_LINK_POLARITY); 276 data |= polarity | IPG_PC_MGMTDIR; 282 send_three_state(ioaddr, polarity); 284 read_phy_bit(ioaddr, polarity); 292 (read_phy_bit(ioaddr, polarity) << (p[6].len - 1 - i)); 295 send_three_state(ioaddr, polarity); 296 send_three_state(ioaddr, polarity); 297 send_three_state(ioaddr, polarity); 340 u8 polarity, data; local [all...] |
/drivers/net/wireless/wl12xx/ |
H A D | boot.c | 479 u32 polarity; local 481 polarity = wl1271_top_reg_read(wl, OCP_REG_POLARITY); 483 /* We use HIGH polarity, so unset the LOW bit */ 484 polarity &= ~POLARITY_LOW; 485 wl1271_top_reg_write(wl, OCP_REG_POLARITY, polarity); 656 /* Set clock polarity */
|
/drivers/video/via/ |
H A D | hw.c | 894 void via_set_sync_polarity(u32 devices, u8 polarity) argument 896 if (polarity & ~(VIA_HSYNC_NEGATIVE | VIA_VSYNC_NEGATIVE)) { 897 printk(KERN_WARNING "viafb: Unsupported polarity: %d\n", 898 polarity); 903 via_write_misc_reg_mask(polarity << 6, 0xC0); 905 via_write_reg_mask(VIACR, 0x9B, polarity << 5, 0x60); 907 via_write_reg_mask(VIACR, 0x99, polarity << 5, 0x60); 909 via_write_reg_mask(VIACR, 0x97, polarity << 5, 0x60); 1750 u8 polarity = 0; local 1753 polarity | [all...] |
H A D | hw.h | 50 /* VIA output device sync polarity */ 650 void via_set_sync_polarity(u32 devices, u8 polarity);
|
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | common.h | 649 int polarity, int attempts, int delay, u32 *valp); 651 int polarity, int attempts, int delay) 653 return t3_wait_op_done_val(adapter, reg, mask, polarity, attempts, 650 t3_wait_op_done(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay) argument
|
/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_hw.c | 37 e1000_rev_polarity *polarity); 767 * polarity value for the SW controlled pins, and setup the 2475 * are forced to 10H or 10F, then we will implement the polarity 3286 e1000_rev_polarity polarity; local 3297 /* IGP01E1000 always correct polarity reversal */ 3300 /* Check polarity status */ 3301 ret_val = e1000_check_polarity(hw, &polarity); 3305 phy_info->cable_polarity = polarity; 3364 e1000_rev_polarity polarity; local 3387 /* Check polarity statu 5161 e1000_check_polarity(struct e1000_hw *hw, e1000_rev_polarity *polarity) argument [all...] |
/drivers/net/ethernet/chelsio/cxgb/ |
H A D | subr.c | 54 * @polarity: the value of the field when the operation is completed 62 static int t1_wait_op_done(adapter_t *adapter, int reg, u32 mask, int polarity, argument 68 if (!!val == polarity)
|
/drivers/video/omap2/dss/ |
H A D | dsi.c | 219 u8 polarity; member in struct:dsi_lane_config 2126 dsi->lanes[num].polarity = polarities[i]; 2157 unsigned polarity, lane_number; local 2168 polarity = dsi->lanes[t].polarity; 2171 r = FLD_MOD(r, polarity, offset + 3, offset + 3); 2287 unsigned p = dsi->lanes[i].polarity;
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 46 * @polarity: the value of the field when the operation is completed 57 int polarity, int attempts, int delay, u32 *valp) 62 if (!!(val & mask) == polarity) { 75 int polarity, int attempts, int delay) 77 return t4_wait_op_done_val(adapter, reg, mask, polarity, attempts, 56 t4_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay, u32 *valp) argument 74 t4_wait_op_done(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay) argument
|
/drivers/staging/comedi/drivers/ |
H A D | amplc_pci230.c | 1964 unsigned int polarity, prev_polarity; local 1976 polarity = pci230_ai_bipolar[range]; 2000 /* Channel ranges must have same polarity. */ 2001 if (polarity != prev_polarity) 2015 prev_polarity = polarity;
|
/drivers/platform/x86/ |
H A D | sony-laptop.c | 2904 interrupt->irq.polarity = p->polarity; 3289 "polarity: %d - shr: %d\n", 3292 irq->irq.polarity,
|