Home
last modified time | relevance | path

Searched refs:__assign_bit (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/drivers/pcmcia/
H A Dmax1600.c75 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure()
76 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure()
78 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure()
79 __assign_bit(MAX1600_GPIO_1VPP, values, 1); in max1600_configure()
81 __assign_bit(MAX1600_GPIO_0VPP, values, 1); in max1600_configure()
95 __assign_bit(MAX1600_GPIO_0VCC, values, 0); in max1600_configure()
96 __assign_bit(MAX1600_GPIO_1VCC, values, 0); in max1600_configure()
98 __assign_bit(MAX1600_GPIO_0VCC, values, 1); in max1600_configure()
99 __assign_bit(MAX1600_GPIO_1VCC, values, 0); in max1600_configure()
101 __assign_bit(MAX1600_GPIO_0VCC, values, 0); in max1600_configure()
[all …]
H A Dsa1111_jornada720.c75 __assign_bit(J720_GPIO_PWR, values, 0); in jornada720_pcmcia_configure_socket()
76 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket()
79 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket()
80 __assign_bit(J720_GPIO_3V, values, 1); in jornada720_pcmcia_configure_socket()
83 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket()
84 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket()
93 __assign_bit(J720_GPIO_PWR, values, 0); in jornada720_pcmcia_configure_socket()
94 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket()
98 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket()
99 __assign_bit(J720_GPIO_3V, values, 1); in jornada720_pcmcia_configure_socket()
H A Dsoc_common.c358 __assign_bit(n++, values, state->flags & SS_RESET); in soc_common_pcmcia_config_skt()
362 __assign_bit(n++, values, state->flags & SS_OUTPUT_ENA); in soc_common_pcmcia_config_skt()
/openbmc/linux/sound/soc/codecs/
H A Dadau1701.c312 __assign_bit(0, values, 0); in adau1701_reset()
313 __assign_bit(1, values, 0); in adau1701_reset()
316 __assign_bit(0, values, 0); in adau1701_reset()
317 __assign_bit(1, values, 1); in adau1701_reset()
320 __assign_bit(0, values, 1); in adau1701_reset()
321 __assign_bit(1, values, 0); in adau1701_reset()
325 __assign_bit(0, values, 1); in adau1701_reset()
326 __assign_bit(1, values, 1); in adau1701_reset()
/openbmc/linux/drivers/pinctrl/nuvoton/
H A Dpinctrl-wpcm450.c157 __assign_bit(bit, &even, 0); in wpcm450_gpio_irq_mask()
181 __assign_bit(bit, &even, 1); in wpcm450_gpio_irq_unmask()
259 __assign_bit(bit, &evtype, 1); in wpcm450_gpio_set_irq_type()
260 __assign_bit(bit, &evpol, 0); in wpcm450_gpio_set_irq_type()
263 __assign_bit(bit, &evtype, 1); in wpcm450_gpio_set_irq_type()
264 __assign_bit(bit, &evpol, 1); in wpcm450_gpio_set_irq_type()
267 __assign_bit(bit, &evtype, 0); in wpcm450_gpio_set_irq_type()
268 __assign_bit(bit, &evpol, 0); in wpcm450_gpio_set_irq_type()
271 __assign_bit(bit, &evtype, 0); in wpcm450_gpio_set_irq_type()
272 __assign_bit(bit, &evpol, 1); in wpcm450_gpio_set_irq_type()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-max3191x.c142 __assign_bit(i, max3191x->crc_error, val); in max3191x_readout_locked()
148 __assign_bit(i, max3191x->overtemp, ot); in max3191x_readout_locked()
155 __assign_bit(i, max3191x->undervolt1, uv1); in max3191x_readout_locked()
161 __assign_bit(i, max3191x->undervolt2, val); in max3191x_readout_locked()
181 __assign_bit(i, max3191x->fault, val); in max3191x_readout_locked()
H A Dgpio-sim.c105 __assign_bit(offset, chip->value_map, value); in gpio_sim_apply_pull()
108 __assign_bit(offset, chip->pull_map, value); in gpio_sim_apply_pull()
126 __assign_bit(offset, chip->value_map, value); in gpio_sim_set()
157 __assign_bit(offset, chip->value_map, value); in gpio_sim_direction_output()
213 __assign_bit(offset, chip->value_map, in gpio_sim_free()
H A Dgpio-aggregator.c317 __assign_bit(i, bits, test_bit(j++, values)); in gpio_fwd_get_multiple()
384 __assign_bit(j, values, test_bit(i, bits)); in gpio_fwd_set_multiple()
H A Dgpio-xilinx.c186 __assign_bit(bit, chip->state, val); in xgpio_set()
272 __assign_bit(bit, chip->state, val); in xgpio_dir_out()
H A Dgpio-tqmx86.c79 __assign_bit(offset, gpio->output, value); in tqmx86_gpio_set()
H A Dgpio-mockup.c110 __assign_bit(bit, bits, val); in gpio_mockup_get_multiple()
H A Dgpiolib.c2840 __assign_bit(i, bits, value); in gpio_chip_get_multiple()
2943 __assign_bit(j, value_bitmap, value); in gpiod_get_array_value_complex()
3231 __assign_bit(hwgpio, bits, value); in gpiod_set_array_value_complex()
H A Dgpiolib-cdev.c287 __assign_bit(i, vals, ghd.values[i]); in linehandle_ioctl_unlocked()
/openbmc/linux/drivers/auxdisplay/
H A Dhd44780.c70 __assign_bit(8, values, rs); in hd44780_write_gpio8()
87 __assign_bit(4, values, rs); in hd44780_write_gpio4()
/openbmc/linux/drivers/irqchip/
H A Dqcom-pdc.c74 __assign_bit(mask, &enable, on); in __pdc_enable_intr()
78 __assign_bit(IRQ_i_CFG_IRQ_ENABLE, &enable, on); in __pdc_enable_intr()
H A Dirq-qcom-mpm.c119 __assign_bit(shift, &val, en); in qcom_mpm_enable_irq()
149 __assign_bit(shift, &val, set); in mpm_set_type()
/openbmc/linux/drivers/mfd/
H A Drz-mtu3.c181 __assign_bit(pos, &tmdr, !!val); in rz_mtu3_shared_reg_update_bit()
262 __assign_bit(bitpos, &tstr, start); in rz_mtu3_start_stop_ch()
/openbmc/linux/include/linux/
H A Dbitops.h285 static __always_inline void __assign_bit(long nr, volatile unsigned long *addr, in __assign_bit() function
/openbmc/linux/drivers/tty/serial/
H A Dserial_mctrl_gpio.c65 __assign_bit(count, values, in mctrl_gpio_set()
/openbmc/linux/drivers/iio/addac/
H A Dad74413r.c355 __assign_bit(offset, bits, val & BIT(real_offset)); in ad74413r_gpio_get_multiple()
/openbmc/linux/drivers/iio/adc/
H A Dad4130.c509 __assign_bit(i, valid_mask, valid); in ad4130_gpio_init_valid_mask()
/openbmc/linux/net/netlink/
H A Daf_netlink.c1637 __assign_bit(group - 1, nlk->groups, new); in netlink_update_socket_mc()