Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/linux/
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()
Dudp.h106 assign_bit(UDP_FLAGS_##nr, &udp_sk(sk)->udp_flags, val)
Dbitops.h275 static __always_inline void assign_bit(long nr, volatile unsigned long *addr, in assign_bit() function
/linux-6.6.21/drivers/gpio/
Dgpiolib-cdev.c183 assign_bit(FLAG_ACTIVE_LOW, flagsp, in linehandle_flags_to_desc_flags()
185 assign_bit(FLAG_OPEN_DRAIN, flagsp, in linehandle_flags_to_desc_flags()
187 assign_bit(FLAG_OPEN_SOURCE, flagsp, in linehandle_flags_to_desc_flags()
189 assign_bit(FLAG_PULL_UP, flagsp, in linehandle_flags_to_desc_flags()
191 assign_bit(FLAG_PULL_DOWN, flagsp, in linehandle_flags_to_desc_flags()
193 assign_bit(FLAG_BIAS_DISABLE, flagsp, in linehandle_flags_to_desc_flags()
1231 assign_bit(FLAG_ACTIVE_LOW, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
1239 assign_bit(FLAG_EDGE_RISING, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
1241 assign_bit(FLAG_EDGE_FALLING, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
1244 assign_bit(FLAG_OPEN_DRAIN, flagsp, in gpio_v2_line_config_flags_to_desc_flags()
[all …]
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()
Dgpio-latch.c81 assign_bit(offset, priv->shadow, val); in gpio_latch_set_unlocked()
Dgpiolib-sysfs.c303 assign_bit(FLAG_ACTIVE_LOW, &desc->flags, value); in gpio_sysfs_set_active_low()
Dgpio-pca953x.c804 assign_bit(hwirq, chip->irq_trig_fall, type & IRQ_TYPE_EDGE_FALLING); in pca953x_irq_set_type()
805 assign_bit(hwirq, chip->irq_trig_raise, type & IRQ_TYPE_EDGE_RISING); in pca953x_irq_set_type()
Dgpiolib.c261 assign_bit(FLAG_IS_OUT, &desc->flags, !ret); in gpiod_get_direction()
879 assign_bit(FLAG_IS_OUT, in gpiochip_add_data_with_key()
882 assign_bit(FLAG_IS_OUT, in gpiochip_add_data_with_key()
2755 assign_bit(FLAG_TRANSITORY, &desc->flags, transitory); in gpiod_set_transitory()
/linux-6.6.21/drivers/irqchip/
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()
Dirq-sp7021-intc.c58 #define ASSIGN_STATE(irq, idx, v) assign_bit(STATE_BIT(irq, idx), sp_intc.states, v)
/linux-6.6.21/drivers/soc/renesas/
Dpwc-rzv2m.c40 assign_bit(offset, priv->ch_en_bits, value); in rzv2m_pwc_gpio_set()
/linux-6.6.21/kernel/irq/
Dirq_sim.c79 assign_bit(hwirq, irq_ctx->work_ctx->pending, state); in irq_sim_set_irqchip_state()
/linux-6.6.21/drivers/hwmon/
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()
/linux-6.6.21/drivers/pinctrl/
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()
/linux-6.6.21/include/net/
Dinet_sock.h302 assign_bit(INET_FLAGS_##nr, &inet_sk(sk)->inet_flags, val)
/linux-6.6.21/drivers/iio/adc/
Dad7124.c437 assign_bit(lru_cfg->cfg_slot, &st->cfg_slots_status, 0); in ad7124_pop_config()
471 assign_bit(free_cfg_slot, &st->cfg_slots_status, 1); in ad7124_push_config()
/linux-6.6.21/drivers/iio/imu/
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()
/linux-6.6.21/sound/soc/intel/keembay/
Dkmb_platform.c90 assign_bit(31, &temp, (BIT(3) & temp)); in hdmi_reformat_iec958()
/linux-6.6.21/drivers/pci/
Dpci.h378 assign_bit(PCI_DEV_ADDED, &dev->priv_flags, added); in pci_dev_assign_added()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_vf_lib.c391 assign_bit(ICE_VIRTCHNL_VF_CAP_PRIVILEGE, &vf->vf_caps, vf->trusted); in ice_vf_set_host_trust_cfg()
/linux-6.6.21/drivers/net/wireless/silabs/wfx/
Dsta.c229 assign_bit(queue, &wvif->uapsd_mask, params->uapsd); in wfx_conf_tx()
/linux-6.6.21/drivers/md/
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()
/linux-6.6.21/net/core/
Dsock.c1252 assign_bit(SOCK_PASSCRED, &sock->flags, valbool); in sk_setsockopt()
1256 assign_bit(SOCK_PASSPIDFD, &sock->flags, valbool); in sk_setsockopt()
1365 assign_bit(SOCK_PASSSEC, &sock->flags, valbool); in sk_setsockopt()
/linux-6.6.21/net/netlink/
Daf_netlink.c1709 assign_bit(NETLINK_F_RECV_NO_ENOBUFS, &nlk->flags, val); in netlink_setsockopt()
1733 assign_bit(nr, &nlk->flags, val); in netlink_setsockopt()

12