Searched defs:polarity (Results 1 - 21 of 21) sorted by relevance

/drivers/staging/media/cxd2099/
H A Dcxd2099.h33 u8 polarity:1; member in struct:cxd2099_cfg
/drivers/acpi/
H A Dtables.c133 u16 polarity, trigger; local
137 polarity = p->inti_flags & ACPI_MADT_POLARITY_MASK;
143 mps_inti_flags_polarity[polarity],
H A Dpci_irq.c421 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);
H A Dpci_link.c82 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...]
/drivers/hwmon/
H A Dds1621.c41 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 Dgpio_matrix.c149 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/wireless/wl12xx/
H A Dboot.c479 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/net/ethernet/chelsio/cxgb/
H A Dsubr.c54 * @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/pnp/pnpacpi/
H A Drsparser.c40 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/misc/sgi-xp/
H A Dxpc_uv.c41 polarity : 1, member in struct:uv_IO_APIC_route_entry
/drivers/video/via/
H A Dhw.c894 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...]
/drivers/net/ethernet/icplus/
H A Dipg.c249 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/ethernet/intel/e1000/
H A De1000_hw.c37 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/wireless/bcmdhd/
H A Dsiutils.c1414 /* mask&set gpio interrupt polarity bits */
1577 uint32 polarity = (h->level ? levelp : edgep) & h->event; local
1579 /* polarity bitval is opposite of status bitval */
1580 if (status ^ polarity)
/drivers/net/wireless/rt2x00/
H A Drt2800lib.c848 unsigned int polarity = local
861 rt2x00_set_field32(&reg, LED_CFG_LED_POLAR, polarity);
895 polarity);
/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c46 * @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/net/ethernet/chelsio/cxgb3/
H A Dcommon.h649 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
H A Dt3_hw.c44 * @polarity: the value of the field when the operation is completed
56 int polarity, int attempts, int delay, u32 *valp)
61 if (!!(val & mask) == polarity) {
55 t3_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay, u32 *valp) argument
/drivers/staging/comedi/drivers/
H A Damplc_pci230.c1964 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/net/wireless/ath/ath5k/
H A Dath5k.h1186 /* polarity of rfkill GPIO PIN */
1187 bool polarity; member in struct:ath5k_rfkill
/drivers/video/omap2/dss/
H A Ddsi.c219 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;

Completed in 516 milliseconds