Home
last modified time | relevance | path

Searched refs:assign_bit (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/include/linux/
H A Dtty_port.h179 assign_bit(TTY_PORT_CTS_FLOW, &port->iflags, val); in tty_port_set_cts_flow()
189 assign_bit(TTY_PORT_ACTIVE, &port->iflags, val); in tty_port_set_active()
199 assign_bit(TTY_PORT_CHECK_CD, &port->iflags, val); in tty_port_set_check_carrier()
209 assign_bit(TTY_PORT_SUSPENDED, &port->iflags, val); in tty_port_set_suspended()
219 assign_bit(TTY_PORT_INITIALIZED, &port->iflags, val); in tty_port_set_initialized()
229 assign_bit(TTY_PORT_KOPENED, &port->iflags, val); in tty_port_set_kopened()
H A Dudp.h106 assign_bit(UDP_FLAGS_##nr, &udp_sk(sk)->udp_flags, val)
H A Dbitops.h276 static __always_inline void assign_bit(long nr, volatile unsigned long *addr, in assign_bit() function
/openbmc/linux/drivers/gpio/
H A Dgpiolib-cdev.c189 assign_bit(FLAG_ACTIVE_LOW, flagsp, in linehandle_flags_to_desc_flags()
191 assign_bit(FLAG_OPEN_DRAIN, flagsp, in linehandle_flags_to_desc_flags()
193 assign_bit(FLAG_OPEN_SOURCE, flagsp, in linehandle_flags_to_desc_flags()
195 assign_bit(FLAG_PULL_UP, flagsp, in linehandle_flags_to_desc_flags()
197 assign_bit(FLAG_PULL_DOWN, flagsp, in linehandle_flags_to_desc_flags()
199 assign_bit(FLAG_BIAS_DISABLE, flagsp, in linehandle_flags_to_desc_flags()
1404 assign_bit(FLAG_ACTIVE_LOW, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
1412 assign_bit(FLAG_EDGE_RISING, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
1417 assign_bit(FLAG_OPEN_DRAIN, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
1422 assign_bit(FLAG_PULL_UP, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
[all …]
H A Dgpio-sifive.c98 assign_bit(offset, &chip->irq_state, 1); in sifive_gpio_irq_enable()
109 assign_bit(offset, &chip->irq_state, 0); in sifive_gpio_irq_disable()
H A Dgpio-latch.c81 assign_bit(offset, priv->shadow, val); in gpio_latch_set_unlocked()
H A Dgpiolib-sysfs.c304 assign_bit(FLAG_ACTIVE_LOW, &desc->flags, value); in gpio_sysfs_set_active_low()
H A Dgpio-pca953x.c806 assign_bit(hwirq, chip->irq_trig_fall, type & IRQ_TYPE_EDGE_FALLING); in pca953x_irq_set_type()
807 assign_bit(hwirq, chip->irq_trig_raise, type & IRQ_TYPE_EDGE_RISING); in pca953x_irq_set_type()
H A Dgpiolib.c262 assign_bit(FLAG_IS_OUT, &desc->flags, !ret); in gpiod_get_direction()
880 assign_bit(FLAG_IS_OUT, in gpiochip_add_data_with_key()
883 assign_bit(FLAG_IS_OUT, in gpiochip_add_data_with_key()
2756 assign_bit(FLAG_TRANSITORY, &desc->flags, transitory); in gpiod_set_transitory()
/openbmc/linux/drivers/irqchip/
H A Dirq-sun6i-r.c164 assign_bit(offset_from_nmi, wake_irq_enabled, on); in sun6i_r_intc_irq_set_wake()
166 assign_bit(data->hwirq, wake_mux_enabled, on); in sun6i_r_intc_irq_set_wake()
H A Dirq-sp7021-intc.c58 #define ASSIGN_STATE(irq, idx, v) assign_bit(STATE_BIT(irq, idx), sp_intc.states, v)
/openbmc/linux/drivers/soc/renesas/
H A Dpwc-rzv2m.c40 assign_bit(offset, priv->ch_en_bits, value); in rzv2m_pwc_gpio_set()
/openbmc/linux/kernel/irq/
H A Dirq_sim.c79 assign_bit(hwirq, irq_ctx->work_ctx->pending, state); in irq_sim_set_irqchip_state()
/openbmc/linux/drivers/hwmon/
H A Dltc2992.c273 assign_bit(ltc2992_gpio_addr_map[offset].ctrl_bit, &gpio_ctrl, value); in ltc2992_gpio_set()
289 assign_bit(ltc2992_gpio_addr_map[gpio_nr].ctrl_bit, &gpio_ctrl_io, true); in ltc2992_gpio_set_multiple()
292 assign_bit(ltc2992_gpio_addr_map[gpio_nr].ctrl_bit, &gpio_ctrl, true); in ltc2992_gpio_set_multiple()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-cy8c95x0.c927 assign_bit(hwirq, chip->irq_trig_fall, trig_type & IRQ_TYPE_EDGE_FALLING); in cy8c95x0_irq_set_type()
928 assign_bit(hwirq, chip->irq_trig_raise, trig_type & IRQ_TYPE_EDGE_RISING); in cy8c95x0_irq_set_type()
929 assign_bit(hwirq, chip->irq_trig_low, type == IRQ_TYPE_LEVEL_LOW); in cy8c95x0_irq_set_type()
930 assign_bit(hwirq, chip->irq_trig_high, type == IRQ_TYPE_LEVEL_HIGH); in cy8c95x0_irq_set_type()
/openbmc/linux/include/net/
H A Dinet_sock.h302 assign_bit(INET_FLAGS_##nr, &inet_sk(sk)->inet_flags, val)
/openbmc/linux/drivers/iio/adc/
H A Dad7124.c442 assign_bit(lru_cfg->cfg_slot, &st->cfg_slots_status, 0); in ad7124_pop_config()
476 assign_bit(free_cfg_slot, &st->cfg_slots_status, 1); in ad7124_push_config()
/openbmc/linux/drivers/iio/imu/
H A Dadis16475.c363 assign_bit(ADIS16475_LSB_DEC_MASK, &st->lsb_flag, dec); in adis16475_set_freq()
416 assign_bit(ADIS16475_LSB_FIR_MASK, &st->lsb_flag, i); in adis16475_set_filter()
/openbmc/linux/drivers/pci/
H A Dpci.h373 assign_bit(PCI_DEV_ADDED, &dev->priv_flags, added); in pci_dev_assign_added()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_lib.c391 assign_bit(ICE_VIRTCHNL_VF_CAP_PRIVILEGE, &vf->vf_caps, vf->trusted); in ice_vf_set_host_trust_cfg()
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Dsta.c229 assign_bit(queue, &wvif->uapsd_mask, params->uapsd); in wfx_conf_tx()
/openbmc/linux/sound/soc/intel/keembay/
H A Dkmb_platform.c90 assign_bit(31, &temp, (BIT(3) & temp)); in hdmi_reformat_iec958()
/openbmc/linux/drivers/md/
H A Ddm-mpath.c762 assign_bit(MPATHF_SAVED_QUEUE_IF_NO_PATH, &m->flags, queue_if_no_path_bit); in queue_if_no_path()
767 assign_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags, f_queue_if_no_path); in queue_if_no_path()
/openbmc/linux/net/core/
H A Dsock.c1253 assign_bit(SOCK_PASSCRED, &sock->flags, valbool); in sk_setsockopt()
1257 assign_bit(SOCK_PASSPIDFD, &sock->flags, valbool); in sk_setsockopt()
1366 assign_bit(SOCK_PASSSEC, &sock->flags, valbool); in sk_setsockopt()
/openbmc/linux/net/netlink/
H A Daf_netlink.c1690 assign_bit(NETLINK_F_RECV_NO_ENOBUFS, &nlk->flags, val); in netlink_setsockopt()
1714 assign_bit(nr, &nlk->flags, val); in netlink_setsockopt()

12